19 lines
310 B
C++
19 lines
310 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
#include "window.hpp"
|
|
|
|
namespace uui
|
|
{
|
|
class Application
|
|
{
|
|
public:
|
|
virtual void run() = 0;
|
|
// virtual std::weak_ptr<Window> add_window(int width, int height, const std::string& title) = 0;
|
|
|
|
protected:
|
|
static bool application_created;
|
|
};
|
|
} // namespace uui
|