📄 addincommandhandler.cpp
字号:
/************************************************************************
*
* Resource ID Organiser Add-In for Visual C++ .NET
*
* (c) Copyright 2000-2005 by Riverblade Limited (UK). All rights reserved.
*
************************************************************************
*
* Description : CAddInCommandHandler - Base class for handling
* commands in the Visual Studio environment
*
* Compiler : Microsoft Visual C++ .NET 2003
*
* Target
* Environment : Windows 2000/XP/Vista;
* Visual Studio 2002, 2003 or 2005
*
* NOTE:
*
* This software is provided "as is". All title and copyrights in and
* to the software, including but not limited to any images, text etc.
* etc. incorporated into it, are the property of Anna-Jayne Metcalfe
* and Riverblade Limited, except where acknowledged otherwise.
*
* Your may freely use this code in your own products, PROVIDED
* this notice is not removed or modified.
*
* Please visit http://www.riverblade.co.uk/products/resorg or email
* support@riverblade.co.uk for latest updates and product support
*
************************************************************************
*
* MODIFICATION HISTORY:
*
* This is a controlled document. See project configuration
* control tool for latest version and full version history.
*
* $Archive: /Projects/AddIns/ResOrg/ResOrgNETAddIn/AddInCommandHandler.cpp $
* $Revision: 1 $
* $Date: 16/10/05 17:21 $
* $Author: Anna $
*
* $History: AddInCommandHandler.cpp $
*
* ***************** Version 1 *****************
* User: Anna Date: 16/10/05 Time: 17:21
* Created in $/Projects/AddIns/ResOrg/ResOrgNETAddIn
*
* $Nokeywords: $
*
************************************************************************/
#include "StdAfx.h"
#include "AddInCommandHandler.h"
/////////////////////////////////////////////////////////////////////////////
// CAddInCommandHandler construction/destruction
CAddInCommandHandler::CAddInCommandHandler( const CComPtr<EnvDTE::_DTE>& pDTE,
const _bstr_t& bsCommandName) :
m_pDTE(pDTE),
m_bsCommandName(bsCommandName)
{
ATLASSERT(m_pDTE != NULL);
ATLASSERT(m_bsCommandName.length() > 0);
}
CAddInCommandHandler::~CAddInCommandHandler(void)
{
m_pDTE = NULL;
}
/////////////////////////////////////////////////////////////////////////////
// CAddInCommandHandler operations
// (none)
/////////////////////////////////////////////////////////////////////////////
// CAddInCommandHandler virtual overrides
// (none)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -