equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: This interface describes structure of notify services |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MCANOTIFIERINTERFACE_H |
|
21 #define MCANOTIFIERINTERFACE_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * An interface for listening PS key changes |
|
30 * |
|
31 * @since Series 60 2.6 |
|
32 */ |
|
33 class MCANotifierInterface |
|
34 { |
|
35 public: |
|
36 enum TNotifyKey |
|
37 { |
|
38 EUIPIndKey = 0, |
|
39 EMSGToneQuitKey |
|
40 }; |
|
41 public: |
|
42 |
|
43 virtual ~MCANotifierInterface() {}; |
|
44 |
|
45 public: // New functions |
|
46 |
|
47 virtual TInt SetInt( TNotifyKey aKey, TInt aValue ) = 0; |
|
48 virtual TInt GetInt( TNotifyKey aKey, TInt& aValue ) = 0; |
|
49 virtual TInt ListenKeyChanges( TNotifyKey aKey ) = 0; |
|
50 }; |
|
51 |
|
52 #endif // MCANOTIFIERINTERFACE_H |
|
53 |
|
54 // End of File |
|
55 |