diff options
author | Andrew <forkk@forkk.net> | 2013-03-06 12:32:15 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-03-06 12:32:15 -0600 |
commit | 69040f923b0344de214d6f1fc4553d223df7d2d6 (patch) | |
tree | cfbf6ea23290654a65147bc5df59cf10b1be868a /libmultimc/include | |
parent | 36396f7c6aca9fcc61c8620e10c31ed2c8999ebd (diff) | |
download | MultiMC-69040f923b0344de214d6f1fc4553d223df7d2d6.tar MultiMC-69040f923b0344de214d6f1fc4553d223df7d2d6.tar.gz MultiMC-69040f923b0344de214d6f1fc4553d223df7d2d6.tar.lz MultiMC-69040f923b0344de214d6f1fc4553d223df7d2d6.tar.xz MultiMC-69040f923b0344de214d6f1fc4553d223df7d2d6.zip |
Added a function to get an instance's type.
Diffstat (limited to 'libmultimc/include')
-rw-r--r-- | libmultimc/include/instance.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libmultimc/include/instance.h b/libmultimc/include/instance.h index 7de61343..aaefbd6e 100644 --- a/libmultimc/include/instance.h +++ b/libmultimc/include/instance.h @@ -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 //// |