kerneltest/f32test/shostmassstorage/testclient/usbtestmsclient/inc/drivemanager.inl
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     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 "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Implementations of inline functions declared in drivemanager.h.
       
    15 // 
       
    16 //
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 /**
       
    22  @file
       
    23  @internalTechnology
       
    24  
       
    25  @return Current drive mount state
       
    26 */
       
    27 inline CMassStorageDrive::TMountState CMassStorageDrive::MountState() const
       
    28 	{
       
    29 	return iMountState;
       
    30 	}
       
    31 
       
    32 /**
       
    33 Set the mount state
       
    34 */
       
    35 inline void CMassStorageDrive::SetMountDisconnected()
       
    36 	{
       
    37 	SetMountState(EDisconnected);
       
    38 	}
       
    39 
       
    40 /**
       
    41 Set the mount state
       
    42 */
       
    43 inline void CMassStorageDrive::SetMountConnecting()
       
    44 	{
       
    45 	SetMountState(EConnecting);
       
    46 	}
       
    47 
       
    48 /**
       
    49 Set the mount state
       
    50 */
       
    51 inline void CMassStorageDrive::SetMountDisconnecting()
       
    52 	{
       
    53 	SetMountState(EDisconnecting);
       
    54 	}
       
    55 
       
    56 /**
       
    57 Set the mount state
       
    58 */
       
    59 inline void CMassStorageDrive::SetMountConnected()
       
    60 	{
       
    61 	SetMountState(EConnected);
       
    62 	}
       
    63 
       
    64 inline TLun CDriveManager::MaxLun() const
       
    65 	{
       
    66 	return iMaxLun;
       
    67 	}