kr_viewpopulator.h
来自「这是法国Kaleido公司提供了一个手机mmi设计平台」· C头文件 代码 · 共 94 行
H
94 行
/***************************************************************************
KR_ViewPopulator.h -
-------------------
begin : Tue Mar 3 2004
copyright : (C) 2004 by DigitalAirways
email : info@digitalairways.com
***************************************************************************/
/*
* Copyright (c) 2000-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
* in this software package.
*/
/*
**************************************************************
* TODO
**************************************************************
-
**************************************************************
* HISTORY
**************************************************************
-
*/
#ifndef __KR_VIEWPOPULATOR__
#define __KR_VIEWPOPULATOR__
#include "KR_Plugin.h"
#include "KR_KRuntime.h"
class KREBDLIBS_API ViewPopulator : public Plugin {
friend class View;
private:
void init(char* param, View* v){
setView(v);
init(param);
}
protected:
View* fView;
public:
static ViewPopulator* makeInstance(GContext* newGContext, char* populatorclass, char* param, View* v) ;
DEFINE_NEW(ViewPopulator);
DEFINE_DELETE(ViewPopulator);
ViewPopulator (GContext* newGContext) : Plugin(newGContext) {
fView=NULL;
}
virtual ~ViewPopulator() {
}
#ifdef DEV_CONSISTENCY
virtual char *getInfo(int itemType, int itemIdx) {
return defaultGetInfo(itemType, itemIdx);
}
#endif // def DEV_CONSISTENCY
void setView(View* v) {
fView = v;
}
virtual void init(char* /*param*/) {
// nothing
}
};
typedef ViewPopulator* pViewPopulator ;
typedef pViewPopulator (*viewPopulatorInstanciator)(GContext* newGContext) ;
#endif // ndef __KR_VIEWPOPULATOR__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?