cmmanager/cmmgr/cmmpluginbase/inc/ccmpluginbaseengtextresolver.h
changeset 20 9c97ad6591ae
child 27 489cf6208544
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cmmanager/cmmgr/cmmpluginbase/inc/ccmpluginbaseengtextresolver.h	Mon May 03 12:53:07 2010 +0300
@@ -0,0 +1,36 @@
+/*
+* 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:
+* Provides functionality for text resolving
+*
+*/
+
+#ifndef CMPLUGINBASEENGTEXTRESOLVER_H
+#define CMPLUGINBASEENGTEXTRESOLVER_H
+
+/**
+ *  Utility class for resolving localised text.
+ */
+class CCmPluginBaseEngTextResolver
+    {
+public:    
+    /**
+     * Resolves localised text from cmmanager translation file.
+     * @param aTextId Text Id from TS file
+     * @return Resolved text
+     */
+    static HBufC* ResolveTextL( const TDesC& aTextId );        
+    };
+
+#endif // CMPLUGINBASEENGTEXTRESOLVER_H