simpleex.h

来自「Developing.Software.for.Symbian.OS 书籍配套源」· C头文件 代码 · 共 85 行

H
85
字号

#ifndef __SIMP_H
#define __SIMP_H

/*==========================================
    UIQ SimpleEx Header File
==========================================*/

#include <eikenv.h>

#include <eikon.hrh>
#include "simpleEx.hrh"

#include <qikdocument.h>
#include <qikapplication.h>
#include <qikappui.h>
#include <e32cons.h>
#include <eikconso.h>
#include "weatherinfo.h"


// The Application Class 

class CSimpleExApplication : public CQikApplication
{
private: 

	CApaDocument* CreateDocumentL();
	TUid AppDllUid() const;

};

// The UI Class

class CSimpleExAppUi : public CQikAppUi
    {
public:
    void ConstructL();
	~CSimpleExAppUi();

private:
            
	void HandleCommandL(TInt aCommand);
	
public:

private:
	CCoeControl* iAppView;

    CWeatherInfo *iWeather;
};

// 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 Application Document Class
 
class CSimpleExDocument : public CQikDocument
	{
public:

	CSimpleExDocument(CEikApplication& aApp) : CQikDocument(aApp) { };

private: 

	CEikAppUi* CreateAppUiL();
};


#endif

⌨️ 快捷键说明

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