diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/pubsub_8h-source.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/pubsub_8h-source.html Tue Mar 30 11:56:28 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,78 +0,0 @@ - - -TB10.1 Example Applications: examples/Base/IPC/pubsub/pubsub.h Source File - - - - -

examples/Base/IPC/pubsub/pubsub.h

Go to the documentation of this file.
00001 // Copyright (c) 2008-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 // Contains the declaration of all constants and the security policy of the property
-00015 //
-00016 
-00017 
-00018 
-00022 #ifndef __PUBSUB_H__
-00023 #define __PUBSUB_H__
-00024 
-00025 #include <e32base.h>
-00026 #include <e32cons.h>
-00027 #include <e32property.h>
-00028 
-00029 const TUint KMyPropertyName = 0x0003;
-00030 const TUid KMyPropertyCat = {0x10034567};
-00031 
-00032 const TInt KArraySize = 10;
-00033 const TInt KBufSize = 20;
-00034 _LIT16(KStop,"STOP");
-00035 
-00036 const TInt KMax = 100;
-00037 const TInt KTimeInterval = 3000000;
-00038 
-00039 _LIT(KTxtEnter,"Press enter to publish\n");
-00040 _LIT(KTxtNewLine,"\n");
-00041 _LIT(KTxtSpecPublish,"****        PUBLISH [SPECULATIVE]        ****\n\n");
-00042 _LIT(KTxtCreateHandle,"Creating a handle to the property...\n");
-00043 _LIT(KTxtPublish,"Publishing the byte-array property...\n");
-00044 _LIT(KTxtArray,"Array contents:\n");
-00045 _LIT(KTxtArrayElement,"%x\t");
-00046 _LIT(KTxtNotFound,"Property Not Found\n");
-00047 _LIT(KTxtSpecSub,"*** SUBSCRIBER [SPECULATIVE]        ***\n");
-00048 _LIT(KTxtSpecSt,"*** SUBSCRIBER [STANDARD STATE]        ***\n");
-00049 _LIT(KTxtStPublish,"****        PUBLISH [STANDARD STATE]        ****\n\n");
-00050 _LIT(KTxtDefine,"Defining a byte-array property and allocating memory for the same...\n");
-00051 _LIT(KTxtValChange,"Value of the property : %d\n");
-00052 _LIT(KTxtPESub,"*** SUBSCRIBER [PURE EVENT] ***\n");
-00053 _LIT(KTxtPEPublish,"*** PUBLISHER [PURE EVENT] ***\n");
-00054 _LIT(KTxtInt,"Publishing : %d\n");
-00055 
-00056 
-00057 _LIT(KTxtEPOC32EX,"Project::Publish and Subscribe");
-00058 _LIT(KTxtExampleCode,"Publish and Subscribe Example");
-00059 _LIT(KFormatFailed,"failed: leave code=%d");
-00060 _LIT(KTxtOK,"ok");
-00061 _LIT(KTxtPressAnyKey," [press any key]");
-00062 
-00063 static _LIT_SECURITY_POLICY_PASS(KAllowAllPolicy);
-00064 
-00065 _LIT(KTextConsoleTitle, "Console");
-00066 _LIT(KTextFailed, " failed, leave code = %d");
-00067 _LIT(KTextPressAnyKey, " [press any key]\n");
-00068 
-00069 #endif
-

Generated on Thu Jan 21 10:32:56 2010 for TB10.1 Example Applications by  - -doxygen 1.5.3
- -