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

📄 socketsappui.h

📁 Symbian 手机网络通信程序 sockets-vc
💻 H
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */


#ifndef __SOCKETSAPPUI_H__
#define __SOCKETSAPPUI_H__

// INCLUDES
#include <aknappui.h>

// FORWARD DECLARATIONS
class CSocketsAppView;
class CSocketsEngine;

// CLASS DECLARATION
/**
* CSocketsAppUi
*  An instance of class CSocketsAppUi is the UserInterface part of the AVKON
*  application framework for the Sockets example application.
*/
class CSocketsAppUi : public CAknAppUi
    {
    public: // Constructors and destructors

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

        /**
        * ~CSocketsAppUi.
        * Destructor.
        * Destroys the object and release all memory objects.
        */
        virtual ~CSocketsAppUi();


    public: // Functions from base classes

        /**
        * From MEikMenuPaneObserver, DynInitMenuPaneL.
        * Initialises a menu pane before it is displayed.
        * @param aMenuId Id of menu.
        * @param aMenuPane Handle for menu pane.
        */
        void DynInitMenuPaneL( TInt aMenuId, CEikMenuPane* aMenuPane );

    private: // Constructors and destructors

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

    private: // Functions from base classes

        /**
        * From CEikAppUi, HandleCommandL.
        * Handles user menu selections.
        * @param aCommand The enumerated code for the option selected.
        */
        void HandleCommandL( TInt aCommand );

        /**
        * From CEikAppUi, HandleKeyEventL.
        * Handles user key input.
        * @param aKeyEvent event information
        * @param aType event type
        * @return EKeyWasConsumed
        */
        TKeyResponse HandleKeyEventL( const TKeyEvent& aKeyEvent,
                                      TEventCode aType );

    private: // Data

        /**
        * iAppView, the application view.
        * Owned by CSocketsAppUi object.
        */
        CSocketsAppView*    iAppView;

        /**
        * iSocketsEngine, an RSocket wrapper to do the work for this example.
        * Owned by CSocketsAppUi object.
        */
        CSocketsEngine*     iSocketsEngine;
    };


#endif // __SOCKETSAPPUI_H__

// End of File

⌨️ 快捷键说明

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