⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 renumwizengine.h

📁 一个vc中管理资源文件ID的插件
💻 H
字号:
#if !defined(__RenumWizEngine_H__)
#define __RenumWizEngine_H__
/************************************************************************
 *
 *                 Resource ID Organiser Utility Library
 *
 *       (c) Copyright 2001 by Andy Metcalfe (andy.metcalfe@lineone.net)
 *                         All rights reserved.
 *
 ************************************************************************
 *                                                                       
 *  Filename    : RenumWizEngine.h
 *
 *  Description : CRenumWizEngine - Settings and operations for the
 *                Symbol Renumbering Wizard
 *
 *  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/RenumWizEngine.h $
 *   $Revision: 2 $
 *       $Date: 22/06/01 9:46 $
 *     $Author: Andy $
 *
 *    $History: RenumWizEngine.h $
 * 
 * *****************  Version 2  *****************
 * User: Andy         Date: 22/06/01   Time: 9:46
 * Updated in $/Projects/AddIns/ResOrg/ResOrgUtils
 * Made class declaration "Rose friendly"
 * 
 * *****************  Version 1  *****************
 * User: Andy         Date: 21/04/01   Time: 7:12
 * Created in $/Projects/AddIns/ResOrg/ResOrgUtils
 * 
 * $Nokeywords: $
 *
 ************************************************************************/

// RenumWizEngine.h : header file

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000


#ifndef __ResourceSymbolList_H__
	#include "ResourceSymbolList.h"
#endif
		
#ifndef __ResourceSymbolBuffer_H__
	#include "ResourceSymbolBuffer.h"
#endif


// Symbol selection
enum
{
	RENUMWIZ_ALL_SYMBOLS,
	RENUMWIZ_SELECTED_SYMBOLS,
	RENUMWIZ_CONFLICTING_SYMBOLS,
};


// Symbol order
enum
{
	RENUMWIZ_SORT_BY_NAME,
	RENUMWIZ_PRESERVE_ORDER
};


/////////////////////////////////////////////////////////////////////////////
// CRenumWizEngine

#define	CRenumWizEngine_BASE							CObject

class RESORGUTILS_EXT_CLASS	CRenumWizEngine : public	CObject
{

// Construction
public:
			CRenumWizEngine(void);

	virtual ~CRenumWizEngine(void);

// Attributes
public:
			int						m_eSymbolSelection;
			int						m_eSymbolOrder;
			UINT					m_uBaseCommand;
			UINT					m_uBaseControl;
			UINT					m_uBaseResource;
			UINT					m_uBaseSymed;

			CResourceSymbolList		m_listAvailableSymbols;
			CResourceSymbolList		m_listSelectedSymbols;

			CResourceSymbolBuffer*	m_pResourceSymbolBuffer;

// Operations
public:
			void					Initialise(CResourceSymbolBuffer* pResourceSymbolBuffer);

			int						GetAvailableSymbols(CResourceSymbolList& rarraySymbols) const;

			int						GetSelectedSymbols(CResourceSymbolList& rarraySymbols) const;

			BOOL					IsSelected(CResourceSymbol* pSymbol) const;

			BOOL					Select(CResourceSymbol* pSymbol);

			BOOL					Deselect(CResourceSymbol* pSymbol);

			BOOL					Renumber(void);


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRenumWizEngine)
public:
	//}}AFX_VIRTUAL



// Implementation
protected:
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(__RenumWizEngine_H__)

⌨️ 快捷键说明

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