summaryrefslogtreecommitdiff
path: root/IvyAudioMon/ParseCmdLine.h
diff options
context:
space:
mode:
Diffstat (limited to 'IvyAudioMon/ParseCmdLine.h')
-rw-r--r--IvyAudioMon/ParseCmdLine.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/IvyAudioMon/ParseCmdLine.h b/IvyAudioMon/ParseCmdLine.h
new file mode 100644
index 0000000..281491e
--- /dev/null
+++ b/IvyAudioMon/ParseCmdLine.h
@@ -0,0 +1,37 @@
+// 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 ParseCmdLine : public CCommandLineInfo
+{
+public:
+
+ BOOL m_start;
+ CString m_busNumber;
+ float m_seuil;
+ CString m_extent;
+ CString m_prefix;
+ virtual void ParseParam( LPCTSTR lpszParam, BOOL bFlag, BOOL bLast );
+ ParseCmdLine();
+ virtual ~ParseCmdLine();
+ enum {
+ BusNumber,
+ Start,
+ Seuil,
+ Extent,
+ Prefix
+ }m_shellCommand;
+
+protected:
+ void ParseParamNotFlag(LPCTSTR pszParam);
+ void ParseParamFlag(LPCTSTR pszParam);
+};
+
+#endif // !defined(AFX_FXParseCMDLINE_H__20232B92_AB99_11D2_898F_00A0245B298A__INCLUDED_)