gdpbad.h
来自「Symbian mobile os C++ GSDP编程」· C头文件 代码 · 共 33 行
H
33 行
// gdpbad.h
//
// Copyright (c) 2000 Symbian Ltd. All rights reserved.
//
#ifndef __GDPBAD_H__
#define __GDPBAD_H__
#include <gdp.h>
const TUid KGdpEvilUid = {0x101F8B56};
// game datagram protocol - evil
/*
class CGdpEvil
*/
class CGdpEvil : public CGdpSession
{
public:
CGdpEvil();
~CGdpEvil();
static CGdpSession* NewL();
// from MGdpSession
void OpenL(MGdpPacketHandler* aHandler); // start up, and set handler for packets received
void SendL(const TDesC8& aToAddress, const TDesC8& aData); // send packet
void ReceiveAllL(); // do a pull if necessary
TInt GetMaxPacketLength() const; // max packet length
TBool IsNetworked() const; // if not point-to-point, then preserves addresses
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?