From 69040f923b0344de214d6f1fc4553d223df7d2d6 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 6 Mar 2013 12:32:15 -0600 Subject: Added a function to get an instance's type. --- libmultimc/include/instance.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libmultimc') 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 #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 //// -- cgit v1.2.3