examples/SFExamples/Symbian_OS_Explained_Hercules-v9_Example_Code/inc/client.h

00001 // 
00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
00003 // All rights reserved.
00004 // This component and the accompanying materials are made available
00005 // under the terms of the License "Eclipse Public License v1.0"
00006 // which accompanies this distribution, and is available
00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 // 
00009 // Initial Contributors:
00010 // Nokia Corporation - initial contribution.
00011 // 
00012 // Contributors:
00013 // 
00014 // Description:
00015 // 
00016 // client.h
00017 // Transient server example - client interface
00018 
00019 #ifndef CLIENT_H__
00020 #define CLIENT_H__
00021 
00022 #include <e32base.h>
00023 
00024 // Forward declarations
00025 // The actual class declarations must be
00026 // accessible to both client and server code
00027 class CHerculesData;
00028 struct THydraData;
00029 
00030 class RHerculesSession : public RSessionBase
00031         {
00032 public:
00033         IMPORT_C TInt Connect();
00034 public:
00035         IMPORT_C TInt SlayNemeanLion(const TDesC8& aDes, TInt aVal);
00036         IMPORT_C TInt SlayHydra(THydraData& aData);
00037         IMPORT_C TInt CaptureCeryneianHind(TInt& aCaptureCount);
00038         IMPORT_C TInt SlayErymanthianBoar(const CHerculesData& aData);
00039         IMPORT_C void CleanAugeanStables(TRequestStatus& aStatus);
00040         IMPORT_C void CancelCleanAugeanStables();
00041         IMPORT_C void SlayStymphalianBirds(TInt aCount, TDes8& aData, TRequestStatus& aStatus);
00042         IMPORT_C void CancelSlayStymphalianBirds();
00043         };
00044 
00045 #endif // CLIENT_H
00046 
00047 

Generated by  doxygen 1.6.2