--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/javacommons/utils/javasrc/com/nokia/mj/impl/utils/Id.java Tue Jul 06 14:10:26 2010 +0300
@@ -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:
+*
+*/
+
+
+package com.nokia.mj.impl.utils;
+
+/**
+ * Localisation Identifier. This class is used to hide platform localisation
+ * specifics.
+ */
+public class Id
+{
+ private String iAvkonLocString = null;
+ private String iQtLocString = null;
+
+ /**
+ * Default constructor.
+ */
+ private Id()
+ {
+ }
+
+ public Id(String aAvkonLocString, String aQtLocString)
+ {
+ this.iAvkonLocString = aAvkonLocString;
+ this.iQtLocString = aQtLocString;
+ }
+
+ public String getString(int aPlatform)
+ {
+ if (aPlatform == ResourceLoader.QT)
+ {
+ return iQtLocString;
+ }
+ else
+ {
+ return iAvkonLocString;
+ }
+ }
+}