equal
deleted
inserted
replaced
28 #include "peninputmsgqueue.h" |
28 #include "peninputmsgqueue.h" |
29 #include <e32property.h> |
29 #include <e32property.h> |
30 #include <centralrepository.h> |
30 #include <centralrepository.h> |
31 |
31 |
32 #include "peninputcmdparamext.h" |
32 #include "peninputcmdparamext.h" |
|
33 |
|
34 #include <AknCapServerClient.h> |
33 |
35 |
34 // the maximum count of TUpdateArea that area pool can hold |
36 // the maximum count of TUpdateArea that area pool can hold |
35 const TInt KMaxRectNumInBuf = 100; |
37 const TInt KMaxRectNumInBuf = 100; |
36 class CCoeControl; |
38 class CCoeControl; |
37 class CPeninputAnimObj; |
39 class CPeninputAnimObj; |
73 class CPeninputServerSession; |
75 class CPeninputServerSession; |
74 class RMessage; |
76 class RMessage; |
75 class CEventQueue; |
77 class CEventQueue; |
76 class CPtiEngine; |
78 class CPtiEngine; |
77 class CAknLayoutChangeWatcher; |
79 class CAknLayoutChangeWatcher; |
|
80 class CSubscriber; |
78 // DESCRIPTION |
81 // DESCRIPTION |
79 /** |
82 /** |
80 * Class MRawEventHandler |
83 * Class MRawEventHandler |
81 * Raw event handler interface |
84 * Raw event handler interface |
82 * |
85 * |
380 |
383 |
381 TBool AnimOpNeedWaiting(TInt aSignalCode); |
384 TBool AnimOpNeedWaiting(TInt aSignalCode); |
382 |
385 |
383 TInt HandleAppInfoChange(CPeninputServerSession* aSession, |
386 TInt HandleAppInfoChange(CPeninputServerSession* aSession, |
384 const TDesC& aAppInfo, TPeninputAppInfo aType) const; |
387 const TDesC& aAppInfo, TPeninputAppInfo aType) const; |
|
388 static TInt DiscreetPopChangeNotification(TAny* aObj); |
|
389 |
|
390 void HandleDiscreetPopNotification(); |
385 protected: // New functions |
391 protected: // New functions |
386 |
392 |
387 /** |
393 /** |
388 * Default constructor. |
394 * Default constructor. |
389 * |
395 * |
964 CPenInputCrpServiceClient* iCrpService; |
970 CPenInputCrpServiceClient* iCrpService; |
965 //TBool iUiLayoutChange; |
971 //TBool iUiLayoutChange; |
966 CRepository* iSensorRepository; |
972 CRepository* iSensorRepository; |
967 |
973 |
968 TInt iInputLanguage; |
974 TInt iInputLanguage; |
|
975 |
|
976 // Add for notify discreept pop |
|
977 CSubscriber* iDiscreetPopSubscriber; |
|
978 RProperty iDiscreetPopProperty; |
|
979 RAknUiServer iAknUiSrv; |
|
980 TRect iDiscreetPopArea; |
969 }; |
981 }; |
970 |
982 |
971 /** |
983 /** |
972 * Class CEventQueue |
984 * Class CEventQueue |
973 * Event message queue. It's an active object. |
985 * Event message queue. It's an active object. |
1146 TInt iOrientationState; |
1158 TInt iOrientationState; |
1147 }; |
1159 }; |
1148 |
1160 |
1149 #endif //C_CPENINPUTSERVER_H |
1161 #endif //C_CPENINPUTSERVER_H |
1150 |
1162 |
|
1163 /** |
|
1164 * CSubscriber |
|
1165 * Subscribe discreept state. |
|
1166 * |
|
1167 * @since S60 v4.0 |
|
1168 */ |
|
1169 class CSubscriber : public CActive |
|
1170 { |
|
1171 public: |
|
1172 CSubscriber(TCallBack aCallBack, RProperty& aProperty); |
|
1173 ~CSubscriber(); |
|
1174 |
|
1175 public: // New functions |
|
1176 void SubscribeL(); |
|
1177 void StopSubscribe(); |
|
1178 |
|
1179 private: // from CActive |
|
1180 void RunL(); |
|
1181 void DoCancel(); |
|
1182 |
|
1183 private: |
|
1184 TCallBack iCallBack; |
|
1185 RProperty& iProperty; |
|
1186 }; |
1151 // End of File |
1187 // End of File |