textinput/peninputarc/inc/pensrvcliinc/peninputclientimpl.h
branchRCL_3
changeset 12 5e18d8c489d6
parent 11 c8fb4cf7b3ae
child 13 1bbdde98cc2d
equal deleted inserted replaced
11:c8fb4cf7b3ae 12:5e18d8c489d6
    30 
    30 
    31 class CPeninputServerObserver;
    31 class CPeninputServerObserver;
    32 class MPenUiActivationHandler;
    32 class MPenUiActivationHandler;
    33 class CPenUiBackgroundWnd;
    33 class CPenUiBackgroundWnd;
    34 	  
    34 	  
    35 NONSHARABLE_CLASS(CPeninputServerWaiter) : public CBase
       
    36     {
       
    37     public:
       
    38         static CPeninputServerWaiter* NewL();    
       
    39         void Start();
       
    40         void Stop(TInt aFlag);
       
    41         TBool IsStarted() 
       
    42             {
       
    43              return iWaitScheduler->IsStarted();
       
    44             }
       
    45         TInt Error() 
       
    46             {
       
    47              return iError;
       
    48             }
       
    49         ~CPeninputServerWaiter();
       
    50     protected:
       
    51     private:
       
    52         //CPeninputServerWaiter();
       
    53         void ConstructL();       
       
    54         TInt iError;
       
    55         CActiveSchedulerWait* iWaitScheduler;                         
       
    56     };
       
    57 
       
    58 NONSHARABLE_CLASS(TUiNotificationHandler)
    35 NONSHARABLE_CLASS(TUiNotificationHandler)
    59     {
    36     {
    60     public:
    37     public:
    61         TUiNotificationHandler(MPenUiActivationHandler* aHandler,TInt aType);
    38         TUiNotificationHandler(MPenUiActivationHandler* aHandler,TInt aType);
    62     public:
    39     public:
   424      * @param aType The information type
   401      * @param aType The information type
   425      */     
   402      */     
   426     void UpdateAppInfo(const TDesC& aInfo, TPeninputAppInfo aType);    
   403     void UpdateAppInfo(const TDesC& aInfo, TPeninputAppInfo aType);    
   427     
   404     
   428     void HandleServerExit();
   405     void HandleServerExit();
   429     void OnServerReady(TBool aFlag = ETrue);
   406     //void OnServerReady(TBool aFlag = ETrue);
   430     TBool IsForegroundSession();
   407     TBool IsForegroundSession();
   431     //void SetForegroundFlag(TBool aFlag);
   408     //void SetForegroundFlag(TBool aFlag);
   432     void FinalClose();    
   409     void FinalClose();    
   433     /*
   410     /*
   434      * Enable/disable the auto open feature. When auto open feature is on, Focus change event 
   411      * Enable/disable the auto open feature. When auto open feature is on, Focus change event 
   537      * server active flag
   514      * server active flag
   538      */
   515      */
   539     TBool  iServerExit;
   516     TBool  iServerExit;
   540         
   517         
   541     TBool iLaunchServer;
   518     TBool iLaunchServer;
   542     
       
   543     //CActiveSchedulerWait* iWaitScheduler;
       
   544     CPeninputServerWaiter * iWaitScheduler;
       
   545     
   519     
   546     TInt iCurPenUiType;    
   520     TInt iCurPenUiType;    
   547     
   521     
   548     CPenUiBackgroundWnd* iBackgroundCtrl;
   522     CPenUiBackgroundWnd* iBackgroundCtrl;
   549     
   523