?? iapconnectprogressnotifier.h
字號:
/*
* ============================================================================
* Name : CIAPConnectProgressNotifier from IAPConnectProgressNotifier.h
* Part of : Internet Access Points Example v2.0
* Description:
* Decalares progress notifier class.
* Created : 01.09.2006 by Forum Nokia
* Version : 2.0
* Copyright: Forum Nokia
* ============================================================================
*/
#ifndef IAPCONNECT_PROGRESSNOTIFIER_H
#define IAPCONNECT_PROGRESSNOTIFIER_H
#include "IAPConnectStateObserver.h"
#include <e32base.h>
#include <Es_sock.h>
class CIAPConnectProgressNotifier : public CActive
{
public:
/*
* NewL()
*
* Create CIAPConnectProgressNotifier object
*
* Params:
* MIAPConnectStateObserver* aObserver State observer interface
* RConnection& aConnection Reference to the connection object
*
*/
static CIAPConnectProgressNotifier*
NewL(MIAPConnectStateObserver* aObserver, RConnection& aConnection);
/*
* NewLC()
*
* Create CIAPConnectProgressNotifier object and place to cleanup stack
*
* MIAPConnectStateObserver* aObserver State observer interface
* RConnection& aConnection Reference to the connection object
*
*/
static CIAPConnectProgressNotifier*
NewLC(MIAPConnectStateObserver* aObserver, RConnection& aConnection);
/*
* ~CIAPConnectProgressNotifier~()
*
* Destructor
*
*/
~CIAPConnectProgressNotifier();
/*
* SetState()
*
* Set internal State
*
* Params:
* TInt aState State to be set
*
*/
void SetState(TInt aState);
/*
* GetState()
*
* Get the internal state
*
* Returns:
* TInt Internal state
*
*/
TInt GetState() const;
protected: // from CActive
/*
* DoCancel()
*
* Cancel outstanding requests
*
*/
void DoCancel();
/*
* RunL()
*
* Handle request completion events
*
*/
void RunL();
private:
/*
* CIAPConnectProgressNotifier()
*
* Constructor
*
* Params:
* MIAPConnectStateObserver* aObserver State observer interface
* RConnection& aConnection Reference to the connection object
*
*/
CIAPConnectProgressNotifier(MIAPConnectStateObserver* aObserver,
RConnection& aConnection);
/*
* ConstructL()
*
* Second phase Constructor
*
*/
void ConstructL();
private:
// Member variables
TNifProgressBuf iProgress;
TInt iState;
RConnection& iConnection;
// Owned by CIAPConnectAppUi
MIAPConnectStateObserver* iObserver;
};
#endif // IAPCONNECT_PROGRESSNOTIFIER_H
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -