Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CoinsPref Class Reference

manipulates the program preferences. More...

#include <CoinsPref.h>

Collaboration diagram for CoinsPref:

Collaboration graph
[legend]
List of all members.

Public Methods

 CoinsPref ()
 the constructor sets the values for the id and version. More...

CoinsPrefTypeget ()
 
Returns:
pointer to the current preferences:.
More...


void read ()
 retrieve the preferences into coins_pref. More...

void save ()
 save the preferences from coins_pref. More...

void setDefault ()
 assigns default values to coins_pref. More...


Private Attributes

CoinsPrefType coins_pref
 the structure holds the app's preferences. More...

UInt16 id
 id for the pref structure above. More...

Int16 ver
 version. More...


Detailed Description

manipulates the program preferences.

Definition at line 68 of file CoinsPref.h.


Constructor & Destructor Documentation

CoinsPref::CoinsPref  
 

the constructor sets the values for the id and version.


Member Function Documentation

CoinsPrefType* CoinsPref::get  
 

Returns:
pointer to the current preferences:.

void CoinsPref::read  
 

retrieve the preferences into coins_pref.

void CoinsPref::save  
 

save the preferences from coins_pref.

void CoinsPref::setDefault  
 

assigns default values to coins_pref.


Member Data Documentation

CoinsPrefType CoinsPref::coins_pref [private]
 

the structure holds the app's preferences.

Definition at line 72 of file CoinsPref.h.

UInt16 CoinsPref::id [private]
 

id for the pref structure above.

Definition at line 75 of file CoinsPref.h.

Int16 CoinsPref::ver [private]
 

version.

Definition at line 77 of file CoinsPref.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 16 23:11:14 2003 for FreeCoins by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002