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

📄 example_e1122138.h

📁 symbian快捷方式添加的实例.3版的例子,添加快捷方式.
💻 H
字号:

#ifndef __EXAMPLE_APPUI_H__
#define __EXAMPLE_APPUI_H__

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

#include <CScShortcutEngineWrapper.h>
#include <MScShortcutEngineWrapperObserver.h>


const TUid KUidExampleApp = {0xE1122138};


class CMyMainScreen;
class CMySplashScreen;
	
/*! 
  @class CExampleAppUi
  
  @discussion An instance of class CExampleAppUi is the UserInterface part of the AVKON
  application framework for the HelloWorldBasic example application
  */
class CExampleAppUi : public CAknAppUi,public MScShortcutEngineWrapperObserver
    {
public:
    void ConstructL();
    CExampleAppUi();
    ~CExampleAppUi();
public: // from CAknAppUi
    void HandleCommandL(TInt aCommand);
    void ShowNoteL(const TDesC& aMessage);
    void HandleStatusPaneSizeChange();
protected:
	void HandleShortcutEvent( TScShortcutEvent aEvent );
    void HandleShortcutError( TScShortcutEvent aEvent, TInt aError );
private:
	CScShortcutEngineWrapper* 			iScWrapper;
    RPointerArray<CScWrapperShortcut> 	iScArray;
    CMySplashScreen*					iMySplashScreen;
    CMyMainScreen*						iMyMainScreen;
	};
    
/*! 
  @class CExampleDocument
  
  @discussion An instance of class CExampleDocument is the Document part of the AVKON
  application framework for the HelloWorldBasic example application
  */
class CExampleDocument : public CAknDocument
    {
public:
    static CExampleDocument* NewL(CEikApplication& aApp);
    static CExampleDocument* NewLC(CEikApplication& aApp);
    ~CExampleDocument();
public: // from CAknDocument
    CEikAppUi* CreateAppUiL();
private:
    void ConstructL();
    CExampleDocument(CEikApplication& aApp);
    };

/*! 
  @class CExampleApplication
  
  @discussion An instance of CExampleApplication is the application part of the AVKON
  application framework for the HelloWorldBasic example application
  */
class CExampleApplication : public CAknApplication
    {
public:  // from CAknApplication
    TUid AppDllUid() const;
protected: // from CAknApplication
    CApaDocument* CreateDocumentL();
    };


#endif // __EXAMPLE_APPUI_H__

⌨️ 快捷键说明

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