sl@0: // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: #ifndef _DOWNGRADEPATH_H_ sl@0: #define _DOWNGRADEPATH_H_ sl@0: sl@0: #include sl@0: #include sl@0: #include sl@0: sl@0: typedef RArray Languages; sl@0: sl@0: /** sl@0: This class is used to cache previously stored language settings. sl@0: This is required for any subsequent call to RDowngradePath::HasChangedL sl@0: as changes in language downgrade path means ECOM needs to do a rediscover sl@0: of all the plugins to pick up the right language variant. sl@0: * @internalComponent sl@0: */ sl@0: class RDowngradePath sl@0: { sl@0: private: sl@0: static Languages iCurrentLanguage; sl@0: sl@0: public: sl@0: static TBool HasChangedL(RFs& aFs); sl@0: static void Reset(); sl@0: }; sl@0: sl@0: #endif // _DOWNGRADEPATH_H_