mirror of
https://gitea.windcorp.ru/Wind-Corporation/Progressia.git
synced 2025-04-22 00:50:45 +03:00
23 lines
409 B
C++
23 lines
409 B
C++
#pragma once
|
|
|
|
#include <functional>
|
|
#include <memory>
|
|
|
|
namespace progressia::desktop {
|
|
|
|
class GlfwManager {
|
|
|
|
public:
|
|
virtual ~GlfwManager(){};
|
|
|
|
virtual void setOnScreenResize(std::function<void()>) = 0;
|
|
|
|
virtual void showWindow() = 0;
|
|
virtual bool shouldRun() = 0;
|
|
virtual void doGlfwRoutine() = 0;
|
|
};
|
|
|
|
std::shared_ptr<GlfwManager> makeGlfwManager();
|
|
|
|
} // namespace progressia::desktop
|