equal
deleted
inserted
replaced
|
1 /******************************************************************************* |
|
2 * Copyright (c) 2009, 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. This program and the accompanying materials |
|
4 * are made available under the terms of the Eclipse Public License v1.0 |
|
5 * which accompanies this distribution, and is available at |
|
6 * http://www.eclipse.org/legal/epl-v10.html |
|
7 * |
|
8 * Contributors: |
|
9 * Nokia Corporation - initial implementation |
|
10 *******************************************************************************/ |
|
11 |
|
12 #ifndef JAVASOFTINDICATOR_H |
|
13 #define JAVASOFTINDICATOR_H |
|
14 |
|
15 #include <hbindicatorinterface.h> |
|
16 |
|
17 /** |
|
18 * Handles client request and showing the indications. |
|
19 */ |
|
20 class JavaSoftIndicator : public HbIndicatorInterface |
|
21 { |
|
22 public: |
|
23 /** |
|
24 * Constructor |
|
25 */ |
|
26 JavaSoftIndicator(const QString &indicatorType); |
|
27 |
|
28 /** |
|
29 * Destructor |
|
30 */ |
|
31 virtual ~JavaSoftIndicator(); |
|
32 |
|
33 /** |
|
34 * @see HbIndicatorInterface |
|
35 */ |
|
36 bool handleInteraction(InteractionType type); |
|
37 |
|
38 /** |
|
39 * @see HbIndicatorInterface |
|
40 */ |
|
41 QVariant indicatorData(int role) const; |
|
42 |
|
43 protected: |
|
44 /** |
|
45 * @see HbIndicatorInterface |
|
46 */ |
|
47 bool handleClientRequest(RequestType type, const QVariant ¶meter); |
|
48 |
|
49 private: |
|
50 |
|
51 void StartJavaMidletL() const; |
|
52 |
|
53 private: |
|
54 |
|
55 QVariant iParameter; |
|
56 }; |
|
57 |
|
58 #endif // JAVASOFTINDICATOR_H |