mmsharing/mmshindicator/tsrc/IndicatorTestApp/inc/IndicatorTestAppAppview.h
changeset 15 ccd8e69b5392
parent 2 b31261fd4e04
child 20 e8be2c2e049d
child 22 496ad160a278
equal deleted inserted replaced
2:b31261fd4e04 15:ccd8e69b5392
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "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 * 
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __INDICATORTESTAPP_APPVIEW_H__
       
    19 #define __INDICATORTESTAPP_APPVIEW_H__
       
    20 
       
    21 
       
    22 #include <coecntrl.h>
       
    23 
       
    24 /*! 
       
    25   @class CIndicatorTestAppAppView
       
    26   
       
    27   @discussion An instance of the Application View object for the IndicatorTestApp 
       
    28   example application
       
    29   */
       
    30 class CIndicatorTestAppAppView : public CCoeControl
       
    31     {
       
    32 public:
       
    33 
       
    34 /*!
       
    35   @function NewL
       
    36    
       
    37   @discussion Create a CIndicatorTestAppAppView object, which will draw itself to aRect
       
    38   @param aRect the rectangle this view will be drawn to
       
    39   @result a pointer to the created instance of CIndicatorTestAppAppView
       
    40   */
       
    41     static CIndicatorTestAppAppView* NewL(const TRect& aRect);
       
    42 
       
    43 /*!
       
    44   @function NewLC
       
    45    
       
    46   @discussion Create a CIndicatorTestAppAppView object, which will draw itself to aRect
       
    47   @param aRect the rectangle this view will be drawn to
       
    48   @result a pointer to the created instance of CIndicatorTestAppAppView
       
    49   */
       
    50     static CIndicatorTestAppAppView* NewLC(const TRect& aRect);
       
    51 
       
    52 
       
    53 /*!
       
    54   @function ~CIndicatorTestAppAppView
       
    55   
       
    56   @discussion Destroy the object and release all memory objects
       
    57   */
       
    58      ~CIndicatorTestAppAppView();
       
    59 
       
    60 
       
    61 public:  // from CCoeControl
       
    62 /*!
       
    63   @function Draw
       
    64   
       
    65   @discussion Draw this CIndicatorTestAppAppView to the screen
       
    66   @param aRect the rectangle of this view that needs updating
       
    67   */
       
    68     void Draw(const TRect& aRect) const;
       
    69   
       
    70 
       
    71 private:
       
    72 
       
    73 /*!
       
    74   @function ConstructL
       
    75   
       
    76   @discussion  Perform the second phase construction of a CIndicatorTestAppAppView object
       
    77   @param aRect the rectangle this view will be drawn to
       
    78   */
       
    79     void ConstructL(const TRect& aRect);
       
    80 
       
    81 /*!
       
    82   @function CIndicatorTestAppAppView
       
    83   
       
    84   @discussion Perform the first phase of two phase construction 
       
    85   */
       
    86     CIndicatorTestAppAppView();
       
    87     };
       
    88 
       
    89 
       
    90 #endif // __INDICATORTESTAPP_APPVIEW_H__