emailuis/emailui/inc/ncscomposeview.h
branchRCL_3
changeset 80 726fba06891a
parent 70 968773a0b6ef
equal deleted inserted replaced
73:c8382f7b54ef 80:726fba06891a
    78         // This is transient commit, message may get further modifications
    78         // This is transient commit, message may get further modifications
    79         ETransient,
    79         ETransient,
    80         // This is final commit, no more incoming changes
    80         // This is final commit, no more incoming changes
    81         EFinal
    81         EFinal
    82         };
    82         };
    83 
       
    84      // can't close view if ChildDoActivateL()
       
    85      enum TChildActivationState 
       
    86          {
       
    87          EChildActivationDeactivated,
       
    88          EChildActivationStarted,
       
    89          EChildActivationError,  // error during activation
       
    90          EChildActivationExitRequired, // activation ended, exit the view
       
    91          EChildActivationProcessed
       
    92          };
       
    93         
    83         
    94 public:   // constructors and destructor
    84 public:   // constructors and destructor
    95 
    85 
    96     /**
    86     /**
    97     * NewL.
    87     * NewL.
   166     * HandleDynamicVariantSwitchL
   156     * HandleDynamicVariantSwitchL
   167     * Recalculates component layout 
   157     * Recalculates component layout 
   168     */
   158     */
   169     void HandleDynamicVariantSwitchL( 
   159     void HandleDynamicVariantSwitchL( 
   170             CFsEmailUiViewBase::TDynamicSwitchType aType );
   160             CFsEmailUiViewBase::TDynamicSwitchType aType );
   171     /**  
       
   172     * to hide or show CAlfVisuals ( used for activation or deactivation )
       
   173     */             
       
   174     virtual void FadeOut( TBool aDirectionOut );
       
   175         
   161         
   176 public: // from MAlfActionObserver
   162 public: // from MAlfActionObserver
   177     	
   163     	
   178     void HandleActionL( const TAlfActionCommand& aActionCommand );
   164     void HandleActionL( const TAlfActionCommand& aActionCommand );
   179 
   165 
   534     static TInt AsyncExit( TAny* aSelfPtr );
   520     static TInt AsyncExit( TAny* aSelfPtr );
   535 
   521 
   536     // Gets button from toolbar extension.
   522     // Gets button from toolbar extension.
   537     CAknButton* Button( TInt aCmdId, 
   523     CAknButton* Button( TInt aCmdId, 
   538         CAknToolbarExtension* aExtension = NULL );
   524         CAknToolbarExtension* aExtension = NULL );
   539     TBool WLANConnectionActive();
       
   540 
   525 
   541 private:   // Constructors and destructor
   526 private:   // Constructors and destructor
   542 
   527 
   543     /**
   528     /**
   544     * CNcsComposeView
   529     * CNcsComposeView
   732     
   717     
   733     /**
   718     /**
   734      * Flag indicating that adding attachment dialog is opened.
   719      * Flag indicating that adding attachment dialog is opened.
   735      */
   720      */
   736     TBool iAddingAttachmentDialogOpened;
   721     TBool iAddingAttachmentDialogOpened;
   737     
       
   738     TChildActivationState iChildActivationState;
       
   739     };
   722     };
   740 
   723 
   741 /**
   724 /**
   742 * This class is used by CNcsComposeView for waiting its own async tasks.
   725 * This class is used by CNcsComposeView for waiting its own async tasks.
   743 *  
   726 *