mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-05 04:46:57 +03:00
Added a function to get an instance's type.
This commit is contained in:
parent
36396f7c6a
commit
69040f923b
4 changed files with 27 additions and 5 deletions
|
|
@ -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 ////
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue