📄 dsaddinloader.h
字号:
#ifndef __DSAddInLoader_H__
#define __DSAddInLoader_H__
/************************************************************************
*
* Resource ID Organiser Utility Library
*
* (c) Copyright 2000 by Andy Metcalfe (andy.metcalfe@lineone.net)
* All rights reserved.
*
************************************************************************
*
* Filename : DSAddInLoader.h
*
* Description : CDSAddInLoader - A class for configuring Visual Studio
* to load add-ins
*
* Compiler : Microsoft Visual C++ 6.0, Service Pack 3 or 4
*
* Target
* Environment : Windows 98/NT
*
* NOTE:
*
* This software is provided "as is" free for personal use. All
* title and copyrights in and to the software, including but not
* limited to any images, text, etc. incorporated into it, are
* owned by Andy Metcalfe, except where acknowledged otherwise.
*
* Your may freely to use this code in your own products, PROVIDED
* this notice is not removed or modified.
*
*
* Visit http://www.resorg.co.uk for latest updates
*
************************************************************************
*
* MODIFICATION HISTORY:
*
* This is a controlled document. See project configuration
* control tool for latest version and full version history.
*
* $Archive: /Projects/AddIns/ResOrg/ResOrgUtils/DSAddInLoader.h $
* $Revision: 3 $
* $Date: 12/05/01 6:46 $
* $Author: Andy $
*
* $History: DSAddInLoader.h $
*
* ***************** Version 3 *****************
* User: Andy Date: 12/05/01 Time: 6:46
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Added checks for available DevStudio versions
*
* ***************** Version 2 *****************
* User: Andy Date: 17/02/01 Time: 7:14
* Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
* Now registers the server as well...
*
* ***************** Version 1 *****************
* User: Andy Date: 4/12/00 Time: 18:43
* Created in $/Projects/AddIns/ResOrg/ResOrgUtils
*
*
* $Nokeywords: $
*
************************************************************************/
// DSAddInLoader.h : interface of the CDSAddInLoader class
//
/////////////////////////////////////////////////////////////////////////////
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CDSAddInLoader class
class RESORGUTILS_EXT_CLASS CDSAddInLoader: public CObject
{
public:
CDSAddInLoader(const CString& sName);
// Attributes
protected:
CString m_sRootKey;
CString m_sName;
CString m_sDescription;
CString m_sPathName;
BOOL m_bLoaded;
// Operations
public:
static int GetDevStudioVersions(CStringArray& rarrayVersions);
CString GetDescription(void) const
{ return m_sDescription; }
CString GetPathName(void) const
{ return m_sPathName; }
BOOL IsLoaded(void) const
{ return m_bLoaded; }
BOOL Load(BOOL bLoad);
BOOL SetDescription(const CString& sDesc);
BOOL SetPathName(const CString& sPath);
BOOL CanLoad(void) const
{ return !m_sRootKey.IsEmpty(); }
// Implementation
protected:
BOOL ReadConfig(const CString& sName);
BOOL WriteConfig(const CString& sName);
BOOL RegisterServer(void);
};
#endif //!__DSAddInLoader_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -