Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ModConfig Class Reference

#include <ModConfig.h>

List of all members.

Public Member Functions

 ModConfig ()
 ~ModConfig ()
int operator== (const ModConfig &cfg) const
void Load ()
void Save ()
void FindMods ()
bool IsDeployed (const char *name)
void Deploy ()
void Undeploy ()
void Redeploy ()
void EnableMod (const char *name)
void DisableMod (const char *name)
void IncreaseModPriority (int mod_index)
void DecreaseModPriority (int mod_index)
List< Text > & EnabledMods ()
List< Text > & DisabledMods ()
List< ModInfo > & GetModInfoList ()
ModInfoGetModInfo (const char *filename)

Static Public Member Functions

static const char * TYPENAME ()
static void Initialize ()
static void Close ()
static ModConfigGetInstance ()

Detailed Description

Definition at line 32 of file ModConfig.h.


Constructor & Destructor Documentation

ModConfig::ModConfig ( )

Definition at line 32 of file ModConfig.cpp.

ModConfig::~ModConfig ( )

Definition at line 41 of file ModConfig.cpp.


Member Function Documentation

void ModConfig::Close ( )
static

Definition at line 62 of file ModConfig.cpp.

void ModConfig::DecreaseModPriority ( int  mod_index)

Definition at line 373 of file ModConfig.cpp.

void ModConfig::Deploy ( )

Definition at line 222 of file ModConfig.cpp.

List<Text>& ModConfig::DisabledMods ( )
inline

Definition at line 64 of file ModConfig.h.

void ModConfig::DisableMod ( const char *  name)

Definition at line 326 of file ModConfig.cpp.

List<Text>& ModConfig::EnabledMods ( )
inline

Definition at line 63 of file ModConfig.h.

void ModConfig::EnableMod ( const char *  name)

Definition at line 289 of file ModConfig.cpp.

void ModConfig::FindMods ( )

Definition at line 161 of file ModConfig.cpp.

ModConfig * ModConfig::GetInstance ( )
static

Definition at line 71 of file ModConfig.cpp.

ModInfo * ModConfig::GetModInfo ( const char *  filename)

Definition at line 192 of file ModConfig.cpp.

List<ModInfo>& ModConfig::GetModInfoList ( )
inline

Definition at line 65 of file ModConfig.h.

void ModConfig::IncreaseModPriority ( int  mod_index)

Definition at line 361 of file ModConfig.cpp.

void ModConfig::Initialize ( )
static

Definition at line 56 of file ModConfig.cpp.

bool ModConfig::IsDeployed ( const char *  name)

Definition at line 207 of file ModConfig.cpp.

void ModConfig::Load ( )

Definition at line 79 of file ModConfig.cpp.

int ModConfig::operator== ( const ModConfig cfg) const
inline

Definition at line 40 of file ModConfig.h.

void ModConfig::Redeploy ( )

Definition at line 276 of file ModConfig.cpp.

void ModConfig::Save ( )

Definition at line 143 of file ModConfig.cpp.

static const char* ModConfig::TYPENAME ( )
inlinestatic

Definition at line 35 of file ModConfig.h.

void ModConfig::Undeploy ( )

Definition at line 266 of file ModConfig.cpp.


The documentation for this class was generated from the following files: