?? socketengine.h
字號(hào):
/*
============================================================================
Name : SocketEngine.h
Author :
Version : 1.0
Copyright : Your copyright notice
Description : CSocketEngine declaration
============================================================================
*/
#ifndef SOCKETENGINE_H
#define SOCKETENGINE_H
// INCLUDES
#include <e32std.h>
#include <e32base.h>
#include "ES_SOCK.H"
// CLASS DECLARATION
/**
* CSocketEngine
*
*/
class CSocketEngine : public CBase
{
public:
// Constructors and destructor
/**
* Destructor.
*/
~CSocketEngine();
/**
* Two-phased constructor.
*/
static CSocketEngine* NewL();
/**
* Two-phased constructor.
*/
static CSocketEngine* NewLC();
private:
/**
* Constructor for performing 1st stage construction
*/
CSocketEngine();
/**
* EPOC default constructor for performing 2nd stage construction
*/
void ConstructL();
private:
RSocketServ iSocketServ;
RSocket iSocket;
HBufC8* iRecvData;
public:
void InitL();
void ConnectL();
void SendInfoL();
void RecvInfoL();
inline const TDesC8& RecvData() const
{
return *iRecvData;
}
};
#endif // SOCKETENGINE_H
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -