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

FXRegistry Class Reference

#include <FXRegistry.h>

Inheritance diagram for FXRegistry:

FXSettings FXDict 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

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 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.