kerneltest/f32test/shostmassstorage/msman/test/tmsdrive.h
branchanywhere
changeset 41 d32f34975bbf
parent 40 04a1b74efd48
parent 37 a9bf1d2c555e
child 48 10816385149a
equal deleted inserted replaced
40:04a1b74efd48 41:d32f34975bbf
     1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalTechnology
       
    21 */
       
    22 
       
    23 #ifndef TMSDRIVE_H
       
    24 #define TMSDRIVE_H
       
    25 
       
    26 class TMsDrive
       
    27 	{
       
    28 public:
       
    29 
       
    30     void GetUsbDeviceL();
       
    31     void SetSessionPathL();
       
    32     const TFileName& GetSessionPath() const;
       
    33     TInt DriveNumber() const;
       
    34     TBool DrivePresent() const;
       
    35 
       
    36 private:
       
    37     TInt iDriveNumber;
       
    38     TFileName iSessionPath;
       
    39 	};
       
    40 
       
    41 
       
    42 inline TInt TMsDrive::DriveNumber() const
       
    43     {
       
    44     return iDriveNumber;
       
    45     }
       
    46 
       
    47 #endif // TMSDRIVE_H