connectivitymodules/SeCon/services/pcd/inc/sconpcd.h
changeset 40 b63e67867dcd
parent 19 2691f6aa1921
--- a/connectivitymodules/SeCon/services/pcd/inc/sconpcd.h	Tue Jul 13 03:35:14 2010 +0530
+++ b/connectivitymodules/SeCon/services/pcd/inc/sconpcd.h	Tue Jul 13 03:39:25 2010 +0530
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2005-2008 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2005-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"
@@ -23,11 +23,13 @@
 
 #include <e32base.h>
 #include <e32cons.h>
+#include <s32strm.h>
 
 #include "sconconmltask.h"
 
 class CSConInstallerQueue;
 class CSConBackupRestoreQueue;
+class CSconSyncHandler;
 
 enum TSConLastConMLOperation
     {
@@ -68,6 +70,9 @@
          * @return none
          */
         virtual void ResetPCD();
+        
+        virtual void HandleGetSyncRequestL( const TDesC8& aRequest, RWriteStream& aResult, TInt aMaxObjectSize );
+        virtual void HandlePutSyncRequestL( const TDesC8& aRequest, RReadStream& aResult );
     
     private:        
         /**
@@ -120,12 +125,6 @@
          * @return none
          */
         TInt UpdateDeviceInfoL( TInt aMaxObjectSize );
-        /**
-         * Gets the current max object size
-         * @param aClientObjectSize The object size of the client
-         * @return the max object size
-         */
-        TInt GetMaxObjectSize( TInt aClientObjectSize ) const;
         
         /**
          * Stores a reply
@@ -150,9 +149,9 @@
         CSConBackupRestoreQueue*    iBackupRestoreQueue;
         CSConStatusReply*           iLatestReply;
         TInt                        iTaskNumber;
-        TInt                        iMaxObjectSize;
         TSConLastConMLOperation     iLastOperation;
         RFs                         iFs;
+        CSconSyncHandler*           iSyncHandler;
     }; 
     
     IMPORT_C CSConPCD* CreateCSConPCDL();