Added a function to get an instance's type.

This commit is contained in:
Andrew
2013-03-06 12:32:15 -06:00
parent 36396f7c6a
commit 69040f923b
4 changed files with 27 additions and 5 deletions

View File

@ -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 ////