diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/threadclientserver_8h_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/threadclientserver_8h_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,75 @@ + + + + +TB9.2 Example Applications: examples/Base/IPC/AdvancedClientServerExample/ThreadServer/inc/threadclientserver.h Source File + + + + + +

examples/Base/IPC/AdvancedClientServerExample/ThreadServer/inc/threadclientserver.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 // shared client/server definitions.
+00015 //
+00016 
+00017 #include <e32std.h>
+00018 
+00019 #ifndef __THREAD_CLIENT_SERVER_H__
+00020 #define __THREAD_CLIENT_SERVER_H__
+00021 
+00022 // Stores the size of the new thread's stack.
+00023 const TInt KThreadServerStackSize=0x2000;
+00024 
+00025 // Stores the maximum length of the message where client data can be written. 
+00026 const TInt KThreadServerMaxMessageLen=100;
+00027 
+00028 // Stores the minimum size of the new thread's heap.
+00029 const TInt KThreadServerInitHeapSize=0x1000;            //  4KB
+00030 
+00031 // Store the maximum size of the new thread's heap. 
+00032 const TInt KThreadServerMaxHeapSize=0x1000000;          // 16MB
+00033 
+00037 enum TThreadServerRequest
+00038         {
+00039         EThreadServerLoadDeviceDriver,
+00040         EThreadServerUnloadDeviceDriver,
+00041         EThreadServerOpenDriver,
+00042         EThreadServerSendData,
+00043         EThreadServerSendDataCancel
+00044         };
+00045 
+00046 _LIT(KThreadServerDriverLddFileName,"DRIVER1_LDD");
+00047 _LIT(KThreadServerDriverPddFileName,"DRIVER1_PDD");
+00048 
+00049 _LIT(KThreadServerName,"ThreadServer");
+00050 
+00051 _LIT(KThreadServerServerImg, "ThreadServer");
+00052 
+00053 // Stores the major version number. This must be a number in the range 0 to 127.
+00054 const TUint KThreadServerVersion=8;
+00055 
+00056 // Stores the minor version number. This must be a number in the range 0 to 99.
+00057 const TUint KThreadServerMinorVersionNumber=0;
+00058 
+00059 // Stores the build number. This must be a number in the range 0 to 32,767.
+00060 const TUint KThreadServerBuildVersionNumber=1;
+00061 
+00062 #endif //__THREAD_CLIENT_SERVER_H__
+
+
Generated by  + +doxygen 1.6.2
+ +