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

📄 root.h

📁 这是VCF框架的代码
💻 H
字号:
//[!output PROJECT_NAME].h#ifndef [!output UPPER_CASE_PROJECT_NAME]_H__#define [!output UPPER_CASE_PROJECT_NAME]_H__#ifdef WIN32/***this is only here for microsoft VPL implementation*/	#ifdef [!output UPPER_CASE_PROJECT_NAME]_EXPORTS	#define [!output UPPER_CASE_PROJECT_NAME]_API __declspec(dllexport)	#else	#define [!output UPPER_CASE_PROJECT_NAME]_API __declspec(dllimport)	#endif //[!output UPPER_CASE_PROJECT_NAME]_EXPORTS#else	#define [!output UPPER_CASE_PROJECT_NAME]_API#endif //WIN32/***This is the registration entry point for the VPL. initPackage() gets called*by the VCF Builder when dynamically loading the library. It should also be*called by the application using components from the VPL. This should be done*automatically for you by the code generation capabilities of the VCF Builder,*but just in case it is left out, here's what to do://put the following code in your Application derived class's initRunningApplication()//method, where vplFilename is a string that represents the fully qualified filename//that points to your VPL.	this->loadVPL( vplFilename );*Any classes you have that have declared RTTI info, need to register themselves with*the ClassRegistry. The easiest way is through using the REGISTER_CLASSINFO macro. To*use, do the following for each class you need to register:	//className represents the class you want to register	REGISTER_CLASSINFO(className)*The REGISTER_CLASSINFO macro does require that your RTTI was declared using the*ClassInfo macros. For more information please see the VCF documentation, and/or*look at the comments in the Class.h and ClassInfo.h headers.*Also, components and/or PropertyEditor registration should be done here as well.*Please see the documentation on the Component::registerComponent() method and the*PropertyEditorManager::registerPropertyEditor() method*/extern "C" [!output UPPER_CASE_PROJECT_NAME]_API void initPackage();#endif //[!output UPPER_CASE_PROJECT_NAME]_H__

⌨️ 快捷键说明

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