diff -r 453dfc402455 -r 0aa8cc770c8a mtpdataproviders/mtpplaybackcontroldp/inc/mtpplaybackcontrolpanic.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mtpdataproviders/mtpplaybackcontroldp/inc/mtpplaybackcontrolpanic.h Tue Aug 31 16:03:15 2010 +0300 @@ -0,0 +1,42 @@ +// Copyright (c) 2010 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 + @internalComponent +*/ + +#ifndef MTPPLAYBACKCONTROLPANIC_H +#define MTPPLAYBACKCONTROLPANIC_H + +#include + +enum TMTPPlaybackControlPanic + { + EMTPPBReserved = 0, + EMTPPBCollectionErrMsg = 1, + EMTPPBCallbackInvalid = 2, + EMTPPBCollectionErrCall = 3, + EMTPPBDataTypeErr = 4, + EMTPPBArgumentErr = 5, + EMTPPBDataNullErr = 6, + }; + +inline void Panic( TMTPPlaybackControlPanic aCode ) + { + User::Panic( _L("MTPPlaybackControl"), aCode ); + }; + +#endif //MTPPLAYBACKCONTROLPANIC_H