examples/Base/IPC/AdvancedClientServerExample/ThreadClient/inc/threadclient.h

00001 // Copyright (c) 2007-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 __THREADCLIENT_H__
00017 #define __THREADCLIENT_H__
00018 
00019 #include <e32base.h>
00020 #include <e32std.h>
00021 
00025 class RThreadClient : public RSessionBase
00026         {
00027 public:
00031         IMPORT_C TInt Connect();
00035         IMPORT_C TInt OpenDriver();
00039         IMPORT_C void Send(const TDesC8& aBuf, TRequestStatus& aStatus);
00043         IMPORT_C void SendCancel();
00047         IMPORT_C TInt UnloadDeviceDriver();
00051         IMPORT_C TInt LoadDeviceDriver();
00052         };
00053 
00054 #endif

Generated by  doxygen 1.6.2