connectivitymodules/SeCon/services/pcd/inc/sconpcd.h
branchRCL_3
changeset 18 453dfc402455
parent 0 d0791faffa3f
equal deleted inserted replaced
17:dbd1c5e08735 18:453dfc402455
     1 /*
     1 /*
     2 * Copyright (c) 2005-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    21 
    21 
    22 // INCLUDES
    22 // INCLUDES
    23 
    23 
    24 #include <e32base.h>
    24 #include <e32base.h>
    25 #include <e32cons.h>
    25 #include <e32cons.h>
       
    26 #include <s32strm.h>
    26 
    27 
    27 #include "sconconmltask.h"
    28 #include "sconconmltask.h"
    28 
    29 
    29 class CSConInstallerQueue;
    30 class CSConInstallerQueue;
    30 class CSConBackupRestoreQueue;
    31 class CSConBackupRestoreQueue;
       
    32 class CSconSyncHandler;
    31 
    33 
    32 enum TSConLastConMLOperation
    34 enum TSConLastConMLOperation
    33     {
    35     {
    34     ENoTask = 0,
    36     ENoTask = 0,
    35     EPutTask,
    37     EPutTask,
    66         /**
    68         /**
    67          * Resets the module to the initial state
    69          * Resets the module to the initial state
    68          * @return none
    70          * @return none
    69          */
    71          */
    70         virtual void ResetPCD();
    72         virtual void ResetPCD();
       
    73         
       
    74         virtual void HandleGetSyncRequestL( const TDesC8& aRequest, RWriteStream& aResult, TInt aMaxObjectSize );
       
    75         virtual void HandlePutSyncRequestL( const TDesC8& aRequest, RReadStream& aResult );
    71     
    76     
    72     private:        
    77     private:        
    73         /**
    78         /**
    74          * Collects a status of a specified task / all tasks
    79          * Collects a status of a specified task / all tasks
    75          * @param aTask The number of the specified task
    80          * @param aTask The number of the specified task
   151         CSConStatusReply*           iLatestReply;
   156         CSConStatusReply*           iLatestReply;
   152         TInt                        iTaskNumber;
   157         TInt                        iTaskNumber;
   153         TInt                        iMaxObjectSize;
   158         TInt                        iMaxObjectSize;
   154         TSConLastConMLOperation     iLastOperation;
   159         TSConLastConMLOperation     iLastOperation;
   155         RFs                         iFs;
   160         RFs                         iFs;
       
   161         CSconSyncHandler*           iSyncHandler;
   156     }; 
   162     }; 
   157     
   163     
   158     IMPORT_C CSConPCD* CreateCSConPCDL();
   164     IMPORT_C CSConPCD* CreateCSConPCDL();
   159     typedef CSConPCD* (*TSConCreateCSConPCDFunc) (); 
   165     typedef CSConPCD* (*TSConCreateCSConPCDFunc) (); 
   160 
   166