phonebookui/Phonebook2/ccapplication/ccapp/inc/ccaappdocument.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     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:  An instance of class CCCAAppDocument is the 
       
    15 *                Document part of the AVKON application 
       
    16 *                framework for the CCAApp 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef __CCAAPPDOCUMENT_H__
       
    22 #define __CCAAPPDOCUMENT_H__
       
    23 
       
    24 #include <AknDoc.h>
       
    25 
       
    26 class CCCAAppAppUi;
       
    27 class CEikApplication;
       
    28  
       
    29 /**
       
    30  *  An instance of class CCCAAppDocument is the Document part of 
       
    31  *  the AVKON application framework for the CCAApp
       
    32  *
       
    33  *  @lib ccaapp.exe
       
    34  *  @since S60 v5.0
       
    35  */   
       
    36 class CCCAAppDocument : public CAknDocument
       
    37     {
       
    38 
       
    39 public:
       
    40 
       
    41     static CCCAAppDocument* NewL( CEikApplication& aApp );
       
    42     static CCCAAppDocument* NewLC( CEikApplication& aApp );
       
    43 
       
    44     /**
       
    45     * Destructor.
       
    46     */
       
    47     ~CCCAAppDocument();
       
    48 
       
    49 private: 
       
    50 
       
    51 // from base class CEikDocument
       
    52 
       
    53     /**
       
    54      * From CEikDocument
       
    55      * (see details from header)
       
    56      *
       
    57      * @since S60 v5.0
       
    58      */
       
    59     CEikAppUi* CreateAppUiL();
       
    60 
       
    61 private:
       
    62 
       
    63     CCCAAppDocument( CEikApplication& aApp );
       
    64     void ConstructL();
       
    65 
       
    66     };
       
    67 
       
    68 #endif // __CCAAPPDOCUMENT_H__
       
    69 
       
    70 //End Of File