|
1 /* |
|
2 * Copyright (c) 2007 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 * |
|
16 */ |
|
17 |
|
18 |
|
19 package com.nokia.s60tools.apiquery.shared.datatypes.config; |
|
20 |
|
21 /** |
|
22 * Interface for the services that needs to know if |
|
23 * configuration has been changed. |
|
24 */ |
|
25 public interface IConfigurationChangedListener { |
|
26 |
|
27 /** |
|
28 * Entry added event type. |
|
29 */ |
|
30 public static final int ENTRY_ADDED = 0; |
|
31 |
|
32 /** |
|
33 * Entry modified event type. |
|
34 */ |
|
35 public static final int ENTRY_MODIFIED = 1; |
|
36 |
|
37 /** |
|
38 * Entry removed event type. |
|
39 */ |
|
40 public static final int ENTRY_REMOVED = 2; |
|
41 |
|
42 /** |
|
43 * Entry selected event type. |
|
44 */ |
|
45 public static final int ENTRY_CHECKED = 3; |
|
46 |
|
47 /** |
|
48 * Entry deselected event type. |
|
49 */ |
|
50 public static final int ENTRY_UNCHECKED = 4; |
|
51 |
|
52 /** |
|
53 * All entries selected event type. |
|
54 */ |
|
55 public static final int ALL_ENTRIES_CHECKED = 5; |
|
56 |
|
57 /** |
|
58 * All entries deselected event type. |
|
59 */ |
|
60 public static final int ALL_ENTRIES_UNCHECKED = 6; |
|
61 |
|
62 /** |
|
63 * All Entrys removed event type. |
|
64 */ |
|
65 public static final int ALL_ENTRYS_REMOVED = 7; |
|
66 |
|
67 /** |
|
68 * All Entrys updated event type. |
|
69 */ |
|
70 public static final int ALL_ENTRYS_UPDATED = 8; |
|
71 |
|
72 /** |
|
73 * All selected Entrys removed event type. |
|
74 */ |
|
75 public static final int ALL_SELECTED_ENTRYS_REMOVED = 9; |
|
76 |
|
77 /** |
|
78 * Configuration change notification method. |
|
79 * @param eventType One of the event types define in this interface. |
|
80 */ |
|
81 public void configurationChanged(int eventType); |
|
82 } |