phoneapp/phoneuiview/inc/cphoneview.h
branchRCL_3
changeset 31 ba54057fe027
parent 17 38529f706030
equal deleted inserted replaced
25:91c2fb4b78df 31:ba54057fe027
    26 // FORWARD DECLARATIONS
    26 // FORWARD DECLARATIONS
    27 class CAknsLayeredBackgroundControlContext;
    27 class CAknsLayeredBackgroundControlContext;
    28 class TPhoneCommandParam;
    28 class TPhoneCommandParam;
    29 class CEikButtonGroupContainer;
    29 class CEikButtonGroupContainer;
    30 class MPhoneViewObserver;
    30 class MPhoneViewObserver;
       
    31 class MPhoneViewControllerObserver;
    31 
    32 
    32 // CLASS DECLARATION
    33 // CLASS DECLARATION
    33 
    34 
    34 /**
    35 /**
    35 *   Base class for protocol spesific call header views.
    36 *   Base class for protocol spesific call header views.
    36 */
    37 */
    37 class CPhoneView : public CCoeControl, public MCoeView
    38 class CPhoneView : public CCoeControl, public MCoeView
    38     {
    39     {
    39     public:  // Constructors and destructor        
    40     public:  // Constructors and destructor        
    40 
    41 
    41         static CPhoneView* NewL( TRect aRect, CEikButtonGroupContainer& aCba );
    42         static CPhoneView* NewL( TRect aRect, CEikButtonGroupContainer& aCba, MPhoneViewControllerObserver* aViewController );
    42 
    43 
    43         virtual ~CPhoneView();
    44         virtual ~CPhoneView();
    44 
    45 
    45     public: // Functions from base classes
    46     public: // Functions from base classes
    46 
    47 
   206         */
   207         */
   207         void ViewDeactivated();
   208         void ViewDeactivated();
   208 
   209 
   209     private:
   210     private:
   210 
   211 
   211         CPhoneView( CEikButtonGroupContainer& aCba );
   212         CPhoneView( CEikButtonGroupContainer& aCba, MPhoneViewControllerObserver* aViewController );
   212 
   213 
   213         void ConstructL( TRect aRect );
   214         void ConstructL( TRect aRect );
   214 
   215 
   215     private:
   216     private:
   216 
   217 
   253         
   254         
   254         CEikButtonGroupContainer& iCba;
   255         CEikButtonGroupContainer& iCba;
   255         
   256         
   256         MPhoneViewObserver* iObserver;
   257         MPhoneViewObserver* iObserver;
   257         
   258         
   258         TBool iDialerActivation;
   259         TBool iDialerActivation;       
       
   260         
       
   261         MPhoneViewControllerObserver* iViewControllerObserver;
   259         };
   262         };
   260 
   263 
   261 #endif // __CPHONEVIEW_H
   264 #endif // __CPHONEVIEW_H
   262 
   265