epoc32/include/stringpool.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    15 
    15 
    16 #ifndef __STRINGPOOL_H__
    16 #ifndef __STRINGPOOL_H__
    17 #define __STRINGPOOL_H__ 
    17 #define __STRINGPOOL_H__ 
    18 
    18 
    19 #include <e32base.h>
    19 #include <e32base.h>
    20 #include <stringtablesupport.h>
    20 
    21 #include <stringpoolerr.h>
    21 
    22 
    22 struct TStringTable;
    23 class RStringF;
    23 class RStringF;
    24 class RString;
    24 class RString;
    25 class RStringToken;
    25 class RStringToken;
    26 class RStringTokenF;
    26 class RStringTokenF;
    27 class MStringPoolCloseCallBack;
    27 class MStringPoolCloseCallBack;
    35 closes.
    35 closes.
    36 @publishedAll
    36 @publishedAll
    37 @released
    37 @released
    38 */
    38 */
    39 	{
    39 	{
    40 	///Implement this function to perform some operation when the string pool is being closed
    40 	//Implement this function to perform some operation when the string pool is being closed
    41 	public:
    41 	public:
    42 	/** Called when the string pool is about to close. */
    42 	/** Called when the string pool is about to close. */
    43 		virtual void StringPoolClosing()=0;
    43 		virtual void StringPoolClosing()=0;
    44 	};
    44 	};
    45 
    45 
   268 @released
   268 @released
   269 */
   269 */
   270 
   270 
   271 struct TStringTable
   271 struct TStringTable
   272 	{
   272 	{
   273 	/// The number of elements in the table
   273 	// The number of elements in the table
   274 	/** The number of elements in the table. */
   274 	/** The number of elements in the table. */
   275 	TUint iCount;
   275 	TUint iCount;
   276 	/// A pointer to an array of pointers to the strings
   276 	// A pointer to an array of pointers to the strings
   277 	/** A pointer to an array of pointers to the strings. */
   277 	/** A pointer to an array of pointers to the strings. */
   278 	const void* const * iTable;	
   278 	const void* const * iTable;	
   279 
   279 
   280 	/// ETrue if the table should be considered case-sensitive.
   280 	// ETrue if the table should be considered case-sensitive.
   281 	/** Flag that is ETrue if the table should be considered case-sensitive, otherwise 
   281 	/** Flag that is ETrue if the table should be considered case-sensitive, otherwise 
   282 	EFalse. */
   282 	EFalse. */
   283 	TBool iCaseSensitive;
   283 	TBool iCaseSensitive;
   284 	};
   284 	};
   285 
   285 
   286 // Include the inline functions
   286 // Include the inline functions
   287 #include <stringpool.inl>
   287 #include <stringpool.inl>
   288 
   288 
   289 #endif // __STRINGPOOL_H__
   289 #endif // __STRINGPOOL_H__
       
   290 
       
   291