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

📄 focuseventappui.h

📁 用来学习 焦点 的 的例子,可以 好好看看焦点在 symbian中很重要,
💻 H
字号:
/*
* ==============================================================================
*  Name        : focuseventappui.h
*  Part of     : Focus event example
*  Interface   :
*  Description :
*  Version     :
*
*  Copyright (c) 2004 - 2006 Nokia Corporation.
*  This material, including documentation and any related
*  computer programs, is protected by copyright controlled by
*  Nokia Corporation.
* ==============================================================================
*/

#ifndef __FOCUSEVENT_APPUI_H__
#define __FOCUSEVENT_APPUI_H__

// INCLUDES
#include <aknappui.h>

// FORWARD DECLARATIONS
class CFocusEventAppView;
class CKeyCapturer;

// CLASS DECLARATION
/**
* CFocusEventAppUi application UI class.
* Interacts with the user through the UI and request message processing
* from the handler class
*/
class CFocusEventAppUi : public CAknAppUi
    {
    public: // Constructors and destructors

        /**
        * CFocusEventAppUi.
        * C++ default constructor. This needs to be public due to
        * the way the framework constructs the AppUi
        */
        CFocusEventAppUi();

        /**
        * ~CFocusEventAppUi.
        * Virtual Destructor.
        */
        virtual ~CFocusEventAppUi();

    public:  // Functions from base classes

        /**
        * From CAknAppUi, HandleForegroundEventL.
        * Handles a change of focus.
        * @param aForeground is ETrue is this application has focus.
        */
        void HandleForegroundEventL( TBool aForeground );

        /**
        * From CEikAppUi, HandleCommandL.
        * Takes care of command handling.
        * @param aCommand Command to be handled.
        */
        void HandleCommandL( TInt aCommand );
        
   public: // new function
   
        /**
        * BringToForeground
        */        
        void BringToForeground();
    
    private: // Constructors

        /**
        * ConstructL.
        * 2nd phase constructor.
        */
        void ConstructL();        
        
    private: // Data

        /**
        * The application view
        * Owned by CFocusEventAppUi
        */
        CFocusEventAppView* iAppView;
        CKeyCapturer* iCaptureKey;
    };

#endif // __FOCUSEVENT_APPUI_H__

// End of File

⌨️ 快捷键说明

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