Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXRegistry Class Reference

#include <FXRegistry.h>

Inheritance diagram for FX::FXRegistry:

FX::FXSettings FX::FXDict FX::FXObject List of all members.

Public Methods

 FXRegistry (const FXString &akey=FXString::null, const FXString &vkey=FXString::null)
FXbool read ()
 Read registry.

FXbool write ()
 Write registry.

const FXStringgetAppKey () const
 Return application key.

const FXStringgetVendorKey () const
 Return vendor key.

void setAsciiMode (FXbool asciiMode)
FXbool getAsciiMode () const
 Get ASCII mode.


Detailed Description

The registry maintains a database of persistent settings for an application, or suite of applications.


Constructor & Destructor Documentation

FX::FXRegistry::FXRegistry const FXString   akey = FXString::null,
const FXString   vkey = FXString::null
 

Construct registry object; akey and vkey must be string constants. Regular applications SHOULD set a vendor key!


Member Function Documentation

void FX::FXRegistry::setAsciiMode FXbool    asciiMode [inline]
 

Set ASCII mode; under MS-Windows, this will switch the system to a file-based registry system, instead of using the System Registry API.