examples/Base/IPC/condvar/condvarglobal/inc/sharedmem.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 constants needed by the source files of the example.
00015 //
00016 
00017 
00018 
00022 #ifndef __SHAREDMEM_H__
00023 #define __SHAREDMEM_H__
00024 
00025 #include <e32property.h>
00026 #include <e32base.h>
00027 #include <e32cons.h>
00028 #include <e32std.h>
00029 #include <e32math.h>
00030 
00031 _LIT(KChunkName,"chunk");
00032 _LIT(KMutexName,"mutex");
00033 _LIT(KCondVarName,"condvar");
00034 
00035 _LIT(KTxtEPOC32EX,"EXAMPLES");
00036 _LIT(KTxtExampleCode,"Symbian platform Example Code");
00037 _LIT(KFormatFailed,"failed: leave code=%d");
00038 _LIT(KTxtOK,"ok");
00039 _LIT(KTxtPressAnyKey," [press any key]");
00040 
00044 const TInt KChunkSize = 1;
00045 
00049 const TInt KLowerThreshold = 10;
00050 
00054 const TInt KUpperThreshold = 20;
00055 
00059 const TInt KMaxValue = 30;
00060 
00064 const TInt KMinValue = 0;
00065 #endif

Generated by  doxygen 1.6.2