httpexampleappui.h

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C头文件 代码 · 共 70 行

H
70
字号
#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 + =
减小字号Ctrl + -
显示快捷键?