simpleex.h
来自「Developing.Software.for.Symbian.OS 书籍配套源」· C头文件 代码 · 共 81 行
H
81 行
/*==========================================
UIQ SimpleEx Header File
==========================================*/
#ifndef __SIMP_H
#define __SIMP_H
#include <eikenv.h>
#include <eikon.hrh>
#include "SimpleEx.hrh"
#include <qikdocument.h>
#include <qikapplication.h>
#include <qikappui.h>
/*-------------------------------------------
The Application Class
--------------------------------------------*/
class CSimpleExApplication : public CQikApplication
{
private:
CApaDocument* CreateDocumentL();
TUid AppDllUid() const;
};
/*--------------------------------------------
The Application View Class
---------------------------------------------*/
class CSimpleExAppView : public CCoeControl
{
public:
static CSimpleExAppView* NewL(const TRect& aRect);
static CSimpleExAppView* CSimpleExAppView::NewLC(const TRect& aRect);
void ConstructL(const TRect& aRect);
private:
void Draw(const TRect&) const;
};
/*-----------------------------------------------
The UI Class
-----------------------------------------------*/
class CSimpleExAppUi : public CQikAppUi
{
public:
void ConstructL();
~CSimpleExAppUi();
private:
void HandleCommandL(TInt aCommand);
CSimpleExAppView* iAppView;
};
/*----------------------------------------------
The Application Document Class
----------------------------------------------*/
class CSimpleExDocument : public CQikDocument
{
public:
CSimpleExDocument(CEikApplication& aApp) : CQikDocument(aApp) { };
private:
CEikAppUi* CreateAppUiL();
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?