summaryrefslogtreecommitdiff
path: root/Bus/Horloge/HorlogeParseCmdLine.h
diff options
context:
space:
mode:
Diffstat (limited to 'Bus/Horloge/HorlogeParseCmdLine.h')
-rw-r--r--Bus/Horloge/HorlogeParseCmdLine.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/Bus/Horloge/HorlogeParseCmdLine.h b/Bus/Horloge/HorlogeParseCmdLine.h
new file mode 100644
index 0000000..3ececad
--- /dev/null
+++ b/Bus/Horloge/HorlogeParseCmdLine.h
@@ -0,0 +1,31 @@
+// TestParseCmdLine.h: interface for the TestParseCmdLine class.
+//
+//////////////////////////////////////////////////////////////////////
+
+#if !defined(AFX_FXParseCMDLINE_H__20232B92_AB99_11D2_898F_00A0245B298A__INCLUDED_)
+#define AFX_FXParseCMDLINE_H__20232B92_AB99_11D2_898F_00A0245B298A__INCLUDED_
+
+#if _MSC_VER > 1000
+#pragma once
+#endif // _MSC_VER > 1000
+
+class HorlogeParseCmdLine : public CCommandLineInfo
+{
+public:
+
+ BOOL m_start;
+ CString m_busNumber;
+ virtual void ParseParam( LPCTSTR lpszParam, BOOL bFlag, BOOL bLast );
+ HorlogeParseCmdLine();
+ virtual ~HorlogeParseCmdLine();
+ enum {
+ BusNumber,
+ Start,
+ }m_shellCommand;
+
+protected:
+ void ParseParamNotFlag(LPCTSTR pszParam);
+ void ParseParamFlag(LPCTSTR pszParam);
+};
+
+#endif // !defined(AFX_FXParseCMDLINE_H__20232B92_AB99_11D2_898F_00A0245B298A__INCLUDED_)