phoneapp/phoneuicontrol/inc/cphonestate.h
branchRCL_3
changeset 25 91c2fb4b78df
parent 15 2a26698d78ba
child 31 ba54057fe027
equal deleted inserted replaced
19:544e34b3255a 25:91c2fb4b78df
    40 class CPhoneNumberEntryManager;
    40 class CPhoneNumberEntryManager;
    41 
    41 
    42 enum TStateTransEffectType
    42 enum TStateTransEffectType
    43     {
    43     {
    44     ENoneType,
    44     ENoneType,
       
    45     // These effect types can be used only when NE is opened/closed
       
    46     // when some other app than phone is visible on the foreground/
       
    47     // background.
       
    48     // These cannot be used for internal transitions (=call ui<->dialer).
    45     ENumberEntryOpen,
    49     ENumberEntryOpen,
    46     ENumberEntryClose,
    50     ENumberEntryClose,
    47     ENumberEntryCreate
    51     ENumberEntryCreate
    48     };
    52     };
    49 
    53 
   240         * Handles Long hash key press
   244         * Handles Long hash key press
   241         */
   245         */
   242         IMPORT_C void HandleLongHashL();
   246         IMPORT_C void HandleLongHashL();
   243 
   247 
   244         /**
   248         /**
   245         * Informs view to start Transition effect
   249         * Informs view to start Transition effect if effect
       
   250         * type is feasible for current state.
   246         * @param aType a transition effect, default none
   251         * @param aType a transition effect, default none
   247         * EndTransEffect() must be called when update is done.
   252         * EndTransEffect() must be called when update is done.
   248         */
   253         */
   249         IMPORT_C void BeginTransEffectLC( TStateTransEffectType aType = ENoneType );
   254         IMPORT_C void BeginTransEffectLC( TStateTransEffectType aType = ENoneType );
   250 
   255 
   613         * (long keypress) and the hash character is the only character
   618         * (long keypress) and the hash character is the only character
   614         * in number entry.
   619         * in number entry.
   615         */
   620         */
   616         IMPORT_C virtual void OnlyHashInNumberEntryL();
   621         IMPORT_C virtual void OnlyHashInNumberEntryL();
   617 
   622 
       
   623         /*
       
   624         * Checks if it's ok to use aType effect in this state.
       
   625         *
       
   626         * @param aType effect to be checked
       
   627         * @return true if aType effect can be used
       
   628         */
       
   629         IMPORT_C virtual TBool CanTransEffectTypeBeUsed( TStateTransEffectType aType );
       
   630 
   618         /**
   631         /**
   619         * Informs view that UI is being updated (call bubble or number editor).
   632         * Informs view that UI is being updated (call bubble or number editor).
   620         * EndUiUpdate() must be called when update is done.
   633         * EndUiUpdate() must be called when update is done.
   621         */
   634         */
   622         IMPORT_C void BeginUiUpdateLC();
   635         IMPORT_C void BeginUiUpdateLC();
   709 
   722 
   710         /**
   723         /**
   711         * Returns customized dialer CBA resource id
   724         * Returns customized dialer CBA resource id
   712         */
   725         */
   713         IMPORT_C TInt CustomizedDialerCbaResourceIdL();
   726         IMPORT_C TInt CustomizedDialerCbaResourceIdL();
       
   727         
   714 
   728 
   715     protected: // NumberEntry functions.
   729     protected: // NumberEntry functions.
   716 
   730 
   717         /**
   731         /**
   718         * Set Number Entry visibility.
   732         * Set Number Entry visibility.