engine/collectionframework/datasource/manager/src/glxcollectionpluginbase.cpp
changeset 26 c499df2dbb33
parent 23 74c9f037fd5d
child 36 6481344a6d67
--- a/engine/collectionframework/datasource/manager/src/glxcollectionpluginbase.cpp	Fri Apr 16 14:58:46 2010 +0300
+++ b/engine/collectionframework/datasource/manager/src/glxcollectionpluginbase.cpp	Mon May 03 12:31:32 2010 +0300
@@ -33,6 +33,7 @@
 #include <mpxmediadrmdefs.h>
 #include <mpxmediageneraldefs.h>
 #include <mpxmessagegeneraldefs.h>
+#include <hbtextresolversymbian.h>
 #include <glxtracer.h>
 
 #include "glxcommandrequest.h"
@@ -514,6 +515,18 @@
     return filterProperties;
     }
     
+EXPORT_C void CGlxCollectionPluginBase::initializeTextResolverSymbian()
+    {
+    TRACER("CGlxCollectionPluginBase::initializeTextResolverSymbian");
+    _LIT(KSomeFile, "photos_");
+    _LIT(KPath, "z:\\resource\\qt\\translations");      
+     HbTextResolverSymbian::Init(KSomeFile, KPath);
+    }
 
+EXPORT_C HBufC* CGlxCollectionPluginBase::LoadLocalizedStringLC(const TDesC& aStringName)
+    {
+     TRACER("void CGlxCollectionPluginBase::LoadLocalizedStringLC()");
+     return HbTextResolverSymbian::LoadLC(aStringName); 
+    }
 
 // End of file