remotestoragefw/remotefileengine/inc/rsfwvolume.h
branchRCL_3
changeset 16 1aa8c82cb4cb
parent 0 3ad9d5175a89
equal deleted inserted replaced
15:88ee4cf65e19 16:1aa8c82cb4cb
       
     1 /*
       
     2 * Copyright (c) 2003-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:  data struct for a volume
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef C_RSFWVOLUME_H
       
    19 #define C_RSFWVOLUME_H
       
    20 
       
    21 #include "rsfwcontrol.h"
       
    22 
       
    23 
       
    24 class CRsfwFileEngine;
       
    25 class CRsfwVolumeTable;
       
    26 
       
    27 /** default volume inactivity timeout, in seconds */
       
    28 const TInt KDefaultInactivityTimeout        = 600;  
       
    29 
       
    30 class CRsfwVolume: public CBase
       
    31     {
       
    32 public:
       
    33     ~CRsfwVolume();
       
    34     TRsfwMountInfo* MountInfo();
       
    35     void GetMountInfo(TRsfwMountInfo& aMountInfo);
       
    36     void OperationCompleted();
       
    37     void ConnectionStateChanged(TInt aConnectionState);
       
    38     
       
    39 public:
       
    40     TRsfwMountInfo    iMountInfo;        // mount configuration information
       
    41     CRsfwFileEngine*  iFileEngine;       // remote file engine
       
    42     CRsfwVolumeTable* iVolumeTable;      // backpointer to volume table 
       
    43     };
       
    44 
       
    45 
       
    46 #endif