lowlevellibsandfws/pluginfw/Framework/frame/DowngradePath.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 08:38:54 +0300
changeset 63 a117ad66e027
parent 0 e4d67989cc36
permissions -rw-r--r--
Revision: 201037 Kit: 201037

// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

#ifndef _DOWNGRADEPATH_H_
#define _DOWNGRADEPATH_H_

#include <e32def.h>
#include <e32std.h>
#include <f32file.h>

typedef RArray<TLanguage> Languages;

/**
This class is used to cache previously stored language settings.
This is required for any subsequent call to RDowngradePath::HasChangedL
as changes in language downgrade path means ECOM needs to do a rediscover
of all the plugins to pick up the right language variant.
* @internalComponent
*/
class RDowngradePath
	{
private:
	static Languages iCurrentLanguage;

public:
	static TBool HasChangedL(RFs& aFs);
	static void Reset();
	};

#endif	// _DOWNGRADEPATH_H_