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

📄 plugintool.h

📁 cy7c68013目前最流行的几种gps芯片的控制定制程序的源代码
💻 H
字号:
////////////////////////////////////////////////////////////////////////////////
// plugintool.h : interface of the CPlugInTool class
// Author:	Saji Varkey (SCV)
// $Header: /USB/Util/EzMr/plugintool.h 3     8/08/00 2:26p Tpm $
// Copyright (c) 2000 Cypress Semiconductor. May not be reproduced without permission.
// See the EzUsb Developer's Kit license agreement for more details.
////////////////////////////////////////////////////////////////////////////////
#ifndef  H_PLUGINTOOL
#define  H_PLUGINTOOL

class CPlugInTool : public CObject
{

public:

	// Constructor
	//
	CPlugInTool( CString name, CString path, CString initDir = "", CString args = "" );
	
	CString GetMenuName() const { return m_menuName; }	// returns menu name
	CString GetPath() const    { return m_exePath; }		// return the exe. path
	CString GetInitDir() const { return m_initDir; }		// return the init. dir.
	CString GetDefArgs() const { return m_defArgs; }		// return def. arguments

	void SetMenuName( CString name );		// Set menu name
	void SetPath( CString path );			// Set exe. path
	void SetInitDir( CString initDir );		// Set init. dir
	void SetDefArgs( CString args);			// Set def. args.

	BOOL Run() const;						// Launch the tool

protected:
	CString SubstituteVariables( CString inStr ) const;	// expand the variables in the string
	void GetVariables() const;		// get all the variables from the proj. manager
	BOOL GetValue( CString inStr, CString & outStr ) const;
	void ChangeToInitDir() const;	// change to initial directory

private:
	CString m_menuName;	// menu name
	CString m_exePath;	// executable path
	CString m_initDir;	// initial directory
	CString m_defArgs;	// default arguments
};
#endif	// H_PLUGINTOOL

⌨️ 快捷键说明

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