?? taskmanagerconnectionopener.h
字號(hào):
/*
* ============================================================================
* Name : CTaskManagerConnectionOpener from TaskManagerConnectionOpener.h
* Part of : TaskManager
* Created : 08/31/2005 by Forum Nokia
* Version : 1.1
* Copyright: Nokia Corporation
* ============================================================================
*/
#ifndef __TASKMANAGERCONNECTIONOPENER_H
#define __TASKMANAGERCONNECTIONOPENER_H
// INCLUDE FILES
#include <e32base.h>
#include <Es_sock.h> // RConnection
#include <commdbconnpref.h> // TCommDbConnPref
// FORWARD DECLARATIONS
class MConnectionObserver;
// CLASS DECLARATION
/**
* An active object class for establishing a GPRS connection.
*/
class CTaskManagerConnectionOpener : public CActive
{
public: // Constructors and destructor
/**
* Two-phased constructor
*/
static CTaskManagerConnectionOpener* NewL(RConnection& aConnection, MConnectionObserver& aConnObserver);
/**
* Destructor
*/
~CTaskManagerConnectionOpener();
public: // New functions
/**
* Begins the GPRS connection establishment.
* @param aPrefs the settings for the GPRS connection establishment.
*/
void OpenConnection(TCommDbConnPref& aPrefs);
private:
/**
* Symbian OS default constructor
*/
CTaskManagerConnectionOpener(RConnection& aConnection, MConnectionObserver& aConnObserver);
void ConstructL();
private: // Functions from base classes
/**
* From CActive
*/
void RunL();
/**
* From CActive
*/
void DoCancel();
private: // Data members
RConnection& iConnection;
MConnectionObserver& iConnObserver;
};
#endif
// End of file
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -