examples/Bluetooth/BTExample1/inc/cardgameplayer.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 CARDGAMEPLAYER_H
00017 #define CARDGAMEPLAYER_H
00018 
00019 #include "cardgamebase.h"
00020 
00026 class CCardGamePlayer : public CCardGameBase
00027         {
00028 public:
00029         ~CCardGamePlayer()
00030                 {
00031                 }
00032         
00033 protected:
00034         void ConstructL(RSocket& aSocket)
00035                 {
00036                 CCardGameBase::ConstructL(aSocket);
00037                 }
00038 public:
00039         // pure virtuals to be implemented by derived classes
00040         // these are from CCardGameBase but we dont want them
00041         virtual void SendComplete(TInt aError) = 0;
00042         virtual void RecvComplete(TInetAddr aRecvAddr,TInt aError) = 0;
00043         virtual void TimerComplete() = 0;
00044 
00045         };
00046         
00047 #endif // CARDGAMEPLAYER_H
00048 

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