?? httpconnectionopener.h
字號:
/*
* ============================================================================
* Name : CTaskManagerConnectionOpener from TaskManagerConnectionOpener.h
* Part of : TaskManager
* Created : 03/13/2005 by Forum Nokia
* Version : 1.2
* Copyright: Nokia Corporation
* ============================================================================
*/
#ifndef __HTTPCONNECTIONOPENER_H
#define __HTTPCONNECTIONOPENER_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 CHttpConnectionOpener : public CActive
{
public: // Constructors and destructor
/**
* Two-phased constructor
*/
static CHttpConnectionOpener* NewL(RConnection& aConnection, MConnectionObserver& aConnObserver);
/**
* Destructor
*/
~CHttpConnectionOpener();
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
*/
CHttpConnectionOpener(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
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -