/*
* Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Application Document class, CAddressBookDocument - 
*				 stores and restores the state of the application
*
*/


#ifndef ADDRESSBOOKDOCUMENT_H
#define ADDRESSBOOKDOCUMENT_H

// INCLUDES
#include <akndoc.h>
   
// FORWARD DECLARATIONS
class  CEikAppUi;

// CLASS DECLARATION

/**
*  CAddressBookDocument application class.
*/
class CAddressBookDocument : public CAknDocument
    {
    public: // Constructors and destructor
        
        /**
        * Two-phased constructor.
        */
        static CAddressBookDocument* NewL(CEikApplication& aApp);

        /**
        * Destructor.
        */
        virtual ~CAddressBookDocument();

    private: // Constructors

        /**
        * C++ default constructor.
        */
        CAddressBookDocument(CEikApplication& aApp);
        
       	// Functions from base classes
        /**
        * From CEikDocument, create CAddressBookAppUi "App UI" object.
        * @return AddressBook Ui
        */
        CEikAppUi* CreateAppUiL();
    };

#endif //ADDRESSBOOKDOCUMENT_H

// End of File

