harvesterplugins/media/mediautils/inc/mdeobjectqueuemanager.h
changeset 27 7a8855317cbd
parent 26 367228f82b66
--- a/harvesterplugins/media/mediautils/inc/mdeobjectqueuemanager.h	Tue Oct 05 13:32:14 2010 +0530
+++ b/harvesterplugins/media/mediautils/inc/mdeobjectqueuemanager.h	Fri Oct 15 11:45:38 2010 +0530
@@ -18,7 +18,11 @@
 
 #ifndef MDEOBJECTQUEUEMANAGER_H_
 #define MDEOBJECTQUEUEMANAGER_H_
+
 #include <e32def.h>
+#include <f32file.h>
+#include <s32file.h>
+#include <bautils.h>
 #include <mdccommon.h>
 #include "mediaobjecthandler.h"
 
@@ -54,6 +58,12 @@
     TInt RunError();
     void PauseL();
     void ResumeL();
+    
+    void SetFilePath( const TDesC& aFilePath );
+    
+    void SaveQueuedItems();
+    
+    void LoadQueuedItems();
 private:
     /*
      * OverWriteOrAddToQueueL add or update item to queue
@@ -97,7 +107,11 @@
     };
 private:
     // Queue of documents to be indexed
-    RArray<TMdeActionRecord> iJobQueue; 
+    RArray<TMdeActionRecord> iJobQueue;
+    //File server connection 
+    RFs iFs;
+    // Path to the queued records
+    TFileName iFilePath;
     // State machine's state
     TState iState;
     THarvestingState iHState;