📄 httpexampleappui.h
字号:
#ifndef HTTPEXAMPLEAPPUI_H
#define HTTPEXAMPLEAPPUI_H
// INCLUDES
// System Includes
#include <aknappui.h> // CAknAppUi
#include <aknprogressdialog.h> // MProgressDialogCallback
// User Includes
#include "HTTPExampleEngine.h" // MHTTPExampleEngineObserver
#include "HTTPExample.hrh" // EMaxUrlLength
// FORWARD DECLARATIONS
class CAknWaitDialog;
class CHTTPExampleContainer;
// CONSTANTS
// CLASS DECLARATION
/**
*
* @class CHTTPExampleAppUi HTTPExampleAppUi.h
* @brief This is the main application UI class for a Hello World example based on the
* standard Symbian OS architecture.
*
* It provides support for the EIKON control architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class CHTTPExampleAppUi : public CAknAppUi,
public MHTTPExampleEngineObserver/*,
public MProgressDialogCallback*/
{
public: // Constructors and destructor
void ConstructL();
~CHTTPExampleAppUi();
private: // from CEikAppUi
void HandleCommandL(TInt aCommand);
private: // from MHTTPExampleEngineObserver
virtual void ResponseStatusL(TInt aStatusCode, const TDesC& aStatusText);
virtual void ResponseReceivedL(const TDesC& aResponse);
/*
private: // from MProgressDialogCallback
virtual void DialogDismissedL (TInt aButtonId);
*/
private:
TBool PromptForUriL();
TBool PromptForNameL();
// void StartWaitDialogL();
private: //Data
CHTTPExampleContainer* iAppContainer;
CHTTPExampleEngine* iEngine;
// CAknWaitDialog* iWaitDialog;
TBuf<EMaxUrlLength> iUri;
TBuf<EMaxNameLength> iName;
};
#endif // #ifndef HTTPEXAMPLEAPPUI_H
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -