sl@0: // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Implementations of inline functions declared in drivemanager.h. sl@0: // sl@0: // sl@0: sl@0: sl@0: sl@0: sl@0: /** sl@0: @file sl@0: @internalTechnology sl@0: sl@0: @return Current drive mount state sl@0: */ sl@0: inline CMassStorageDrive::TMountState CMassStorageDrive::MountState() const sl@0: { sl@0: return iMountState; sl@0: } sl@0: sl@0: /** sl@0: Set the mount state sl@0: */ sl@0: inline void CMassStorageDrive::SetMountDisconnected() sl@0: { sl@0: SetMountState(EDisconnected); sl@0: } sl@0: sl@0: /** sl@0: Set the mount state sl@0: */ sl@0: inline void CMassStorageDrive::SetMountConnecting() sl@0: { sl@0: SetMountState(EConnecting); sl@0: } sl@0: sl@0: /** sl@0: Set the mount state sl@0: */ sl@0: inline void CMassStorageDrive::SetMountDisconnecting() sl@0: { sl@0: SetMountState(EDisconnecting); sl@0: } sl@0: sl@0: /** sl@0: Set the mount state sl@0: */ sl@0: inline void CMassStorageDrive::SetMountConnected() sl@0: { sl@0: SetMountState(EConnected); sl@0: } sl@0: sl@0: inline TLun CDriveManager::MaxLun() const sl@0: { sl@0: return iMaxLun; sl@0: }