examples/Base/IPC/ClientServer/Complex/ComplexClientAndServer.h

00001 // Copyright (c) 2000-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 #if !defined(__ComplexClientAndServer_H__)
00017 #define __ComplexClientAndServer_H__
00018 
00019 #include <e32base.h>
00020 
00021 //server name
00022 
00023 _LIT(KCountServerName,"MultiCountServer");
00024 
00025 //the server version. A version must be specifyed when creating a session with the server
00026 const TUint KCountServMajorVersionNumber=0;
00027 const TUint KCountServMinorVersionNumber=1;
00028 const TUint KCountServBuildVersionNumber=1;
00029 
00030 //
00031 IMPORT_C TInt StartThread(RThread& aServerThread);
00032 
00033 
00034 //opcodes used in message passing between client and server
00035 enum TCountServRqst
00036         {
00037         ECountServCreateSubSession = 1,
00038         ECountServCloseSubSession,
00039         ECountServInitSubSession,
00040         ECountServCloseSession,
00041         ECountServIncrease,
00042         ECountServIncreaseBy,
00043         ECountServDecrease,
00044         ECountServDecreaseBy,
00045         ECountServValue,
00046         ECountServReset,
00047         ECountServResourceCountMarkStart,
00048         ECountServResourceCountMarkEnd,
00049         ECountServResourceCount
00050         };
00051 
00052 
00053 enum TCountServLeave
00054     {
00055         ENonNumericString = 99
00056     };
00057     
00058 #endif    

Generated by  doxygen 1.6.2