equal
deleted
inserted
replaced
|
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 PLAYERSETTTINGSUTILS_H |
|
17 #define PLAYERSETTTINGSUTILS_H |
|
18 |
|
19 _LIT(KPlayerSettingsPanicName, "PlayerSettings"); |
|
20 |
|
21 enum TPlayerSettingsPanic |
|
22 { |
|
23 EPlayerSettingsFunnyLengthData = 0, |
|
24 }; |
|
25 |
|
26 class PlayerSettingsUtils |
|
27 { |
|
28 public: |
|
29 static void Panic(TPlayerSettingsPanic aPanic); // The macro is probably more useful so this can be removed |
|
30 }; |
|
31 |
|
32 /** Utility PlayerSettings panic function. |
|
33 |
|
34 @param aPanic The panic number. |
|
35 */ |
|
36 void PlayerSettingsUtils::Panic(TPlayerSettingsPanic aPanic) |
|
37 { |
|
38 User::Panic(KPlayerSettingsPanicName, aPanic); |
|
39 } |
|
40 |
|
41 #endif //PLAYERSETTTINGSUTILS_H |