📄 kr_resources.h
字号:
/***************************************************************************
KR_Resources.h -
-------------------
begin : Mon May 3 2004
copyright : (C) 2004 by DigitalAirways
email : info@digitalairways.com
***************************************************************************/
/*
* Copyright (c) 2004 DigitalAirways, sarl. All Rights Reserved.
*
* This software is the confidential and proprietary information of
* DigitalAirways, sarl. ("Confidential Information"). You shall not
* disclose such Confidential Information and shall use it only in
* accordance with the terms of the license agreement you entered into
* with DigitalAirways.
* A copy of this license is included in the licence.txt file included
* on this software package.
*/
/*
**************************************************************
* TODO
**************************************************************
-
**************************************************************
* HISTORY
**************************************************************
-
*/
#ifndef __KR_RESOURCES__
#define __KR_RESOURCES__
#include "SmallArrayList.h"
// This macro is used to create an instanciator from the class' name.
#define INSTANCIATOR(X) static X* instanciatePlugin(GContext* newGContext) {return XNEW(X) (newGContext);}
// These are the plug-in types
#define PLUGIN_UNDEFINED 0
#define PLUGIN_JITMAPPER 1
#define PLUGIN_POPULATOR 2
#define PLUGIN_OPTIONTYPE 3
#define PLUGIN_GROUPTYPE 4
#define PLUGIN_PAINTER 5
#define PLUGIN_KEYPROXY 6
#define PLUGIN_APPCONTEXT 7
#define PLUGIN_VIEW_POPULATOR 8
KREBDLIBS_API void addInstantiatorTable(SmallArrayList* instantiatorTables, char** auto_Plugins) ;
KREBDLIBS_API void* getInstanciator(char* className, int* classType, SmallArrayList* instantiatorTables) ;
KREBDLIBS_API char* getClassNameFromInstanciator(void* instanciator, SmallArrayList* instantiatorTables) ;
#endif // ndef __KR_RESOURCES__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -