httpclientappui.h
来自「《基于Symbian OS的手机开发与应用实践》这本书的配套源码。」· C头文件 代码 · 共 72 行
H
72 行
/*
* ============================================================================
* 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 + =
减小字号Ctrl + -
显示快捷键?