bluetoothappprofiles/avrcp/avrcpipc/inc/avrcpipcutils.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 AVRCPIPCUTILS_H
       
    17 #define AVRCPIPCUTILS_H
       
    18 
       
    19 _LIT(KAvrcpIpcPanicName, "AVRCP IPC");
       
    20 
       
    21 enum TAvrcpIpcPanic
       
    22 	{
       
    23 	EAvrcpIpcCommandDataTooLong = 0,
       
    24 	};
       
    25 
       
    26 class AvrcpIpcUtils
       
    27 	{
       
    28 public:
       
    29 	static void Panic(TAvrcpIpcPanic aPanic); // The macro is probably more useful so this can be removed
       
    30 	};
       
    31 
       
    32 /** Utility AVRCP panic function.
       
    33 
       
    34 @param aPanic The panic number.
       
    35 */
       
    36 void AvrcpIpcUtils::Panic(TAvrcpIpcPanic aPanic)
       
    37 	{
       
    38 	User::Panic(KAvrcpIpcPanicName, aPanic);
       
    39 	}
       
    40 
       
    41 #endif //AVRCPIPCUTILS_H