contentstorage/srvinc/castorageproxy.h
branchGCC_SURGE
changeset 105 e7325f632549
parent 103 b99b84bcd2d1
child 109 e0aa398e6810
--- a/contentstorage/srvinc/castorageproxy.h	Fri Jun 11 16:25:06 2010 +0100
+++ b/contentstorage/srvinc/castorageproxy.h	Thu Jul 22 16:37:03 2010 +0100
@@ -19,9 +19,11 @@
 #define CASTORAGEPROXY_H
 
 #include "cadef.h"
+#include "castorage_global.h"
 #include "caoperationparams.h"
 
 
+
 // FORWARD DECLARATIONS
 class CCaStorage;
 class CCaInnerQuery;
@@ -29,6 +31,8 @@
 class CCaLocalizationEntry;
 class MCaSessionNorifier;
 
+CA_STORAGE_TEST_CLASS( TestCaClient )
+
 /**
  * Interface for CA database implementations.
  *
@@ -60,6 +64,13 @@
     IMPORT_C void LocalizeEntryL( CCaLocalizationEntry& aLocalization );
 
     /**
+     * Add localization row to the storage
+     *
+     * @param aLocalization entry containing localization row to be added
+     */
+    IMPORT_C void AddLocalizationL(const CCaLocalizationEntry& aLocalization);
+    
+    /**
      * Fetches localization data from database
      *
      * @param aResultContainer Target for results.
@@ -173,6 +184,12 @@
      * C++ default constructor.
      */
     CCaStorageProxy();
+    
+    CCaLocalizationEntry* LocalizeTextL( CCaInnerEntry* aEntry );
+    
+    CCaLocalizationEntry* LocalizeDescriptionL( CCaInnerEntry* aEntry );
+    
+    TBool InitializeTranslatorL( TDesC& aQmFilename );
 
 private:
     //Data
@@ -186,6 +203,9 @@
      * Sessions using this engine. Own.
      */
     RPointerArray<MCaSessionNorifier> iHandlerNotifier;
+    
+    CA_STORAGE_TEST_FRIEND_CLASS( TestCaClient )
+    
     };
 
 #endif //CASTORAGEPROXY_H