summaryrefslogtreecommitdiff
path: root/IvyProbe
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:12:31 +0000
committerfcolin2007-02-01 13:12:31 +0000
commita099aaf529db4a04fd82fa18ffd9b9ed82742238 (patch)
tree1be1a112f123499388bbc465d0b9034348ddc33e /IvyProbe
parent637e738039ec3f4a76d492516d767ef791e3758e (diff)
downloadivy-cplusplus-a099aaf529db4a04fd82fa18ffd9b9ed82742238.zip
ivy-cplusplus-a099aaf529db4a04fd82fa18ffd9b9ed82742238.tar.gz
ivy-cplusplus-a099aaf529db4a04fd82fa18ffd9b9ed82742238.tar.bz2
ivy-cplusplus-a099aaf529db4a04fd82fa18ffd9b9ed82742238.tar.xz
Utilisateur : Fcolin Date : 31/01/01 Heure : 15:50 Créé (vss 1)
Diffstat (limited to 'IvyProbe')
-rw-r--r--IvyProbe/TestParseCmdLine.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/IvyProbe/TestParseCmdLine.h b/IvyProbe/TestParseCmdLine.h
new file mode 100644
index 0000000..9a6ae6d
--- /dev/null
+++ b/IvyProbe/TestParseCmdLine.h
@@ -0,0 +1,37 @@
+// FxParseCmdLine.h: interface for the FxParseCmdLine 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 FxParseCmdLine : public CCommandLineInfo
+{
+public:
+ BOOL m_busstart;
+ BOOL m_start;
+ BOOL m_loop;
+ UINT m_speed;
+ CString m_exoFile;
+ CString m_busNumber;
+ virtual void ParseParam( LPCTSTR lpszParam, BOOL bFlag, BOOL bLast );
+ FxParseCmdLine();
+ virtual ~FxParseCmdLine();
+ enum {
+ Loop,
+ BusNumber,
+ Start,
+ ExoFile,
+ Speed
+ }m_shellCommand;
+
+protected:
+ void ParseParamNotFlag(LPCTSTR pszParam);
+ void ParseParamFlag(LPCTSTR pszParam);
+};
+
+#endif // !defined(AFX_FXParseCMDLINE_H__20232B92_AB99_11D2_898F_00A0245B298A__INCLUDED_)