Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
AppModule.h
Go to the documentation of this file.
1#pragma once
2
3#include <Common/exceptions.h>
4
5#include <string>
6
7namespace ph::editor
8{
9
10class ModuleAttachmentInfo;
11
12class ModuleException : public RuntimeException
13{
14public:
15 using RuntimeException::RuntimeException;
16};
17
19{
20public:
21 virtual ~AppModule();
22
23 virtual void onAttach(const ModuleAttachmentInfo& info) = 0;
24 virtual void onDetach() = 0;
25 virtual std::string getName() const = 0;
26};
27
28}// end namespace ph::editor
Definition AppModule.h:19
virtual std::string getName() const =0
virtual void onAttach(const ModuleAttachmentInfo &info)=0
virtual void onDetach()=0
Definition ModuleAttachmentInfo.h:15
Definition AppModule.h:13
Definition ph_editor.h:10