examples/Bluetooth/BTExample1/inc/cardgamesend.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 CARDGAMESEND_H
00017 #define CARDGAMESEND_H
00018 
00019 #include <e32base.h>
00020 #include <in_sock.h>
00021 
00022 class CCardGameBase;
00023 
00029 class CCardGameSend : public CActive
00030         {
00031 public:
00032         static CCardGameSend* NewL(CCardGameBase& aParent, RSocket& aSocket);
00033         ~CCardGameSend();
00034         void DoCancel();
00035         void RunL();
00036         void SendTo(TDesC8& aDes, TInetAddr aAddr);
00037         
00038 private:
00039         CCardGameSend(CCardGameBase& aParent, RSocket& aSocket);
00040 
00041 private:
00042         CCardGameBase& iParent;
00043         RSocket& iSocket;
00044         
00045         };
00046         
00047 #endif // CARDGAMESEND_H

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