mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 16:45:50 +00:00
Implemented: default settings, loading settings from registry key, settings for prompt, normal text colors and command text colors.
svn path=/trunk/; revision=1801
This commit is contained in:
parent
2b246092f3
commit
7f0a6dcd48
2 changed files with 169 additions and 0 deletions
23
rosapps/sysutils/regexpl/Settings.h
Normal file
23
rosapps/sysutils/regexpl/Settings.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
/* $Id: Settings.h,v 1.1 2001/04/16 05:03:29 narnaoud Exp $ */
|
||||
|
||||
#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();
|
||||
WORD GetPromptTextAttributes();
|
||||
private:
|
||||
HRESULT Clean();
|
||||
LPTSTR m_pszPrompt;
|
||||
WORD m_wNormalTextAttributes;
|
||||
WORD m_wPromptTextAttributes;
|
||||
};
|
||||
|
||||
#endif // #ifndef OPTIONS_H__a7382d2d_96b4_4472_974d_801281bd5327___INCLUDED
|
Loading…
Add table
Add a link
Reference in a new issue