diff -r 5aadd1120515 -r b57382753122 clock2/clockui/adtupdater/inc/adtupdaterdocument.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clock2/clockui/adtupdater/inc/adtupdaterdocument.h Wed Nov 03 17:12:22 2010 +0530 @@ -0,0 +1,74 @@ +/* +* Copyright (c) 2008 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: This is the header file for the CAdtUpdaterDocument class. +* +*/ + +#ifndef __ADTUPDATER_DOCUMENT_H__ +#define __ADTUPDATER_DOCUMENT_H__ + +// System includes +#include +#include + +// User includes + +// Forward declarations + +// Class declaration +/** +* @class CAdtUpdaterDocument +* @brief The CAknDocument inheriting class. +* @exe adtupdater.exe +*/ +class CAdtUpdaterDocument : public CAknDocument + { + public: // Constructor and destructor + + /** + * @brief Performs the first phase of 2-phase construction. + * @param aApp CEikApplication& + * @return CAdtUpdaterDocument* Pointer to the object of the document + */ + static CAdtUpdaterDocument* NewL( CEikApplication& aApp ); + + /** + * @brief Destructor. + */ + ~CAdtUpdaterDocument(); + + private: // New functions + + /** + * @brief C++ default Constructor. + * @param aApp CEikApplication& + */ + CAdtUpdaterDocument( CEikApplication& aApp ); + + /** + * @brief Performs the second phase of 2-phase construction. May leave. + */ + void ConstructL(); + + private: // Functions from base classes. + + /** + * @brief From CEikCocument. Creates application UI class. + */ + CEikAppUi* CreateAppUiL(); + }; + +#endif // __ADTUPDATER_DOCUMENT_H__ + +// End of file