|
1 /* |
|
2 * Copyright (c) 2009 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: DM Progress and Notification Indicators classes |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef DMINDICATORS_H |
|
19 #define DMINDICATORS_H |
|
20 |
|
21 #include <QObject> |
|
22 #include <dmindicator.h> |
|
23 #include <hbindicatorinterface.h> |
|
24 |
|
25 /** |
|
26 * DM Progress and Notification indicators class. |
|
27 * Handles client request and showing the indications. |
|
28 */ |
|
29 class DMProNoteIndicator : public DMIndicator |
|
30 { |
|
31 public: |
|
32 /** |
|
33 * Constructor |
|
34 */ |
|
35 DMProNoteIndicator(const QString &indicatorType, |
|
36 HbIndicatorInterface::Category category, |
|
37 HbIndicatorInterface::InteractionTypes interactionTypes); |
|
38 |
|
39 /** |
|
40 * @see HbIndicatorInterface |
|
41 */ |
|
42 bool handleInteraction(InteractionType type); |
|
43 |
|
44 /** |
|
45 * @see HbIndicatorInterface |
|
46 */ |
|
47 QVariant indicatorData(int role) const; |
|
48 |
|
49 }; |
|
50 |
|
51 /** |
|
52 * Scomo Progress and Notification indicators class. |
|
53 * Handles client request and showing the indications. |
|
54 */ |
|
55 class ScomoProNoteIndicator : public DMProNoteIndicator |
|
56 { |
|
57 public: |
|
58 /** |
|
59 * Constructor |
|
60 */ |
|
61 ScomoProNoteIndicator(const QString &indicatorType, |
|
62 HbIndicatorInterface::Category category, |
|
63 HbIndicatorInterface::InteractionTypes interactionTypes); |
|
64 |
|
65 /** |
|
66 * @see HbIndicatorInterface |
|
67 */ |
|
68 bool handleInteraction(InteractionType type); |
|
69 |
|
70 }; |
|
71 |
|
72 |
|
73 #endif // DMINDICATORS_H |