vtuis/videotelui/inc/CVtUiMainControl.h
branchRCL_3
changeset 11 50bbdc59f9c4
parent 0 ed9695c8bcbe
child 14 856ae1b15d98
equal deleted inserted replaced
10:f84a661cfc1d 11:50bbdc59f9c4
    22 
    22 
    23 //  INCLUDES
    23 //  INCLUDES
    24 #include    "cvtuivideocontrolbase.h"
    24 #include    "cvtuivideocontrolbase.h"
    25 
    25 
    26 // CLASS DECLARATION
    26 // CLASS DECLARATION
       
    27 class CVtUiAppUi;
    27 class TVtUiStates;
    28 class TVtUiStates;
    28 class TAknTextLineLayout;
    29 class TAknTextLineLayout;
    29 
    30 
    30 /**
    31 /**
    31 *  Main pane control for Video Telephone application.
    32 *  Main pane control for Video Telephone application.
    41         * Constructor.
    42         * Constructor.
    42         * @param aBitmapManager bitmap manager.
    43         * @param aBitmapManager bitmap manager.
    43         * @param aUiStates Ui states class.
    44         * @param aUiStates Ui states class.
    44         */
    45         */
    45         static CVtUiMainControl* NewL( CVtUiBitmapManager& aBitmapManager,
    46         static CVtUiMainControl* NewL( CVtUiBitmapManager& aBitmapManager,
    46             TVtUiStates& aUiStates );
    47                 CVtUiAppUi& aAppUi,
       
    48                 TVtUiStates& aUiStates );
    47 
    49 
    48         /**
    50         /**
    49         * C++ destructor.
    51         * C++ destructor.
    50         */
    52         */
    51         ~CVtUiMainControl();
    53         ~CVtUiMainControl();
    60 
    62 
    61          /**
    63          /**
    62          * LayoutRemoteVideo
    64          * LayoutRemoteVideo
    63          */
    65          */
    64         void LayoutRemoteVideo();
    66         void LayoutRemoteVideo();
       
    67 
       
    68     public: // from CCoeControl
       
    69 
       
    70         /**
       
    71         * @see CCoeControl::HandlePointerEventL
       
    72         */
       
    73         void HandlePointerEventL( const TPointerEvent& aPointerEvent );
    65 
    74 
    66     private: // from CVtUiVideoControlBase
    75     private: // from CVtUiVideoControlBase
    67 
    76 
    68         /**
    77         /**
    69         * @see CVtUiContextControl::HandleSizeChanged
    78         * @see CVtUiContextControl::HandleSizeChanged
   109 
   118 
   110         /**
   119         /**
   111         * Private constructor.
   120         * Private constructor.
   112         */
   121         */
   113         CVtUiMainControl( CVtUiBitmapManager& aBitmapManager,
   122         CVtUiMainControl( CVtUiBitmapManager& aBitmapManager,
   114             TVtUiStates& aUiStates );
   123                 CVtUiAppUi& aAppUi,
       
   124                 TVtUiStates& aUiStates );
   115 
   125 
   116         /**
   126         /**
   117         * C++ constructor.
   127         * C++ constructor.
   118         * @param aBitmapManager bitmap manager.
   128         * @param aBitmapManager bitmap manager.
   119         */
   129         */
   142         TAknLayoutRect iStreamLayoutRect;
   152         TAknLayoutRect iStreamLayoutRect;
   143 
   153 
   144         // ETrue if sqcif is used in remote video.
   154         // ETrue if sqcif is used in remote video.
   145         TBool iSQCifRemote;
   155         TBool iSQCifRemote;
   146 
   156 
       
   157         // Reference to application UI.
       
   158         CVtUiAppUi& iAppUi;
       
   159 
   147         // reference to uistates
   160         // reference to uistates
   148         TVtUiStates& iUiStates;
   161         TVtUiStates& iUiStates;
   149 
   162 
   150     };
   163     };
   151 
   164