videditor/TrimForMms/inc/TrimForMmsAppview.h
changeset 0 951a5db380a0
equal deleted inserted replaced
-1:000000000000 0:951a5db380a0
       
     1 /*
       
     2 * Copyright (c) 2010 Ixonos Plc.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - Initial contribution
       
    11 *
       
    12 * Contributors:
       
    13 * Ixonos Plc
       
    14 *
       
    15 * Description:  
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 /* ====================================================================
       
    21  * File: TrimForMmsAppView.h
       
    22  * Created: 04/18/06
       
    23  * Author: 
       
    24  * 
       
    25  * ==================================================================== */
       
    26 
       
    27 #ifndef __TRIMFORMMS_APPVIEW_H__
       
    28 #define __TRIMFORMMS_APPVIEW_H__
       
    29 
       
    30 
       
    31 #include <coecntrl.h>
       
    32 
       
    33 // FORWARD DECLARATIONS
       
    34 class CSendUi;
       
    35 
       
    36 /*! 
       
    37   @class CTrimForMmsAppView
       
    38   
       
    39   @discussion An instance of the Application View object for the TrimForMms 
       
    40   example application
       
    41   */
       
    42 class CTrimForMmsAppView : public CCoeControl
       
    43     {
       
    44 public:
       
    45 
       
    46 /*!
       
    47   @function NewL
       
    48    
       
    49   @discussion Create a CTrimForMmsAppView object, which will draw itself to aRect
       
    50   @param aRect the rectangle this view will be drawn to
       
    51   @result a pointer to the created instance of CTrimForMmsAppView
       
    52   */
       
    53     static CTrimForMmsAppView* NewL(const TRect& aRect);
       
    54 
       
    55 /*!
       
    56   @function NewLC
       
    57    
       
    58   @discussion Create a CTrimForMmsAppView object, which will draw itself to aRect
       
    59   @param aRect the rectangle this view will be drawn to
       
    60   @result a pointer to the created instance of CTrimForMmsAppView
       
    61   */
       
    62     static CTrimForMmsAppView* NewLC(const TRect& aRect);
       
    63 
       
    64 
       
    65 /*!
       
    66   @function ~CTrimForMmsAppView
       
    67   
       
    68   @discussion Destroy the object and release all memory objects
       
    69   */
       
    70      ~CTrimForMmsAppView();
       
    71 
       
    72 
       
    73 public:  // from CCoeControl
       
    74 /*!
       
    75   @function Draw
       
    76   
       
    77   @discussion Draw this CTrimForMmsAppView to the screen
       
    78   @param aRect the rectangle of this view that needs updating
       
    79   */
       
    80     void Draw(const TRect& aRect) const;
       
    81   
       
    82 
       
    83 private:
       
    84 
       
    85 /*!
       
    86   @function ConstructL
       
    87   
       
    88   @discussion  Perform the second phase construction of a CTrimForMmsAppView object
       
    89   @param aRect the rectangle this view will be drawn to
       
    90   */
       
    91     void ConstructL(const TRect& aRect);
       
    92 
       
    93 /*!
       
    94   @function CTrimForMmsAppView
       
    95   
       
    96   @discussion Perform the first phase of two phase construction 
       
    97   */
       
    98     CTrimForMmsAppView();
       
    99     
       
   100     
       
   101     // Send UI
       
   102     CSendUi*        iSendUi;
       
   103     
       
   104     };
       
   105 
       
   106 
       
   107 #endif // __TRIMFORMMS_APPVIEW_H__