xml/xmlfw/inc/stringdictionarycollection.h
changeset 0 e35f40988205
equal deleted inserted replaced
-1:000000000000 0:e35f40988205
       
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __STRINGDICTIONARYCOLLECTION_H__
       
    17 #define __STRINGDICTIONARYCOLLECTION_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 
       
    21 class RStringPool;
       
    22 class RString;
       
    23 class TDesC8;
       
    24 
       
    25 namespace Xml
       
    26 {
       
    27 
       
    28 class MStringDictionary;
       
    29 class RStringDictionaryCollectionImpl;
       
    30 
       
    31 
       
    32 class RStringDictionaryCollection
       
    33 /**
       
    34 The RStringDictionaryCollection class holds a collection of Dictionaries requested by the user.
       
    35 
       
    36 @publishedAll
       
    37 @released
       
    38 */
       
    39 	{
       
    40 public:
       
    41 	IMPORT_C void OpenL();
       
    42 	IMPORT_C void Close();
       
    43 
       
    44 	IMPORT_C RStringDictionaryCollection();
       
    45 
       
    46 	IMPORT_C void OpenDictionaryL(const TDesC8& aDictionaryDescription);
       
    47 
       
    48 	IMPORT_C RStringPool& StringPool();
       
    49 
       
    50 	IMPORT_C MStringDictionary& CurrentDictionaryL() const;
       
    51 		
       
    52 private:
       
    53 
       
    54 	RStringDictionaryCollection(const RStringDictionaryCollection& aOriginal);
       
    55 	RStringDictionaryCollection& operator=(const RStringDictionaryCollection& aRhs);
       
    56 	void CreateImplL();
       
    57 
       
    58 private:
       
    59 
       
    60 /**
       
    61 Hide the implementation details.
       
    62 */
       
    63 	RStringDictionaryCollectionImpl*	iImpl;
       
    64 	};
       
    65 
       
    66 }
       
    67 
       
    68 #endif //__STRINGDICTIONARYCOLLECTION_H__