examples/Bluetooth/BTExample1/inc/cardgamerecv.h

00001 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 #ifndef CARDGAMERECV_H
00017 #define CARDGAMERECV_H
00018 
00019 #include <e32base.h>
00020 #include <in_sock.h>
00021 
00022 class CCardGameBase;
00023 
00029 class CCardGameRecv : public CActive
00030         {
00031 public:
00032         static CCardGameRecv* NewL(CCardGameBase& aParent, RSocket& aSocket);
00033         ~CCardGameRecv();
00034         void DoCancel();
00035         void RunL();
00036         void RecvFrom(TDes8& aDes);
00037         
00038 private:
00039         CCardGameRecv(CCardGameBase& aParent, RSocket& aSocket);
00040 
00041 private:
00042         CCardGameBase& iParent;
00043         RSocket& iSocket;
00044         TInetAddr iRecvAddr;
00045         
00046         };
00047         
00048 #endif // CARDGAMERECV_H

Generated on Thu Jan 21 10:32:57 2010 for TB10.1 Example Applications by  doxygen 1.5.3