Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.2 KiB

  1. /*++
  2. Microsoft Windows
  3. Copyright (C) Microsoft Corporation, 1981 - 1999
  4. Module Name:
  5. commandline.h
  6. Abstract:
  7. Author:
  8. Rahul Thombre (RahulTh) 4/30/1998
  9. Revision History:
  10. 4/30/1998 RahulTh
  11. Created this module.
  12. --*/
  13. // CommandLine.h: interface for the CCommandLine class.
  14. //
  15. //////////////////////////////////////////////////////////////////////
  16. #if !defined(AFX_COMMANDLINE_H__A2EA0BFB_9DE5_11D1_A5EE_00C04FC252BD__INCLUDED_)
  17. #define AFX_COMMANDLINE_H__A2EA0BFB_9DE5_11D1_A5EE_00C04FC252BD__INCLUDED_
  18. #if _MSC_VER >= 1000
  19. #pragma once
  20. #endif // _MSC_VER >= 1000
  21. class CCommandLine : public CCommandLineInfo
  22. {
  23. public:
  24. void ParseParam(LPCTSTR lpszParam, BOOL bFlag, BOOL bLast);
  25. CCommandLine();
  26. virtual ~CCommandLine();
  27. public:
  28. friend BOOL CIrftpApp::InitInstance (void);
  29. private:
  30. BOOL m_fFilesProvided;
  31. BOOL m_fShowSettings;
  32. BOOL m_fHideApp;
  33. BOOL m_fInvalidParams;
  34. CString m_FileNames;
  35. TCHAR* m_lpszFilesList; //if files are provided, then this contains a null separated list of files terminated by two null characters.
  36. ULONG m_iListLen;
  37. };
  38. #endif // !defined(AFX_COMMANDLINE_H__A2EA0BFB_9DE5_11D1_A5EE_00C04FC252BD__INCLUDED_)