diff -r 2fee987ebaff -r ab0490982943 controlpanelplugins/langandregplugin/src/extendedlocaleutil.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/controlpanelplugins/langandregplugin/src/extendedlocaleutil.h Thu Sep 30 16:15:53 2010 +0800 @@ -0,0 +1,54 @@ +/* + * Copyright (c) 2010 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: Language plugin view class + * + */ + +/* + * extendedlocaleutil.h + * + * Created on: 24.8.2010 + * Author: mhujanen + */ + +#ifndef EXTENDEDLOCALEUTIL_H_ +#define EXTENDEDLOCALEUTIL_H_ + +#include +#include + +/* + * Temporary class. + * will be replaced by function added in HbLocaleUtil in future. + * + * */ + +struct LanguageRegionMapping + { + QString languageId; + QString regionId; + QString collationId; + HbInputLanguage primaryWritingLan; + HbInputLanguage secondaryWritingLan; + }; + +class ExtendedLocaleUtil : public HbLocaleUtil + { + public: + static QList localeMappings(bool onlySupported); + private: + static QList allLocaleMappings(); + }; + +#endif /* EXTENDEDLOCALEUTIL_H_ */