equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2010 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 #ifndef USBADDRESSEDINDICATOR_H |
|
19 #define USBADDRESSEDINDICATOR_H |
|
20 |
|
21 |
|
22 #include <hbindicatorinterface.h> |
|
23 |
|
24 /** |
|
25 * USB indicator class. |
|
26 * Handles client request and showing the indications. |
|
27 */ |
|
28 class UsbAddressedIndicator : public HbIndicatorInterface |
|
29 { |
|
30 friend class TestUsbIndicatorPlugin; |
|
31 |
|
32 public: |
|
33 /** |
|
34 * Constructor |
|
35 */ |
|
36 UsbAddressedIndicator(const QString &indicatorType); |
|
37 |
|
38 /** |
|
39 * Destructor |
|
40 */ |
|
41 ~UsbAddressedIndicator(); |
|
42 |
|
43 /** |
|
44 * @see HbIndicatorInterface |
|
45 */ |
|
46 bool handleInteraction(InteractionType type); |
|
47 |
|
48 /** |
|
49 * @see HbIndicatorInterface |
|
50 */ |
|
51 QVariant indicatorData(int role) const; |
|
52 |
|
53 |
|
54 protected: |
|
55 /** |
|
56 * @see HbIndicatorInterface |
|
57 */ |
|
58 bool handleClientRequest(RequestType type, const QVariant ¶meter); |
|
59 |
|
60 private: |
|
61 |
|
62 QString mSecDisplayName; |
|
63 |
|
64 }; |
|
65 |
|
66 #endif /* USBADDRESSEDINDICATOR_H */ |
|
67 |
|
68 |
|
69 |
|
70 |
|