mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-15 00:11:55 +07:00
dummy window module
This commit is contained in:
@@ -10,3 +10,4 @@
|
||||
|
||||
#include "debug.hpp"
|
||||
#include "vfs.hpp"
|
||||
#include "window.hpp"
|
||||
|
||||
@@ -14,6 +14,7 @@ namespace e2d
|
||||
{
|
||||
class debug;
|
||||
class vfs;
|
||||
class window;
|
||||
}
|
||||
|
||||
namespace e2d
|
||||
|
||||
21
headers/enduro2d/core/window.hpp
Normal file
21
headers/enduro2d/core/window.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
/*******************************************************************************
|
||||
* This file is part of the "Enduro2D"
|
||||
* For conditions of distribution and use, see copyright notice in LICENSE.md
|
||||
* Copyright (C) 2018 Matvey Cherevko
|
||||
******************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "_core.hpp"
|
||||
|
||||
namespace e2d
|
||||
{
|
||||
class window final : public module<window> {
|
||||
public:
|
||||
window();
|
||||
~window() noexcept;
|
||||
private:
|
||||
class state;
|
||||
std::unique_ptr<state> state_;
|
||||
};
|
||||
}
|
||||
19
sources/enduro2d/core/window.cpp
Normal file
19
sources/enduro2d/core/window.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
/*******************************************************************************
|
||||
* This file is part of the "Enduro2D"
|
||||
* For conditions of distribution and use, see copyright notice in LICENSE.md
|
||||
* Copyright (C) 2018 Matvey Cherevko
|
||||
******************************************************************************/
|
||||
|
||||
#include <enduro2d/core/window.hpp>
|
||||
|
||||
namespace e2d
|
||||
{
|
||||
class window::state final : private e2d::noncopyable {
|
||||
public:
|
||||
};
|
||||
|
||||
window::window()
|
||||
: state_(new state()){}
|
||||
|
||||
window::~window() noexcept = default;
|
||||
}
|
||||
Reference in New Issue
Block a user