www.pudn.com > FileGuard.zip > FGCommandLineInfo.h


// FGCommandLineInfo.h: interface for the CFGCommandLineInfo class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_FGCOMMANDLINEINFO_H__AF1F92A0_9B18_11D5_A1DA_00E006F27970__INCLUDED_) 
#define AFX_FGCOMMANDLINEINFO_H__AF1F92A0_9B18_11D5_A1DA_00E006F27970__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class CFGCommandLineInfo : public CCommandLineInfo   
{ 
public: 
	CFGCommandLineInfo(); 
	virtual ~CFGCommandLineInfo(); 
	void ParsePath();	//parse path depending on whether it is a file or a folder, 
								   //convert folder and drive to a file name with wildcards; 
								   //call this function after calling ParseParam(). 
	virtual void ParseParam(const TCHAR* pszParam, BOOL bFlag, BOOL bLast); 
 
public: 
	BOOL m_bIsOpenByRightKey; 
	enum{DIRECTORY,FILE,DRIVE}	m_protectedObjectType;	//open a folder or a file? 
}; 
 
#endif // !defined(AFX_FGCOMMANDLINEINFO_H__AF1F92A0_9B18_11D5_A1DA_00E006F27970__INCLUDED_)