1 // GlobalOptions.h: interface for the CGlobalOptions class.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_GLOBALOPTIONS_H__AD5486F4_24B4_42E6_AB0A_0E11E9284F30__INCLUDED_)
6 #define AFX_GLOBALOPTIONS_H__AD5486F4_24B4_42E6_AB0A_0E11E9284F30__INCLUDED_
10 #endif // _MSC_VER > 1000
13 #include "VersionFilter.h"
14 #include "Formatter.h"
17 class CGlobalOptions
: public COptions
21 virtual ~CGlobalOptions ();
23 virtual COptionInfoList
GetOptionsInfo () const;
24 virtual bool SetOption (const COption
& option
);
26 bool GetHelp () const { return m_bHelp
; }
27 // std::string GetNamesCache () const { return m_NamesDat; }
28 bool GetAllRecords () const { return m_bAllRecords
; }
29 bool GetOnlyRecords () const { return m_bOnlyRecords
; }
31 eStyle
GetStyle () const { return m_Style
; }
33 std::string m_Command
;
34 bool m_bIntegrityCheck
;
38 std::string m_NamesDat
;
39 CVersionFilter
* m_pVersionFilter
;
42 bool m_bForceOverwrite
;
44 tristate m_StyleValue
;
48 #endif // !defined(AFX_GLOBALOPTIONS_H__AD5486F4_24B4_42E6_AB0A_0E11E9284F30__INCLUDED_)