?? 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 + -