bluetoothappprofiles/avrcp/playerinformation/inc/playereventsutils.h
changeset 70 f5508c13dfe0
parent 67 16e4b9007960
child 71 083fd884d7dd
equal deleted inserted replaced
67:16e4b9007960 70:f5508c13dfe0
     1 // Copyright (c) 2009 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 #ifndef PLAYEREVENTSUTILS_H
       
    17 #define PLAYEREVENTSUTILS_H
       
    18 
       
    19 _LIT(KPlayerEventsPanicName, "PlayerEvents");
       
    20 
       
    21 enum TPlayerEventsPanic
       
    22 	{
       
    23 	ETwoGetPlayStatusUpdatesQueued = 0,
       
    24 	EBadlyFormattedInternalData = 1,
       
    25 	};
       
    26 
       
    27 class PlayerEventsUtils
       
    28 	{
       
    29 public:
       
    30 	static void Panic(TPlayerEventsPanic aPanic); 
       
    31 	};
       
    32 
       
    33 /** Utility PlayerEvents panic function.
       
    34 
       
    35 @param aPanic The panic number.
       
    36 */
       
    37 void PlayerEventsUtils::Panic(TPlayerEventsPanic aPanic)
       
    38 	{
       
    39 	User::Panic(KPlayerEventsPanicName, aPanic);
       
    40 	}
       
    41 
       
    42 #endif // PLAYEREVENTSUTILS_H