--- a/textinput/peninputarc/inc/pensrvcliinc/peninputserver.h Tue Aug 31 15:31:50 2010 +0300
+++ b/textinput/peninputarc/inc/pensrvcliinc/peninputserver.h Wed Sep 01 12:23:33 2010 +0100
@@ -31,6 +31,8 @@
#include "peninputcmdparamext.h"
+#include <AknCapServerClient.h>
+
// the maximum count of TUpdateArea that area pool can hold
const TInt KMaxRectNumInBuf = 100;
class CCoeControl;
@@ -75,6 +77,7 @@
class CEventQueue;
class CPtiEngine;
class CAknLayoutChangeWatcher;
+class CSubscriber;
// DESCRIPTION
/**
* Class MRawEventHandler
@@ -382,6 +385,9 @@
TInt HandleAppInfoChange(CPeninputServerSession* aSession,
const TDesC& aAppInfo, TPeninputAppInfo aType) const;
+ static TInt DiscreetPopChangeNotification(TAny* aObj);
+
+ void HandleDiscreetPopNotification();
protected: // New functions
/**
@@ -559,6 +565,8 @@
* @since S60 v4.0
*/
TInt GetSupportModeL();
+
+ TInt GetSupportModeByLanguageL( TInt aInputLanguage );
#ifdef RD_TACTILE_FEEDBACK
/**
@@ -964,6 +972,16 @@
CPenInputCrpServiceClient* iCrpService;
//TBool iUiLayoutChange;
CRepository* iSensorRepository;
+
+ TInt iInputLanguage;
+
+ // Add for notify discreept pop
+ CSubscriber* iDiscreetPopSubscriber;
+ RProperty iDiscreetPopProperty;
+ RAknUiServer iAknUiSrv;
+ TRect iDiscreetPopArea;
+ TBool iEnablePriorityChangeOnOriChange;
+ TBool iIsLayoutReDrawAllowWhenActive;
};
/**
@@ -1146,4 +1164,28 @@
#endif //C_CPENINPUTSERVER_H
+/**
+ * CSubscriber
+ * Subscribe discreept state.
+ *
+ * @since S60 v4.0
+ */
+class CSubscriber : public CActive
+ {
+public:
+ CSubscriber(TCallBack aCallBack, RProperty& aProperty);
+ ~CSubscriber();
+
+public: // New functions
+ void SubscribeL();
+ void StopSubscribe();
+
+private: // from CActive
+ void RunL();
+ void DoCancel();
+
+private:
+ TCallBack iCallBack;
+ RProperty& iProperty;
+ };
// End of File