diff -r 000000000000 -r c9bc50fca66e usbmgmt/usbmgr/host/functiondrivers/ms/msmm/server/public/srverr.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/usbmgmt/usbmgr/host/functiondrivers/ms/msmm/server/public/srverr.h Tue Feb 02 02:02:59 2010 +0200 @@ -0,0 +1,49 @@ +/* +* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "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: +* +*/ + +/** + @file + @publishedPartner +*/ + +#ifndef SRVERR_H +#define SRVERR_H + +enum THostMsErrCode + { + EHostMsErrGeneral = 0x1, // General error + EHostMsErrNoDriveLetter = 0x2, // No drive letter available currently + EHostMsErrUnknownFileSystem = 0x3, // Unknown file system on currently + // adding device + EHostMsErrInvalidParameter = 0x4, // Invalid request parameter + EHostMsErrOutOfMemory = 0x5, // Out of memory + EHostMsErrorEndMarker + }; + +NONSHARABLE_CLASS(THostMsErrData) + { +public: + THostMsErrCode iError; // Error code + TInt iE32Error; // Symbian e32err code + TName iManufacturerString; + TName iProductString; + TText8 iDriveName; // Drive letter + }; + +typedef TPckgBuf THostMsErrorDataPckg; + +#endif /*SRVERR_H*/