mmsharing/mmshui/inc/musuidocument.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 0 f0cf47e981f9
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
       
     1 /*
       
     2 * Copyright (c) 2005 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:  Document class of the application.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MUSUIDOCUMENT_H
       
    20 #define MUSUIDOCUMENT_H
       
    21 
       
    22 #include <AknDoc.h> // Avkon document base class
       
    23 
       
    24 class CEikAppUi;
       
    25 
       
    26 /**
       
    27  * Document class of MUS application.
       
    28  *
       
    29  * @lib musui.exe
       
    30  */
       
    31 class CMusUiDocument : public CAknDocument
       
    32     {
       
    33 
       
    34 public:  // Constructors and destructor
       
    35 
       
    36     /**
       
    37     * Two-phased constructor.
       
    38     * @param aApp Handle to Eikon's application class
       
    39     * @return a new instance of CMusUiDocument
       
    40     */
       
    41     static CMusUiDocument* NewL( CEikApplication& aApp );
       
    42 
       
    43     /**
       
    44     * Destructor.
       
    45     */
       
    46     virtual ~CMusUiDocument();
       
    47 
       
    48 private:
       
    49 
       
    50     /**
       
    51     * Default constructor
       
    52     * @param aApp Handle to Eikon's application class
       
    53     */
       
    54     CMusUiDocument( CEikApplication& aApp );
       
    55 
       
    56     /**
       
    57     * By default Symbian 2nd phase constructor is private.
       
    58     */
       
    59     void ConstructL();
       
    60 
       
    61 private: // Functions from base classes
       
    62 
       
    63     /**
       
    64     * From CEikDocument, create CMusUiAppUi "App UI" object.
       
    65     * @return a new instance of Mus Applications AppUi class
       
    66     */
       
    67     CEikAppUi* CreateAppUiL();
       
    68 
       
    69 private: // data
       
    70 
       
    71 
       
    72     };
       
    73 
       
    74 #endif // CMUSUIDOCUMENT_H
       
    75 
       
    76 // end of file