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

#include <ModInfo.h>

List of all members.

Public Member Functions

 ModInfo ()
 ModInfo (const char *filename)
 ModInfo (const char *name, const char *version, const char *url)
 ~ModInfo ()
int operator== (const ModInfo &m) const
const TextName () const
const TextDescription () const
const TextAuthor () const
const TextURL () const
const TextFilename () const
const TextCopyright () const
BitmapLogoImage () const
const TextVersion () const
bool Distribute () const
bool IsEnabled () const
List< ModCampaign > & GetCampaigns ()
bool Load (const char *filename)
bool ParseModInfo (const char *buffer)
bool Enable ()
bool Disable ()

Static Public Member Functions

static const char * TYPENAME ()

Detailed Description

Definition at line 32 of file ModInfo.h.


Constructor & Destructor Documentation

ModInfo::ModInfo ( )

Definition at line 29 of file ModInfo.cpp.

ModInfo::ModInfo ( const char *  filename)

Definition at line 33 of file ModInfo.cpp.

ModInfo::ModInfo ( const char *  name,
const char *  version,
const char *  url 
)

Definition at line 41 of file ModInfo.cpp.

ModInfo::~ModInfo ( )

Definition at line 45 of file ModInfo.cpp.


Member Function Documentation

const Text& ModInfo::Author ( ) const
inline

Definition at line 46 of file ModInfo.h.

const Text& ModInfo::Copyright ( ) const
inline

Definition at line 49 of file ModInfo.h.

const Text& ModInfo::Description ( ) const
inline

Definition at line 45 of file ModInfo.h.

bool ModInfo::Disable ( )

Definition at line 280 of file ModInfo.cpp.

bool ModInfo::Distribute ( ) const
inline

Definition at line 52 of file ModInfo.h.

bool ModInfo::Enable ( )

Definition at line 257 of file ModInfo.cpp.

const Text& ModInfo::Filename ( ) const
inline

Definition at line 48 of file ModInfo.h.

List<ModCampaign>& ModInfo::GetCampaigns ( )
inline

Definition at line 55 of file ModInfo.h.

bool ModInfo::IsEnabled ( ) const
inline

Definition at line 53 of file ModInfo.h.

bool ModInfo::Load ( const char *  filename)

Definition at line 58 of file ModInfo.cpp.

Bitmap* ModInfo::LogoImage ( ) const
inline

Definition at line 50 of file ModInfo.h.

const Text& ModInfo::Name ( ) const
inline

Definition at line 44 of file ModInfo.h.

int ModInfo::operator== ( const ModInfo m) const
inline

Definition at line 42 of file ModInfo.h.

bool ModInfo::ParseModInfo ( const char *  buffer)

Definition at line 108 of file ModInfo.cpp.

static const char* ModInfo::TYPENAME ( )
inlinestatic

Definition at line 35 of file ModInfo.h.

const Text& ModInfo::URL ( ) const
inline

Definition at line 47 of file ModInfo.h.

const Text& ModInfo::Version ( ) const
inline

Definition at line 51 of file ModInfo.h.


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