lowlevellibsandfws/pluginfw/Framework/frame/DowngradePath.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // Copyright (c) 2002-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 _DOWNGRADEPATH_H_
       
    17 #define _DOWNGRADEPATH_H_
       
    18 
       
    19 #include <e32def.h>
       
    20 #include <e32std.h>
       
    21 #include <f32file.h>
       
    22 
       
    23 typedef RArray<TLanguage> Languages;
       
    24 
       
    25 /**
       
    26 This class is used to cache previously stored language settings.
       
    27 This is required for any subsequent call to RDowngradePath::HasChangedL
       
    28 as changes in language downgrade path means ECOM needs to do a rediscover
       
    29 of all the plugins to pick up the right language variant.
       
    30 * @internalComponent
       
    31 */
       
    32 class RDowngradePath
       
    33 	{
       
    34 private:
       
    35 	static Languages iCurrentLanguage;
       
    36 
       
    37 public:
       
    38 	static TBool HasChangedL(RFs& aFs);
       
    39 	static void Reset();
       
    40 	};
       
    41 
       
    42 #endif	// _DOWNGRADEPATH_H_