📄 soc.h
字号:
#include <ES_SOCK.H>
#include <e32base.h>
#include <gsmubuf.h>
#include <Gsmumsg.h>
class RFs;
class CSMSEngine:public CActive
{
public:
/**
* NewL.
* Two-phased constructor.
* Create a CSMSEngine object
* @return a pointer to the created instance of CSMSEngine.
*/
static CSMSEngine* NewL();
/**
* NewLC.
* Two-phased constructor.
* Create a CSMSEngine object
* @return A pointer to the created instance of CSMSEngine.
*/
static CSMSEngine* NewLC();
/**
* ~CSMSEngine
* Virtual Destructor.
*/
virtual ~CSMSEngine();
private:
/**
* CSMSEngine.
* C++ default constructor.
*/
CSMSEngine();
void ConstructL();
//From CActive
void RunL();
void DoCancel();
public:
void SocketListen();
private://Data
CSmsMessage* iSmsMessage;
RSocketServ iSocketServer;
RSocket iSocket;
RFs iFs;
TBool iRead;
TPckgBuf<TUint> iPckgBuf;
TBuf<255> iBuf;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -