diff -r 0ca79e3612d9 -r 9ba7f05d28a5 connectivitymodules/SeCon/services/pcd/inc/sconpcd.h --- a/connectivitymodules/SeCon/services/pcd/inc/sconpcd.h Wed Jun 23 18:02:53 2010 +0300 +++ b/connectivitymodules/SeCon/services/pcd/inc/sconpcd.h Tue Jul 06 14:06:02 2010 +0300 @@ -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 #include +#include #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();