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

📄 simpleex.h

📁 EMCC源代码 Symbian S60第二版
💻 H
字号:
// SimpleEx.h
//
// Copyright (c) Symbian Software Ltd 1999 - 2007.  All rights reserved.
//

#ifndef __SIMP_H
#define __SIMP_H

/*==========================================
   S60 SimpleEx Header File
==========================================*/

#include <eikenv.h>

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

#include <akndoc.h>
#include <aknapp.h>
#include <aknappui.h>
#include "SimpleExUid.h"

class CCountdown;
class CSimpleExAppView;

_LIT(KSimpleExText,"Simple Example AO");
const TUid KUidSimpleExApp = {SIMPLEEXUID};

// The Application Class 

class CSimpleExApplication : public CAknApplication
	{
private: 
	CApaDocument* CreateDocumentL();
	TUid AppDllUid() const;
	};
	
// The UI Class
class CSimpleExAppUi : public CAknAppUi
    {
public:
    void ConstructL();
	~CSimpleExAppUi();
private:        
	void HandleCommandL(TInt aCommand);
private:
	CSimpleExAppView* iAppView;
    CCountdown *iCountdown;
    };

// 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);
    void UpdateScreenText(const TDesC16& aText);
private:
	TBuf<100> iScreenText;
	void Draw(const TRect&) const;
    };

// The Application Document Class
 
class CSimpleExDocument : public CAknDocument
	{
public:
	CSimpleExDocument(CEikApplication& aApp): CAknDocument(aApp) { }
private: 
	CEikAppUi* CreateAppUiL();
	};


#endif

⌨️ 快捷键说明

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