iapconnectwaitdialog.h

来自「Simple Jabber Client for Symbian Platfor」· C头文件 代码 · 共 76 行

H
76
字号
/*
* ============================================================================
*  Name     : CIAPConnectWaitDialog from IAPConnectWaitDialog.h
*  Part of  : IAPConnect
*  Created  : 07.11.2002 
*  Description:
*     Declares wait dialog control class for application
*  Version  : 1.0
*  Copyright: 
* ============================================================================
*/

#ifndef IAPCONNECTWAITDIALOG_H
#define IAPCONNECTWAITDIALOG_H

// INCLUDES
#include <e32base.h>
#include <AknWaitDialog.h>

// FORWARD DECLARATIONS
class CIAPConnectEngine;
class RTimer;

// CLASS DECLARATION

/**
*  CIAPConnectWaitDialog  Controls wait dialog during connection initiation  
*/
class CIAPConnectWaitDialog : public CActive, public MProgressDialogCallback 
{
public:

    // Creates a CIAPConnectEngine object
    static CIAPConnectWaitDialog* NewL(CIAPConnectEngine* aEngine);

    // Creates a CIAPConnectEngine object and puts the pointer in to
    // the Cleanup Stack
    static CIAPConnectWaitDialog* NewLC(CIAPConnectEngine* aEngine);

    // Destructor
    ~CIAPConnectWaitDialog();

    // Shows the dialog
    void ShowDialogL(TInt aState);

    // Dismisses the dialog
    void DismissDialogL();

protected: // from CActive

    // Responds to events
    void RunL();

    // Cancels any outstanding requests
    void DoCancel();

    // Called when dialog is dismissed
    void DialogDismissedL(TInt aButtonId);

private:
    
    // Constructor
    CIAPConnectWaitDialog(CIAPConnectEngine* aEngine);
    // Second phase constructor
    void ConstructL();

private:

    RTimer				iTimer;
    CAknWaitDialog*		iWaitDialog;		    // Owns
    CIAPConnectEngine*	iEngine;				// Owned by CIAPConnectAppUi
};

#endif // IAPCONNECTWAITDIALOG_H

⌨️ 快捷键说明

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