From fbdc27d3ad67db5fec3cca3df4d397c9707f3405 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:08:09 +0000 Subject: Utilisateur : Fcolin Date : 8/11/02 Heure : 11:50 Créé Commentaire: (vss 1) --- IvyFileMon/ParseCmdLine.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 IvyFileMon/ParseCmdLine.h (limited to 'IvyFileMon') diff --git a/IvyFileMon/ParseCmdLine.h b/IvyFileMon/ParseCmdLine.h new file mode 100644 index 0000000..3b9a272 --- /dev/null +++ b/IvyFileMon/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; + CString m_directory; + CString m_extent; + CString m_prefix; + virtual void ParseParam( LPCTSTR lpszParam, BOOL bFlag, BOOL bLast ); + ParseCmdLine(); + virtual ~ParseCmdLine(); + enum { + BusNumber, + Start, + Directory, + Extent, + Prefix + }m_shellCommand; + +protected: + void ParseParamNotFlag(LPCTSTR pszParam); + void ParseParamFlag(LPCTSTR pszParam); +}; + +#endif // !defined(AFX_FXParseCMDLINE_H__20232B92_AB99_11D2_898F_00A0245B298A__INCLUDED_) -- cgit v1.1