phoneuis/easydialing/inc/easydialingplugin.h
branchRCL_3
changeset 34 b68fcd923911
parent 25 91c2fb4b78df
child 39 b8d67d6176f5
equal deleted inserted replaced
31:ba54057fe027 34:b68fcd923911
    68 class CEasyDialingCenrepListener;
    68 class CEasyDialingCenrepListener;
    69 class CEasyDialingContactDataManager;
    69 class CEasyDialingContactDataManager;
    70 class CEDContactorService;
    70 class CEDContactorService;
    71 class CEikMenuPane;
    71 class CEikMenuPane;
    72 class CAsyncCallBack;
    72 class CAsyncCallBack;
    73 
    73 class CEikLabel;
    74 
    74 
    75 // CLASS DECLARATION
    75 // CLASS DECLARATION
    76 
    76 
    77 /**
    77 /**
    78 * Easy dialing plugin.
    78 * Easy dialing plugin.
   120     
   120     
   121     /**
   121     /**
   122     * From CCoeControl
   122     * From CCoeControl
   123     */
   123     */
   124     void MakeVisible( TBool aVisible );
   124     void MakeVisible( TBool aVisible );
       
   125  
       
   126     /**
       
   127     * From CCoeControl
       
   128     */
       
   129     void HandleResourceChange( TInt aType );
   125 
   130 
   126 protected:
   131 protected:
   127 
   132 
   128     /**
   133     /**
   129     * See CCoeControl
   134     * See CCoeControl
   434      * Checks if listbox effect can be triggered. Eg checks if 
   439      * Checks if listbox effect can be triggered. Eg checks if 
   435      * app is in the foreground.
   440      * app is in the foreground.
   436      */  
   441      */  
   437     TBool CanListBoxEffectBeUsed() const;
   442     TBool CanListBoxEffectBeUsed() const;
   438 
   443 
   439 
   444     /**
       
   445      * Sets correct info label text color from theme.
       
   446      */  
       
   447     void SetInfoLabelColourL();
       
   448     
   440 private:
   449 private:
   441 
   450 
   442     /** Textual version of current search string. */
   451     /** Textual version of current search string. */
   443     TBuf<KEDMaxSearchStringLength> iSearchString;
   452     TBuf<KEDMaxSearchStringLength> iSearchString;
   444     
   453     
   515     CAsyncCallBack* iAsyncCallBack;
   524     CAsyncCallBack* iAsyncCallBack;
   516     
   525     
   517     /** Action to be launched next asynchronously. */
   526     /** Action to be launched next asynchronously. */
   518     TEasyDialingAction iActionToBeLaunched;
   527     TEasyDialingAction iActionToBeLaunched;
   519     
   528     
       
   529     /** Contact link related to the asynchronous action. */
       
   530     HBufC8* iContactToBeLaunched;
       
   531     
       
   532     /** Contact name related to the asynchronous action. */
       
   533     HBufC* iContactToBeLaunchedName;
       
   534     
   520     /** Key event to be simulated asynchronously. */
   535     /** Key event to be simulated asynchronously. */
   521     TKeyEvent iKeyEventToSimulate;
   536     TKeyEvent iKeyEventToSimulate;
   522     
   537     
   523     /** Is virtual keyboard currently open or not.*/
   538     /** Is virtual keyboard currently open or not.*/
   524     TBool iVirtualKeyboardOpen;
   539     TBool iVirtualKeyboardOpen;
   525     
   540 
       
   541     /** First line of info text shown when number entry is empty. Owned. */
       
   542     HBufC* iInfoLabelTextLine1;
       
   543     
       
   544     /** Second line of info text shown when number entry is empty. Owned. */
       
   545     HBufC* iInfoLabelTextLine2;
       
   546     
       
   547     /** Label for showing first line of info text when number entry is empty. Owned. */
       
   548     CEikLabel* iInfoLabelLine1;
       
   549     
       
   550     /** Label for showing second line of info text when number entry is empty. Owned. */
       
   551     CEikLabel* iInfoLabelLine2;
   526 };
   552 };
   527 
   553 
   528 
   554 
   529 #endif //__CEASYDIALINGPLUGIN_H__
   555 #endif //__CEASYDIALINGPLUGIN_H__
   530 
   556