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

📄 httpclientappui.h

📁 Symbian S60 Http引擎 很好的例程。带有注释。分享了!
💻 H
字号:
/*
* ============================================================================
*  Name     : CHttpClientAppUi from HttpClientAppui.h
*  Part of  : HttpClient
*  Created  : 07.03.2006 by ToBeReplacedByAuthor
*  Description:
*     Declares UI class for application.
*  Version  :
*  Copyright: ToBeReplacedByCopyright
* ============================================================================
*/

#ifndef HTTPCLIENTAPPUI_H
#define HTTPCLIENTAPPUI_H

// INCLUDES
#include <aknappui.h>

#include "HttpClientEngine.h"

// FORWARD DECLARATIONS
class CHttpClientContainer;


// CLASS DECLARATION

/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
* 
*/
class CHttpClientAppUi : public CAknAppUi, public CHttpClientEngine::MObserver
    {
    public: // // Constructors and destructor

        /**
        * EPOC default constructor.
        */      
        void ConstructL();

        /**
        * Destructor.
        */      
        ~CHttpClientAppUi();
        
    public: // New functions

    public: // Functions from CHttpClientEngine::MObserver
        void OnHeaderL(TInt aStatusCode, const TDesC& aStatusText);
        void OnBodyL(const TDesC& aBody);

    private:
        // From MEikMenuObserver
        void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);

    private:
        /**
        * From CEikAppUi, takes care of command handling.
        * @param aCommand command to be handled
        */
        void HandleCommandL(TInt aCommand);

    private: //Data
        CHttpClientContainer* iAppContainer; 
        CHttpClientEngine* iEngine;
    };

#endif

// End of File

⌨️ 快捷键说明

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