|
1 // Copyright (c) 1999-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 __ASSRVSOUNDSETTINGSOBSERVER_H__ |
|
17 #define __ASSRVSOUNDSETTINGSOBSERVER_H__ |
|
18 |
|
19 |
|
20 // |
|
21 // ----> MASSrvSoundSettingsObserver (header) |
|
22 // |
|
23 /** |
|
24 * Observe when the sound settings change |
|
25 */ |
|
26 class MASSrvSoundSettingsObserver |
|
27 { |
|
28 // |
|
29 public: // FROM MASSrvSoundSettingsObserver |
|
30 // |
|
31 |
|
32 /** |
|
33 * The event enumeration for anything that occurs within the |
|
34 * sound settings object |
|
35 */ |
|
36 enum TSoundSettingsEvent |
|
37 { |
|
38 /** |
|
39 * Global sound state has changed |
|
40 */ |
|
41 ESoundSettingsEventGlobalSoundState = 0, |
|
42 |
|
43 /** |
|
44 * Sound intervals have changed |
|
45 */ |
|
46 ESoundSettingsEventSoundIntervals, |
|
47 |
|
48 /** |
|
49 * Need to clear pause flag |
|
50 */ |
|
51 ESoundSettingsClearPauseFlag |
|
52 }; |
|
53 |
|
54 // |
|
55 public: // FROM MASSrvSoundSettingsObserver |
|
56 // |
|
57 |
|
58 /** |
|
59 * Handle sound setting event changes |
|
60 */ |
|
61 virtual void MASSoundSettingsHandleChangeEvent(TSoundSettingsEvent aEvent) = 0; |
|
62 |
|
63 }; |
|
64 |
|
65 #endif |