remotestoragefw/remotefileengine/inc/rsfwsyncoperations.h
changeset 13 6b4fc789785b
parent 2 c32dc0be5eb4
equal deleted inserted replaced
2:c32dc0be5eb4 13:6b4fc789785b
     1 /*
       
     2 * Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  functions for synchronous operations
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef RSFW_SYNCOPERATIONS_H
       
    20 #define RSFW_SYNCOPERATIONS_H
       
    21 
       
    22 class CRsfwRfeRequest;
       
    23 
       
    24 
       
    25 /**
       
    26  *  wrapper for all sync requests
       
    27  *
       
    28  */
       
    29 class TRFeSynCRsfwRfeRequest
       
    30     {
       
    31 public:
       
    32     static void DoRequestL(CRsfwRfeRequest* aRequest);
       
    33     };
       
    34     
       
    35 /**
       
    36  *  dismount a previously mounted volume
       
    37  *
       
    38  *	by volume ID	
       
    39  *
       
    40  */
       
    41 class TRFeDismountVolumeId
       
    42     {
       
    43 public:
       
    44     static void DoRequestL(CRsfwRfeRequest* aRequest);
       
    45     };
       
    46     
       
    47 /**
       
    48  *  dismount a previously mounted volume
       
    49  *
       
    50  *	by drive letter
       
    51  *
       
    52  */ 
       
    53 class TRFeDismountByDriveLetter
       
    54     {
       
    55 public:
       
    56     static void DoRequestL(CRsfwRfeRequest* aRequest);
       
    57     };
       
    58     
       
    59  /**
       
    60  *  get a list of currently active mounts
       
    61  *
       
    62  */    
       
    63 class TRFeGetMountList
       
    64     {
       
    65 public:
       
    66     static void DoRequestL(CRsfwRfeRequest* aRequest);
       
    67     };
       
    68     
       
    69 /**
       
    70  *  get information about a specific mount
       
    71  *
       
    72  */    
       
    73 class TRFeGetMountInfo
       
    74     {
       
    75 public:
       
    76     static void DoRequestL(CRsfwRfeRequest* aRequest);
       
    77     };
       
    78     
       
    79 /**
       
    80  *  get permission to write certain amount of data
       
    81  *
       
    82  */      
       
    83 class TRFeWriteData
       
    84     {
       
    85 public:
       
    86     static void DoRequestL(CRsfwRfeRequest* aRequest);
       
    87     };
       
    88     
       
    89 /**
       
    90  *  refresh a directory
       
    91  *
       
    92  */     
       
    93 class TRFeDirectoryRefresh
       
    94     {
       
    95  public:
       
    96     static void DoRequestL(CRsfwRfeRequest* aRequest);   
       
    97     }; 
       
    98        
       
    99 /**
       
   100  *  cancel all active upload/dowload operations
       
   101  *
       
   102  */         
       
   103 class TRFeCancelAll
       
   104     {
       
   105  public:
       
   106     static void DoRequestL(CRsfwRfeRequest* aRequest);   
       
   107     };            
       
   108 #endif