author | hgs |
Fri, 23 Jul 2010 12:55:58 +0300 | |
changeset 52 | a49bfe5190e4 |
parent 46 | bc5a64e5bc3c |
child 51 | f39ed5e045e0 |
child 65 | 2a5d4ab426d3 |
permissions | -rw-r--r-- |
37 | 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: UI house hold private for PhoneUI |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
#ifndef PHONEUIHOUSEHOLDPRIVATE_H |
|
19 |
#define PHONEUIHOUSEHOLDPRIVATE_H |
|
20 |
||
21 |
#include <QtGui> |
|
22 |
#include <pevirtualengine.h> |
|
23 |
#include "mphonepubsubobserver.h" |
|
24 |
#include "cphonerecoverysystem.h" |
|
25 |
||
26 |
class MPEPhoneModel; |
|
27 |
class CPhoneUIController; |
|
28 |
class HbMainWindow; |
|
29 |
class PhoneUIKeyEventAdapter; |
|
30 |
class PhoneUiCommandAdapter; |
|
31 |
class QtCall; |
|
32 |
class PhoneUIQtViewAdapter; |
|
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
33 |
class HbTranslator; |
37 | 34 |
|
35 |
class PhoneUiHouseHoldPrivate : |
|
36 |
private MPhonePubSubObserver |
|
37 |
{ |
|
38 |
||
39 |
public: |
|
40 |
||
41 |
PhoneUiHouseHoldPrivate (HbMainWindow &window); |
|
42 |
||
43 |
~PhoneUiHouseHoldPrivate (); |
|
44 |
||
45 |
/** |
|
46 |
* Performs startup signalling. |
|
47 |
* |
|
48 |
* Calls either idle or security signalling. |
|
49 |
*/ |
|
50 |
static TInt DoStartupSignalL( TAny* aAny ); |
|
51 |
||
52 |
/** |
|
53 |
* Idle signalling. |
|
54 |
*/ |
|
55 |
TInt DoStartupSignalIdleL(); |
|
56 |
||
57 |
/** |
|
58 |
* Security signalling. |
|
59 |
*/ |
|
60 |
TInt DoStartupSignalSecurityL(); |
|
61 |
||
62 |
// From MPhonePubSubObserver |
|
63 |
/** |
|
64 |
* This function is called when there is property value change. |
|
65 |
* @param aCategory Category of the property |
|
66 |
* @param aKey Property key that is changed |
|
67 |
* @param aValue New property value |
|
68 |
*/ |
|
69 |
void HandlePropertyChangedL( |
|
70 |
const TUid& aCategory, |
|
71 |
const TUint aKey, |
|
72 |
const TInt aValue ); |
|
73 |
||
74 |
private: |
|
75 |
||
76 |
/** |
|
77 |
* Constructor |
|
78 |
*/ |
|
79 |
void ConstructL(); |
|
80 |
||
81 |
private: |
|
82 |
// Startup states. |
|
83 |
// EPhoneStartupInitial - Initial state. |
|
84 |
// EPhoneStartedUp - Phone application is ready. |
|
85 |
// EPhoneIdleStartedUp - Idle application is ready. |
|
86 |
enum |
|
87 |
{ |
|
88 |
EPhoneStartupInitial = 0x00000001, |
|
89 |
EPhoneStartedUp = 0x00000002, |
|
90 |
EPhoneIdleStartedUp = 0x00000004 |
|
91 |
}; |
|
92 |
||
93 |
||
94 |
// Application (Phone and Idle) startup status. |
|
95 |
TInt iAppsReady; |
|
96 |
||
97 |
// Recovery id for startup signalling. |
|
98 |
TRecoveryId iStartupSignalRecoveryId; |
|
99 |
||
100 |
//Boolean flag. ETrue iff we have reached light idle |
|
101 |
TBool iLightIdleReached; |
|
102 |
||
103 |
//Indicates whether onscreen dialer is defined |
|
104 |
TBool iOnScreenDialer; |
|
105 |
||
106 |
CPhoneUIController* iPhoneUIController; |
|
107 |
||
108 |
HbMainWindow &m_window; |
|
109 |
||
110 |
PhoneUIKeyEventAdapter* iKeyEventAdapter; |
|
111 |
||
112 |
PhoneUiCommandAdapter* iCommandAdapter; |
|
113 |
||
114 |
PhoneUIQtViewAdapter* iViewAdapter; |
|
115 |
||
116 |
//List for translators |
|
46
bc5a64e5bc3c
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
117 |
QList<HbTranslator*> m_translators; |
37 | 118 |
|
119 |
}; |
|
120 |
||
121 |
#endif |