mtpdataproviders/mtpplaybackcontroldp/inc/mtpplaybackcontrolpanic.h
branchRCL_3
changeset 19 0aa8cc770c8a
equal deleted inserted replaced
18:453dfc402455 19:0aa8cc770c8a
       
     1 // Copyright (c) 2010 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 "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 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 #ifndef MTPPLAYBACKCONTROLPANIC_H
       
    22 #define MTPPLAYBACKCONTROLPANIC_H
       
    23 
       
    24 #include <e32std.h>
       
    25 
       
    26 enum TMTPPlaybackControlPanic
       
    27     {
       
    28     EMTPPBReserved                          = 0,
       
    29     EMTPPBCollectionErrMsg                  = 1,
       
    30     EMTPPBCallbackInvalid                   = 2,
       
    31     EMTPPBCollectionErrCall                 = 3,
       
    32     EMTPPBDataTypeErr                       = 4,
       
    33     EMTPPBArgumentErr                       = 5,
       
    34     EMTPPBDataNullErr                       = 6,
       
    35     };
       
    36 
       
    37 inline void Panic( TMTPPlaybackControlPanic aCode )
       
    38     {
       
    39     User::Panic( _L("MTPPlaybackControl"), aCode );
       
    40     };
       
    41 
       
    42 #endif //MTPPLAYBACKCONTROLPANIC_H