dummy window module

This commit is contained in:
2018-09-19 15:42:43 +07:00
parent 06d9da1143
commit 20d4c1f44b
4 changed files with 42 additions and 0 deletions

View File

@@ -10,3 +10,4 @@
#include "debug.hpp"
#include "vfs.hpp"
#include "window.hpp"

View File

@@ -14,6 +14,7 @@ namespace e2d
{
class debug;
class vfs;
class window;
}
namespace e2d

View 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_;
};
}

View 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;
}