mirror of
https://gitea.windcorp.ru/Wind-Corporation/Progressia.git
synced 2025-04-21 12:40:45 +03:00
Fixes GH-5 - cppcheck replaced with clang-tidy - clang-tidy lint warnings fixed - Reworked build tools from scratch to make IDE setup easier - Added 1.5 IDE setup guides
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
|