kerneltest/f32test/shostmassstorage/msman/inc/rextfilesystem.h
author Slion
Thu, 07 Jan 2010 01:23:42 +0100
branchanywhere
changeset 25 57330c35d3d7
parent 0 a41df078684a
permissions -rw-r--r--
Adding epoc target. Tried to define our own entry point but it fails at runtime trying to load msvcr80d.dll. Try using /NODEFAULTLIB for all targets maybe. Must somehow export ekern.dll for it to be loadable by epoc.exe.

// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "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:
// RUsbMsMountManager class.
// 
//



/**
 @file
 @internalTechnology
*/

#ifndef REXTFILESYSTEM_H
#define REXTFILESYSTEM_H


typedef TUint32 TToken;
typedef TInt TLun;

class RExtFileSystem
    {
public:
    RExtFileSystem();
    ~RExtFileSystem();

    void OpenL();
    void CloseL();

    TDriveNumber GetDriveL();

    void MountL(RUsbHostMsDevice& aDevice,
                TDriveNumber aDriveNumber,
                TToken aToken,
                TLun aLun);

    void DismountL(RUsbHostMsDevice& aDevice, TDriveNumber aDriveNumber);
    };




#endif // REXTFILESYSTEM_H