📄 gdpbad.cpp
字号:
// gdpbad.cpp
//
// Copyright (c) 2000 Symbian Ltd. All rights reserved.
//
#include "gdpbad.h"
#include <ImplementationProxy.h>
#include <ecom.h>
// game datagram protocol - evil test one
CGdpEvil::CGdpEvil()
{
}
CGdpEvil::~CGdpEvil()
{
REComSession::DestroyedImplementation(iDtor_ID_Key);
}
void CGdpEvil::OpenL(MGdpPacketHandler* /*aHandler*/) // start up, and set handler for packets received
{
}
void CGdpEvil::SendL(const TDesC8& /*aToAddress*/, const TDesC8& /*aData*/) // send packet
{
}
void CGdpEvil::ReceiveAllL() // do a pull if necessary
{
}
TInt CGdpEvil::GetMaxPacketLength() const
{
return 0;
}
TInt CGdpEvil::IsNetworked() const
{
return EFalse;
}
CGdpSession* CGdpEvil::NewL()
{
User::Leave(KErrNotSupported);
return 0;
}
// Define the interface UIDs
const TImplementationProxy ImplementationTable[] =
{
{{0x101F8B56}, CGdpEvil::NewL},
};
EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
{
aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
return ImplementationTable;
}
TInt E32Dll(TDllReason)
{
return KErrNone;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -