Cleanup GraphicsApp

This commit is contained in:
2023-10-05 15:52:15 +02:00
parent 82c3b77666
commit ab226e04bf
3 changed files with 12 additions and 12 deletions

View File

@@ -18,15 +18,15 @@ namespace OpenVulkano
class IGraphicsApp : public ITickable, public ICloseable
{
private:
IGraphicsAppManager* manager = nullptr;
IGraphicsAppManager* m_manager = nullptr;
public:
virtual ~IGraphicsApp() = default;
~IGraphicsApp() override = default;
virtual void Init() = 0;
IGraphicsAppManager* GetGraphicsAppManager() const { return manager; }
void SetGraphicsAppManager(IGraphicsAppManager* manager) { this->manager = manager; }
virtual std::string GetAppName() = 0;
virtual Version GetAppVersion() = 0;
[[nodiscard]] IGraphicsAppManager* GetGraphicsAppManager() const { return m_manager; }
void SetGraphicsAppManager(IGraphicsAppManager* manager) { m_manager = manager; }
[[nodiscard]] virtual std::string GetAppName() const = 0;
[[nodiscard]] virtual Version GetAppVersion() const = 0;
};
}