textinput/peninputarc/inc/pensrvcliinc/peninputserver.h
branchRCL_3
changeset 20 ebd48d2de13c
parent 15 6c2c2d3ab788
child 21 ecbabf52600f
equal deleted inserted replaced
19:ac7e4d1d9209 20:ebd48d2de13c
    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>
       
    35 
    33 
    36 // the maximum count of TUpdateArea that area pool can hold
    34 // the maximum count of TUpdateArea that area pool can hold
    37 const TInt KMaxRectNumInBuf = 100;
    35 const TInt KMaxRectNumInBuf = 100;
    38 class CCoeControl;
    36 class CCoeControl;
    39 class CPeninputAnimObj;
    37 class CPeninputAnimObj;
    75 class CPeninputServerSession;
    73 class CPeninputServerSession;
    76 class RMessage;
    74 class RMessage;
    77 class CEventQueue;
    75 class CEventQueue;
    78 class CPtiEngine;
    76 class CPtiEngine;
    79 class CAknLayoutChangeWatcher;
    77 class CAknLayoutChangeWatcher;
    80 class CSubscriber;
       
    81 // DESCRIPTION
    78 // DESCRIPTION
    82 /**
    79 /**
    83  * Class MRawEventHandler
    80  * Class MRawEventHandler
    84  * Raw event handler interface
    81  * Raw event handler interface
    85  *
    82  *
   383     
   380     
   384     TBool AnimOpNeedWaiting(TInt aSignalCode);
   381     TBool AnimOpNeedWaiting(TInt aSignalCode);
   385 
   382 
   386     TInt HandleAppInfoChange(CPeninputServerSession* aSession,
   383     TInt HandleAppInfoChange(CPeninputServerSession* aSession,
   387                             const TDesC& aAppInfo, TPeninputAppInfo aType) const;
   384                             const TDesC& aAppInfo, TPeninputAppInfo aType) const;
   388     static TInt DiscreetPopChangeNotification(TAny* aObj);
       
   389     
       
   390     void HandleDiscreetPopNotification();
       
   391 protected:  // New functions
   385 protected:  // New functions
   392 
   386 
   393     /**
   387     /**
   394      * Default constructor.
   388      * Default constructor.
   395      *
   389      *
   563      * Get support input mode
   557      * Get support input mode
   564      * 
   558      * 
   565      * @since S60 v4.0
   559      * @since S60 v4.0
   566      */
   560      */
   567     TInt GetSupportModeL();
   561     TInt GetSupportModeL();
   568     
       
   569     TInt GetSupportModeByLanguageL( TInt aInputLanguage );
       
   570 
   562 
   571 #ifdef RD_TACTILE_FEEDBACK    
   563 #ifdef RD_TACTILE_FEEDBACK    
   572     /**
   564     /**
   573      * Add feedback area.
   565      * Add feedback area.
   574      * 
   566      * 
   970     RFile iLogFile;
   962     RFile iLogFile;
   971 #endif  
   963 #endif  
   972     CPenInputCrpServiceClient* iCrpService;
   964     CPenInputCrpServiceClient* iCrpService;
   973     //TBool iUiLayoutChange;
   965     //TBool iUiLayoutChange;
   974     CRepository* iSensorRepository;
   966     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;
       
   985     };
   967     };
   986 
   968 
   987 /**
   969 /**
   988  * Class CEventQueue
   970  * Class CEventQueue
   989  * Event message queue. It's an active object.
   971  * Event message queue. It's an active object.
  1162     TInt iOrientationState;
  1144     TInt iOrientationState;
  1163     };
  1145     };
  1164     
  1146     
  1165 #endif //C_CPENINPUTSERVER_H
  1147 #endif //C_CPENINPUTSERVER_H
  1166 
  1148 
  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     };
       
  1191 // End of File
  1149 // End of File