Add Dirk Luetjen's ssphys libraries and command-line tool
[vss2svn.git] / ssphys / SSPhys / GlobalOptions.h
blob640f1218528667b65289916577848f5469e624ee
1 // GlobalOptions.h: interface for the CGlobalOptions class.
2 //
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_GLOBALOPTIONS_H__AD5486F4_24B4_42E6_AB0A_0E11E9284F30__INCLUDED_)
6 #define AFX_GLOBALOPTIONS_H__AD5486F4_24B4_42E6_AB0A_0E11E9284F30__INCLUDED_
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
12 #include "Options.h"
13 #include "VersionFilter.h"
14 #include "Formatter.h"
17 class CGlobalOptions : public COptions
19 public:
20 CGlobalOptions ();
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;
35 bool m_bHelp;
36 bool m_bAllRecords;
37 bool m_bOnlyRecords;
38 std::string m_NamesDat;
39 CVersionFilter* m_pVersionFilter;
40 int m_Version;
41 std::string m_Dest;
42 bool m_bForceOverwrite;
43 eStyle m_Style;
44 tristate m_StyleValue;
48 #endif // !defined(AFX_GLOBALOPTIONS_H__AD5486F4_24B4_42E6_AB0A_0E11E9284F30__INCLUDED_)