tsrc/fusionmpxplayer_test/FusionMpxPlayerTestExeUi/inc/FusionPlayerTestAppDocument.h
branchRCL_3
changeset 10 112a725ff2c2
parent 9 5294c000a26d
child 11 8970fbd719ec
equal deleted inserted replaced
9:5294c000a26d 10:112a725ff2c2
     1 /*
       
     2 * Copyright (c) 2008 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 the License "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 
       
    19 #ifndef FUSIONPLAYERTESTAPPDOCUMENT_H__
       
    20 #define FUSIONPLAYERTESTAPPDOCUMENT_H__
       
    21 
       
    22 
       
    23 #include <akndoc.h>
       
    24 
       
    25 // Forward references
       
    26 class CEikApplication;
       
    27 class MMPXViewUtility;
       
    28 
       
    29 /**
       
    30  * Class:		CFusionPlayerTestAppDocument
       
    31  */
       
    32 class CFusionPlayerTestAppDocument : public CAknDocument
       
    33     {
       
    34 public:
       
    35 
       
    36  /**
       
    37   *Function:	NewL
       
    38   *
       
    39   *Discussion:  Construct a CFusionPlayerTestAppDocument for the AVKON application
       
    40   *				aApp using two phase construction, and return a pointer to
       
    41   *				the created object
       
    42   *
       
    43   *Param:		aApp -  application creating this document
       
    44   *
       
    45   *Returns:		a pointer to the created instance of CFusionPlayerTestAppDocument
       
    46   *
       
    47   */
       
    48     static CFusionPlayerTestAppDocument* NewL(CEikApplication& aApp);
       
    49 
       
    50  /**
       
    51   *Function:	NewLC
       
    52   *
       
    53   *Discussion:	Construct a CFusionPlayerTestAppDocument for the AVKON application
       
    54   *				aApp using two phase construction, and return a pointer to the
       
    55   *				created object. Pointer to object is left on the cleanup stack
       
    56   *
       
    57   *Param:		aApp application creating this document
       
    58   *
       
    59   *Returns:		a pointer to the created instance of CFusionPlayerTestAppDocument
       
    60   *
       
    61   */
       
    62     static CFusionPlayerTestAppDocument* NewLC(CEikApplication& aApp);
       
    63 
       
    64  /**
       
    65   *Function:	~CFusionPlayerTestAppDocument
       
    66   *
       
    67   *Discussion:	 Destroy the object and release all memory objects
       
    68   *
       
    69   */
       
    70     ~CFusionPlayerTestAppDocument();
       
    71 
       
    72  /**
       
    73   *Function:	CreateAppUiL
       
    74   *
       
    75   *Discussion:	Create a CFusionPlayerTestAppAppUi object and return a pointer to it
       
    76   *Returns :	a pointer to the created instance of the AppUi created
       
    77   */
       
    78     CEikAppUi* CreateAppUiL();
       
    79 private:
       
    80 
       
    81  /**
       
    82   *Function:	ConstructL
       
    83   *
       
    84   *Discussion:	Perform the second phase construction of a CFusionPlayerTestAppDocument object
       
    85   */
       
    86     void ConstructL();
       
    87 
       
    88  /**
       
    89   *Function:	CFusionPlayerTestAppDocument
       
    90   *
       
    91   *Discussion:	Perform the first phase of two phase construction
       
    92   *
       
    93   *Param:		aApp application creating this document
       
    94   */
       
    95     CFusionPlayerTestAppDocument(CEikApplication& aApp);
       
    96 
       
    97     MMPXViewUtility* iViewUtility;
       
    98     
       
    99     };
       
   100 
       
   101 
       
   102 #endif // FUSIONPLAYERTESTAPPDOCUMENT_H__