diff -r f6d3d9676ee4 -r d63d727ee0a6 kerneltest/f32test/shostmassstorage/msman/test/tmsdrive.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kerneltest/f32test/shostmassstorage/msman/test/tmsdrive.h Mon Jan 04 12:25:19 2010 +0100 @@ -0,0 +1,47 @@ +// 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 "Symbian Foundation License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + + + +/** + @file + @internalTechnology +*/ + +#ifndef TMSDRIVE_H +#define TMSDRIVE_H + +class TMsDrive + { +public: + + void GetUsbDeviceL(); + void SetSessionPathL(); + const TFileName& GetSessionPath() const; + TInt DriveNumber() const; + TBool DrivePresent() const; + +private: + TInt iDriveNumber; + TFileName iSessionPath; + }; + + +inline TInt TMsDrive::DriveNumber() const + { + return iDriveNumber; + } + +#endif // TMSDRIVE_H