-
Notifications
You must be signed in to change notification settings - Fork 98
/
WinMTRMain.h
43 lines (32 loc) · 885 Bytes
/
WinMTRMain.h
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
38
39
40
41
42
//*****************************************************************************
// FILE: WinMTRMain.h
//
//
// DESCRIPTION:
//
//
// NOTES:
//
//
//*****************************************************************************
#ifndef WINMTRMAIN_H_
#define WINMTRMAIN_H_
#include "WinMTRDialog.h"
#include <string>
//*****************************************************************************
// CLASS: WinMTRMain
//
//
//*****************************************************************************
class WinMTRMain : public CWinApp
{
public:
WinMTRMain();
virtual BOOL InitInstance();
DECLARE_MESSAGE_MAP()
private:
void ParseCommandLineParams(LPTSTR cmd, WinMTRDialog *wmtrdlg);
int GetParamValue(LPTSTR cmd, char * param, char sparam, char *value);
int GetHostNameParamValue(LPTSTR cmd, std::string& value);
};
#endif // ifndef WINMTRMAIN_H_