diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_simple_2clientserver_8h-source.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_simple_2clientserver_8h-source.html Tue Mar 30 11:56:28 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,62 +0,0 @@ - -
-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 }; -