Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

cPreference Class Reference

cPreference holds user preferences informations. More...

#include <cPreference.h>

List of all members.

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.


Detailed Description

cPreference holds user preferences informations.

Author:
Xuan Ngo
Date:
Last Modified:
Version:
0.2
Since:
Sat Oct 25 01:25:37 2003
Bug:

Test:

Todo:
Warning:
Any warnings about using this class.


Constructor & Destructor Documentation

cPreference::cPreference (  void   )  [private]
 

cPreference::~cPreference (  void   )  [private]
 


Member Function Documentation

const string cPreference::GetNetcatCmd (  void   ) 
 

const string cPreference::GetP2PClientId (  void   ) 
 

const string cPreference::GetPosterPath (  void   ) 
 

cPreference * cPreference::GetPrefInstance (  void   )  [static]
 

Get Singleton function.

Bool cPreference::IsFileExist (  const string  sFilename  )  [private]
 

void cPreference::LoadPreferences (  void   ) 
 

void cPreference::SetNetcatCmd (  const string  sNetCatCmd  ) 
 

void cPreference::SetP2PClientId (  const string  sId  ) 
 

void cPreference::SetPosterPath (  const string  sPosterPath  ) 
 

Only this function will handle cross-platform directory notation.

void cPreference::WritePreferences (  void   ) 
 


Member Data Documentation

string cPreference::m_sNetCatCmd [private]
 

string cPreference::m_sP2PClientId [private]
 

string cPreference::m_sPosterPath [private]
 

string cPreference::m_sPrefFileName [private]
 

cPreference * cPreference::PrefHandler = NULL [static, private]
 

Singleton.


The documentation for this class was generated from the following files:
Generated on Wed Feb 25 01:15:18 2004 for eDonkeyFilesManager by doxygen 1.3.2