#include <cPreference.h>
Public Member Functions | |
const string | GetPosterPath (void) |
const string | GetP2PClientId (void) |
const string | GetNetcatCmd (void) |
void | SetPosterPath (const string sPosterPath) |
Only this function will handle cross-platform directory notation. | |
void | SetP2PClientId (const string sId) |
void | SetNetcatCmd (const string sNetCatCmd) |
void | WritePreferences (void) |
void | LoadPreferences (void) |
Static Public Member Functions | |
cPreference * | GetPrefInstance (void) |
Get Singleton function. | |
Private Member Functions | |
cPreference (void) | |
~cPreference (void) | |
Bool | IsFileExist (const string sFilename) |
Private Attributes | |
string | m_sPosterPath |
string | m_sP2PClientId |
string | m_sNetCatCmd |
string | m_sPrefFileName |
Static Private Attributes | |
cPreference * | PrefHandler = NULL |
Singleton. |
|
|
|
|
|
|
|
|
|
|
|
Get Singleton function.
|
|
|
|
|
|
|
|
|
|
Only this function will handle cross-platform directory notation.
|
|
|
|
|
|
|
|
|
|
|
|
Singleton.
|