mmsharing/mmshindicator/tsrc/IndicatorTestApp/inc/IndicatorTestAppDocument.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_DOCUMENT_H__
       
    19 #define __INDICATORTESTAPP_DOCUMENT_H__
       
    20 
       
    21 
       
    22 #include <akndoc.h>
       
    23 
       
    24 // Forward references
       
    25 class CIndicatorTestAppAppUi;
       
    26 class CEikApplication;
       
    27 
       
    28 
       
    29 /*! 
       
    30   @class CIndicatorTestAppDocument
       
    31   
       
    32   @discussion An instance of class CIndicatorTestAppDocument is the Document part of the AVKON
       
    33   application framework for the IndicatorTestApp example application
       
    34   */
       
    35 class CIndicatorTestAppDocument : public CAknDocument
       
    36     {
       
    37 public:
       
    38 
       
    39 /*!
       
    40   @function NewL
       
    41   
       
    42   @discussion Construct a CIndicatorTestAppDocument for the AVKON application aApp 
       
    43   using two phase construction, and return a pointer to the created object
       
    44   @param aApp application creating this document
       
    45   @result a pointer to the created instance of CIndicatorTestAppDocument
       
    46   */
       
    47     static CIndicatorTestAppDocument* NewL(CEikApplication& aApp);
       
    48 
       
    49 /*!
       
    50   @function NewLC
       
    51   
       
    52   @discussion Construct a CIndicatorTestAppDocument for the AVKON application aApp 
       
    53   using two phase construction, and return a pointer to the created object
       
    54   @param aApp application creating this document
       
    55   @result a pointer to the created instance of CIndicatorTestAppDocument
       
    56   */
       
    57     static CIndicatorTestAppDocument* NewLC(CEikApplication& aApp);
       
    58 
       
    59 /*!
       
    60   @function ~CIndicatorTestAppDocument
       
    61   
       
    62   @discussion Destroy the object and release all memory objects
       
    63   */
       
    64     ~CIndicatorTestAppDocument();
       
    65 
       
    66 public: // from CAknDocument
       
    67 /*!
       
    68   @function CreateAppUiL 
       
    69   
       
    70   @discussion Create a CIndicatorTestAppAppUi object and return a pointer to it
       
    71   @result a pointer to the created instance of the AppUi created
       
    72   */
       
    73     CEikAppUi* CreateAppUiL();
       
    74 
       
    75 private:
       
    76 
       
    77 /*!
       
    78   @function ConstructL
       
    79   
       
    80   @discussion Perform the second phase construction of a CIndicatorTestAppDocument object
       
    81   */
       
    82     void ConstructL();
       
    83 
       
    84 /*!
       
    85   @function CIndicatorTestAppDocument
       
    86   
       
    87   @discussion Perform the first phase of two phase construction 
       
    88   @param aApp application creating this document
       
    89   */
       
    90     CIndicatorTestAppDocument(CEikApplication& aApp);
       
    91 
       
    92     };
       
    93 
       
    94 
       
    95 #endif // __INDICATORTESTAPP_DOCUMENT_H__