phoneplugins/infowidgetplugin/infowidgetprovider/infowidget/inc/infowidgetsathandlerprivate.h
equal
deleted
inserted
replaced
|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #include <rsatservice.h> |
|
19 #include <rsatsession.h> |
|
20 #include <QString> |
|
21 |
|
22 class InfoWidgetSatHandler; |
|
23 |
|
24 class InfoWidgetSatHandlerPrivate: public CActive |
|
25 { |
|
26 public: |
|
27 |
|
28 InfoWidgetSatHandlerPrivate(InfoWidgetSatHandler *iwSatHandler, RSatService& iSatService); |
|
29 ~InfoWidgetSatHandlerPrivate(); |
|
30 |
|
31 void startObserving(); |
|
32 |
|
33 int connect(); |
|
34 int disconnect(); |
|
35 |
|
36 private: |
|
37 |
|
38 void activate(); |
|
39 void getIdleModeData(); |
|
40 |
|
41 void RunL(); |
|
42 void DoCancel(); |
|
43 |
|
44 private: // Data |
|
45 |
|
46 InfoWidgetSatHandler *q_ptr; |
|
47 RSatService& m_satService; |
|
48 RSatSession m_satSession; |
|
49 RSatService::TSATIdleResult m_idleResult; |
|
50 |
|
51 QString m_idleTxt; |
|
52 }; |