x3c-1.0.8
所属分类:Windows编程
开发工具:Visual C++
文件大小:385KB
下载次数:23
上传日期:2012-08-12 08:43:55
上 传 者:
shuningzhang
说明: 开源插件框架,学习框架开发的同学可以学习一下
(Open source plug-in framework, the learning framework developed by students can learn)
文件列表:
code (0, 2011-03-01)
code\bin (0, 2011-03-01)
code\bin\Translations (0, 2011-03-01)
code\bin\Translations\Strings (0, 2011-03-01)
code\bin\Translations\Strings\CoreLogStr.xml (3160, 2011-02-21)
code\pkg_AppUI (0, 2011-03-01)
code\pkg_AppUI\Interface (0, 2011-03-01)
code\pkg_AppUI\Interface\CmdMsgObserverSimple.h (7057, 2011-02-11)
code\pkg_AppUI\Interface\Cx_CreateWnd.h (3180, 2011-02-14)
code\pkg_AppUI\Interface\Ix_CreateWnd.h (1064, 2011-01-15)
code\pkg_AppUI\Interface\Ix_UIConfig.h (821, 2011-01-15)
code\pkg_AppUI\Interface\RawCmdMsgObserver.h (3660, 2011-02-11)
code\pkg_AppUI\Modules (0, 2011-03-01)
code\pkg_Core (0, 2011-03-01)
code\pkg_Core\Interface (0, 2011-03-01)
code\pkg_Core\Interface\ChangeObserver (0, 2011-03-01)
code\pkg_Core\Interface\ChangeObserver\ChangeNotifyData.h (3297, 2011-02-09)
code\pkg_Core\Interface\ChangeObserver\Ix_ChangeManager.h (1564, 2011-02-09)
code\pkg_Core\Interface\ChangeObserver\Ix_ChangeObserver.h (660, 2011-01-30)
code\pkg_Core\Interface\Ix_Object.h (2121, 2011-01-15)
code\pkg_Core\Interface\Ix_ObjectFactory.h (1668, 2011-01-15)
code\pkg_Core\Interface\Log (0, 2011-03-01)
code\pkg_Core\Interface\Log\DebugR.cpp (1716, 2011-02-14)
code\pkg_Core\Interface\Log\DebugR.h (777, 2011-02-14)
code\pkg_Core\Interface\Log\ILogObserver.h (2837, 2011-01-30)
code\pkg_Core\Interface\Log\Ix_LogManager.h (3245, 2011-01-30)
code\pkg_Core\Interface\Log\LogHelper.h (8830, 2011-03-01)
code\pkg_Core\Interface\Module (0, 2011-03-01)
code\pkg_Core\Interface\Module\Cx_Module.h (1184, 2011-01-30)
code\pkg_Core\Interface\Module\Cx_Object.h (2256, 2011-02-14)
code\pkg_Core\Interface\Module\Cx_SimpleObject.h (1682, 2011-01-30)
code\pkg_Core\Interface\Module\Cx_SingletonObject.h (3007, 2011-02-14)
code\pkg_Core\Interface\Module\Ix_Module.h (1755, 2011-01-30)
code\pkg_Core\Interface\Module\XClassItem.h (2537, 2011-01-30)
code\pkg_Core\Interface\Module\XModuleImpl.h (7777, 2011-02-14)
code\pkg_Core\Interface\Module\XModuleItem.h (2128, 2011-02-14)
code\pkg_Core\Interface\Module\XModuleMacro.h (5911, 2011-01-30)
code\pkg_Core\Interface\PluginManager (0, 2011-03-01)
... ...
MakePluginPerl: 自动生成插件工具
makePlugin_v0.3.pl: 生成插件的Perl脚本文件
config.ini: 配置文件
MFCExtTempl: 插件工程模板
Interface: 新生成接口文件的存放目录
**插件使用方法
1. 更改config.ini的配置选项,其中newplugin节的name选项表示生成插件的名称,project表示生成插件的VC++工程名。配置文件格式如下:
;新建插件配置数据
[newplugin]
; 插件名称
name=Test
; VC++工程名称
project=Test
2. 执行脚本 makePlugin_v0.3.pl ,会在当前目录生成以新插件名称命名的目录,在Interface目录会生成相应的接口定义头文件。
3. 将新生成的插件目录和接口文件分别拷贝到相应目录,即可编译和开发。
**Perl相关
Perl运行环境(Active Perl): http://www.activestate.com/activeperl
Perl脚本转EXE文件(ActiveState PDK): http://www.activestate.com/perl-dev-kit
依赖包(均来自CPAN): File::Copy,Data::GUID,Config::IniFiles
近期下载者:
相关文件:
收藏者: