phoneapp/phoneui/inc/cphonedocument.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Application document class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPHONEDOCUMENT_H
       
    20 #define CPHONEDOCUMENT_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <AknDoc.h>
       
    24 
       
    25 // FORWARD DECLARATION
       
    26 class CApaWindowGroupName;
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 *  Application document class for the PhoneUI.
       
    32 *
       
    33 *  @since 4.0
       
    34 *
       
    35 */
       
    36 class CPhoneDocument : public CAknDocument
       
    37     {
       
    38       public:  // Constructors and destructor
       
    39         
       
    40         /**
       
    41         * C++ default constructor.
       
    42         */
       
    43         CPhoneDocument( CEikApplication& aApp );
       
    44 
       
    45         /**
       
    46         * Two-phased constructor.
       
    47         */
       
    48         static CPhoneDocument* NewL( CEikApplication& aApp );
       
    49         
       
    50         /**
       
    51         * Destructor.
       
    52         */
       
    53         virtual ~CPhoneDocument();
       
    54 
       
    55         /**
       
    56         * @see CEikDocument::UpdateTaskNameL
       
    57         * @since 2.8
       
    58         */
       
    59         void UpdateTaskNameL( CApaWindowGroupName* aWgName );
       
    60 
       
    61     private:
       
    62 
       
    63         /**
       
    64         * From CAknDocument: Creates an instance of application UI
       
    65         */
       
    66         CEikAppUi* CreateAppUiL();
       
    67  
       
    68     };
       
    69 
       
    70 #endif      // CPHONEDOCUMENT_H
       
    71             
       
    72 // End of File