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 * |
557 * Get support input mode |
563 * Get support input mode |
558 * |
564 * |
559 * @since S60 v4.0 |
565 * @since S60 v4.0 |
560 */ |
566 */ |
561 TInt GetSupportModeL(); |
567 TInt GetSupportModeL(); |
|
568 |
|
569 TInt GetSupportModeByLanguageL( TInt aInputLanguage ); |
562 |
570 |
563 #ifdef RD_TACTILE_FEEDBACK |
571 #ifdef RD_TACTILE_FEEDBACK |
564 /** |
572 /** |
565 * Add feedback area. |
573 * Add feedback area. |
566 * |
574 * |
962 RFile iLogFile; |
970 RFile iLogFile; |
963 #endif |
971 #endif |
964 CPenInputCrpServiceClient* iCrpService; |
972 CPenInputCrpServiceClient* iCrpService; |
965 //TBool iUiLayoutChange; |
973 //TBool iUiLayoutChange; |
966 CRepository* iSensorRepository; |
974 CRepository* iSensorRepository; |
|
975 |
|
976 TInt iInputLanguage; |
|
977 |
|
978 // Add for notify discreept pop |
|
979 CSubscriber* iDiscreetPopSubscriber; |
|
980 RProperty iDiscreetPopProperty; |
|
981 RAknUiServer iAknUiSrv; |
|
982 TRect iDiscreetPopArea; |
|
983 TBool iEnablePriorityChangeOnOriChange; |
|
984 TBool iIsLayoutReDrawAllowWhenActive; |
967 }; |
985 }; |
968 |
986 |
969 /** |
987 /** |
970 * Class CEventQueue |
988 * Class CEventQueue |
971 * Event message queue. It's an active object. |
989 * Event message queue. It's an active object. |
1144 TInt iOrientationState; |
1162 TInt iOrientationState; |
1145 }; |
1163 }; |
1146 |
1164 |
1147 #endif //C_CPENINPUTSERVER_H |
1165 #endif //C_CPENINPUTSERVER_H |
1148 |
1166 |
|
1167 /** |
|
1168 * CSubscriber |
|
1169 * Subscribe discreept state. |
|
1170 * |
|
1171 * @since S60 v4.0 |
|
1172 */ |
|
1173 class CSubscriber : public CActive |
|
1174 { |
|
1175 public: |
|
1176 CSubscriber(TCallBack aCallBack, RProperty& aProperty); |
|
1177 ~CSubscriber(); |
|
1178 |
|
1179 public: // New functions |
|
1180 void SubscribeL(); |
|
1181 void StopSubscribe(); |
|
1182 |
|
1183 private: // from CActive |
|
1184 void RunL(); |
|
1185 void DoCancel(); |
|
1186 |
|
1187 private: |
|
1188 TCallBack iCallBack; |
|
1189 RProperty& iProperty; |
|
1190 }; |
1149 // End of File |
1191 // End of File |