33 lines
829 B
C++
33 lines
829 B
C++
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "ITickable.hpp"
|
|
#include "ICloseable.hpp"
|
|
#include <string>
|
|
|
|
namespace openVulkanoCpp
|
|
{
|
|
class IGraphicsAppManager;
|
|
|
|
class IGraphicsApp : public ITickable, public ICloseable
|
|
{
|
|
private:
|
|
IGraphicsAppManager* manager = nullptr;
|
|
|
|
public:
|
|
virtual ~IGraphicsApp() = default;
|
|
|
|
virtual void Init() = 0;
|
|
IGraphicsAppManager* GetGraphicsAppManager() const { return manager; }
|
|
void SetGraphicsAppManager(IGraphicsAppManager* manager) { this->manager = manager; }
|
|
virtual std::string GetAppName() = 0;
|
|
virtual std::string GetAppVersion() = 0;
|
|
virtual int GetAppVersionAsInt() = 0;
|
|
};
|
|
}
|