summaryrefslogtreecommitdiff
path: root/IvyAudioMon/ParseCmdLine.h
blob: 281491e61074df6bce32ddcdfcbc0443f742eee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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_)