equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * This class defines a audio volume change observer interface. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __MVRVOLUMECHANGEOBSERVER_H__ |
|
21 #define __MVRVOLUMECHANGEOBSERVER_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32def.h> |
|
25 |
|
26 // CLASS DEFINITION |
|
27 /** |
|
28 * This class defines a audio volume change observer interface. |
|
29 */ |
|
30 class MVRVolumeChangeObserver |
|
31 { |
|
32 public: // new methods |
|
33 |
|
34 /** |
|
35 * Called to notify a change in volume settings. |
|
36 * @param aStep Volume level in steps |
|
37 * @param aMaxSteps How many steps there are (10 usually). |
|
38 */ |
|
39 virtual void SetVolume( TInt aStep, TInt aMaxSteps ) = 0; |
|
40 |
|
41 /*** |
|
42 * Indicates if volume can be set, because rinto tone |
|
43 * volume change has no effect if the tone is playing. |
|
44 */ |
|
45 virtual TBool CanSetVolume() = 0; |
|
46 }; |
|
47 |
|
48 #endif // __MVRVOLUMECHANGEOBSERVER_H__ |
|