Added a function to get an instance's type.
This commit is contained in:
@ -22,6 +22,7 @@
|
||||
#include <settingsobject.h>
|
||||
|
||||
#include "inifile.h"
|
||||
#include "instancetypeinterface.h"
|
||||
|
||||
#include "libmmc_config.h"
|
||||
|
||||
@ -251,6 +252,16 @@ public:
|
||||
QString modListFile() const;
|
||||
|
||||
|
||||
|
||||
//////// INSTANCE TYPE STUFF ////////
|
||||
|
||||
/*!
|
||||
* \brief Returns a pointer to this instance's type.
|
||||
* \return A pointer to this instance's type interface.
|
||||
*/
|
||||
virtual const InstanceTypeInterface *instanceType() const = 0;
|
||||
|
||||
|
||||
//////// OTHER FUNCTIONS ////////
|
||||
|
||||
//// Version System ////
|
||||
|
Reference in New Issue
Block a user