whoslockingcommandlineinfo.cpp

来自「用于查看文件被谁加锁了」· C++ 代码 · 共 36 行

CPP
36
字号
// WhoSLockingCommandLineInfo.cpp: implementation of the CWhoSLockingCommandLineInfo class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "WhoSLocking.h"
#include "WhoSLockingCommandLineInfo.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CWhoSLockingCommandLineInfo::CWhoSLockingCommandLineInfo()
{

}

CWhoSLockingCommandLineInfo::~CWhoSLockingCommandLineInfo()
{

}

void CWhoSLockingCommandLineInfo::ParseParam(LPCTSTR lpszParam, BOOL bFlag, BOOL bLast)
{
    if (!bFlag && lpszParam && *lpszParam!='\0') {
        // A file name has been passed as a parameter: store it
        m_szDefaultFilePath = lpszParam;
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?