remotestoragefw/remotefileengine/inc/rsfwvolume.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 07 Jan 2010 13:15:09 +0200
changeset 1 1c07d7ba3e3d
parent 0 3ad9d5175a89
permissions -rw-r--r--
Revision: 200951 Kit: 201001

/*
* Copyright (c) 2003-2006 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"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  data struct for a volume
*
*/

#ifndef C_RSFWVOLUME_H
#define C_RSFWVOLUME_H

#include "rsfwcontrol.h"


class CRsfwFileEngine;
class CRsfwVolumeTable;

/** default volume inactivity timeout, in seconds */
const TInt KDefaultInactivityTimeout        = 600;  

class CRsfwVolume: public CBase
    {
public:
    ~CRsfwVolume();
    TRsfwMountInfo* MountInfo();
    void GetMountInfo(TRsfwMountInfo& aMountInfo);
    void OperationCompleted();
    void ConnectionStateChanged(TInt aConnectionState);
    
public:
    TRsfwMountInfo    iMountInfo;        // mount configuration information
    CRsfwFileEngine*  iFileEngine;       // remote file engine
    CRsfwVolumeTable* iVolumeTable;      // backpointer to volume table 
    };


#endif