2001-04-24 22:53:00 +00:00
|
|
|
/* $Id: Settings.h,v 1.2 2001/04/24 22:53:00 narnaoud Exp $ */
|
2001-04-16 05:03:29 +00:00
|
|
|
|
|
|
|
#ifndef OPTIONS_H__a7382d2d_96b4_4472_974d_801281bd5327___INCLUDED
|
|
|
|
#define OPTIONS_H__a7382d2d_96b4_4472_974d_801281bd5327___INCLUDED
|
|
|
|
|
|
|
|
class CSettings
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CSettings();
|
|
|
|
~CSettings();
|
|
|
|
HRESULT Load(LPCTSTR pszLoadKey);
|
|
|
|
HRESULT Store(LPCTSTR pszStoreKey);
|
|
|
|
LPCTSTR GetPrompt();
|
|
|
|
WORD GetNormalTextAttributes();
|
2001-04-24 22:53:00 +00:00
|
|
|
WORD GetCommandTextAttributes();
|
2001-04-16 05:03:29 +00:00
|
|
|
private:
|
|
|
|
HRESULT Clean();
|
|
|
|
LPTSTR m_pszPrompt;
|
|
|
|
WORD m_wNormalTextAttributes;
|
2001-04-24 22:53:00 +00:00
|
|
|
WORD m_wCommandTextAttributes;
|
2001-04-16 05:03:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // #ifndef OPTIONS_H__a7382d2d_96b4_4472_974d_801281bd5327___INCLUDED
|