Old fashion design for PC-104
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright � 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: Settings.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of Settings.h
//----------------------------------------------------------------------------
#ifndef __SETTINGS__H__INCLUDED__
#define __SETTINGS__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif
struct CLgDRect;
class CSettings {public: CSettings(); virtual ~CSettings();
public: BOOL Create( LPCTSTR pKeyName ); void Destroy();
public: BOOL Load( LPCTSTR pSettingName, PVOID pData, INT nSize ); BOOL Load( LPCTSTR pSettingName, LPRECT pRect ); BOOL Load( LPCTSTR pSettingName, CLgDRect *pRect ); BOOL Load( LPCTSTR pSettingName, PINT pValue ); BOOL Load( LPCTSTR pSettingName, double* dValue );
public: BOOL Save( LPCTSTR pSettingName, PVOID pData, INT nSize ); BOOL Save( LPCTSTR pSettingName, LPRECT pRect ); BOOL Save( LPCTSTR pSettingName, CLgDRect *pRect ); BOOL Save( LPCTSTR pSettingName, INT nValue ); BOOL Save( LPCTSTR pSettingName, double dValue );
private: HKEY m_hKey;};
#endif
|