![]() |
Kochol Game Engine
0.1.0
|
This class is a base class for plugin which will be used in KGE. More...
#include <Plugin.h>
Public Member Functions | |
Plugin () | |
Constructor. | |
virtual | ~Plugin () |
Destructor. | |
PluginType | GetPluginType () |
Returns plugin type. | |
int | GetEngineMajorVersion () |
Returns the engine major version that plugin compiled with. | |
int | GetEngineMinorVersion () |
Returns the engine minor version that plugin compiled with. | |
int | GetEnginePatchVersion () |
Returns the engine release version that plugin compiled with. | |
virtual T * | Create ()=0 |
Create the plugin. |
Protected Attributes | |
PluginType | m_ePluginType |
Plugin type. |
This class is a base class for plugin which will be used in KGE.
|
inline |
|
inlinevirtual |
|
pure virtual |
Create the plugin.
|
inline |
Returns the engine major version that plugin compiled with.
Definition at line 39 of file Plugin.h.
References KGE_VERSION_MAJOR.
|
inline |
Returns the engine minor version that plugin compiled with.
Definition at line 42 of file Plugin.h.
References KGE_VERSION_MINOR.
|
inline |
Returns the engine release version that plugin compiled with.
Definition at line 45 of file Plugin.h.
References KGE_VERSION_RELEASE.
|
inline |
Returns plugin type.
Definition at line 36 of file Plugin.h.
References kge::Plugin< T >::m_ePluginType.
|
protected |
Plugin type.
Definition at line 51 of file Plugin.h.
Referenced by kge::Plugin< T >::GetPluginType().