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 #include <e32base.h> 00017 00018 00019 // server name 00020 00021 _LIT(KCountServerName,"CountServer"); 00022 00023 // A version must be specified when creating a session with the server 00024 00025 const TUint KCountServMajorVersionNumber=0; 00026 const TUint KCountServMinorVersionNumber=1; 00027 const TUint KCountServBuildVersionNumber=1; 00028 00029 IMPORT_C TInt StartThread(RThread& aServerThread); 00030 00031 00032 // Function codes (opcodes) used in message passing between client and server 00033 enum TCountServRqst 00034 { 00035 ECountServCreate = 1, 00036 ECountServSetFromString, 00037 ECountServClose, 00038 ECountServUnsupportedRequest, 00039 ECountServIncrease, 00040 ECountServIncreaseBy, 00041 ECountServDecrease, 00042 ECountServDecreaseBy, 00043 ECountServValue, 00044 ECountServReset 00045 }; 00046 00047 enum TCountServLeave 00048 { 00049 ENonNumericString = 99 00050 };
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.