Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

C_PrefServ Class Reference

Class Storage for the preferences. More...

#include <C_PrefServ.h>


Public Member Functions

 C_PrefServ (void)
 Constructor, Set data to 0.

 ~C_PrefServ (void)
 Delete unfree data.

void SetWindowDimensions (int Width, int Eight)
 Set the Dimension of the main window in the class.

void SetSoftwareLanguage (char *Language)
 Set the language of the Program.

bool SavePreferences (char *filename)
 Save all the preferences into a file.

bool LoadPreferences (char *filename)
 Load all the preferences from a file.


Detailed Description

Class Storage for the preferences.

Used to Utilise the preferences, all preferences MUST be managed by this class, modify it if you need.


Constructor & Destructor Documentation

C_PrefServ::C_PrefServ void   ) 
 

Constructor, Set data to 0.

C_PrefServ::~C_PrefServ void   ) 
 

Delete unfree data.


Member Function Documentation

bool C_PrefServ::LoadPreferences char *  filename  ) 
 

Load all the preferences from a file.

Parameters:
filename File name and path where to save data =)

bool C_PrefServ::SavePreferences char *  filename  ) 
 

Save all the preferences into a file.

Parameters:
filename File name and path where to save data =)

void C_PrefServ::SetSoftwareLanguage char *  Language  ) 
 

Set the language of the Program.

Parameters:
Language Char contening the language of the program, the string is copyed

void C_PrefServ::SetWindowDimensions int  Width,
int  Eight
 

Set the Dimension of the main window in the class.

Parameters:
Width the Width of the window to save
Eight The Eight of the window to save


The documentation for this class was generated from the following files:
Generated on Thu Jul 3 15:19:54 2003 for Sub Station Beta by doxygen1.3