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

FX::FXRegistry Class Reference

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

#include <FXRegistry.h>

Inheritance diagram for FX::FXRegistry:

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

Public Member Functions

 FXRegistry (const FXString &akey=FXString::null, const FXString &vkey=FXString::null)
FXbool read ()
FXbool write ()
FXString getAppKey () const
FXString getVendorKey () const
void setAsciiMode (FXbool asciiMode)
FXbool getAsciiMode () const

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

FXbool FX::FXRegistry::read  ) 
 

Read registry.

FXbool FX::FXRegistry::write  ) 
 

Write registry.

FXString FX::FXRegistry::getAppKey  )  const [inline]
 

Return application key.

FXString FX::FXRegistry::getVendorKey  )  const [inline]
 

Return vendor key.

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.

FXbool FX::FXRegistry::getAsciiMode  )  const [inline]
 

Get ASCII mode.

Copyright © 1997-2004 Jeroen van der Zijp