diff -r 7333d7932ef7 -r 8b7f4e561641 iaupdate/IAD/ui/inc/iaupdateapplication.h --- a/iaupdate/IAD/ui/inc/iaupdateapplication.h Tue Aug 31 15:21:33 2010 +0300 +++ b/iaupdate/IAD/ui/inc/iaupdateapplication.h Wed Sep 01 12:22:02 2010 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2007-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" @@ -11,30 +11,56 @@ * * Contributors: * -* Description: This file contains the header file of the IAUpdateApplication +* Description: This file contains the header file of the CIAUpdateApplication * class * */ -#ifndef IAUPDATEAPPLICATION_H_ -#define IAUPDATEAPPLICATION_H_ + + +#ifndef __IAUPDATE_APPLICATION_H__ +#define __IAUPDATE_APPLICATION_H__ -#include -#include +// INCLUDES +#include + +#include "iaupdateuids.h" -// forward declarations -class IAUpdateEngine; -class IAUpdateMainWindow; +// CONSTANTS +// UID for the application, this should correspond to the uid defined in the mmp file +static const TUid KUidIAUpdateApp = { KIAUpdateUiUid }; + -class IAUpdateApplication : public HbApplication +/** +* CAppMngrApp application class. +* Provides factory to create concrete document object and +* application server object +*/ +class CIAUpdateApplication : public CAknApplication { -public: - IAUpdateApplication(int argc, char* argv[]); - virtual ~IAUpdateApplication(); -private: - IAUpdateEngine *mEngine; // owned - QSharedPointer mMainWindow; // owned +private: // from CAknApplication + + /** + * Returns application's UID + * @return The UID value + */ + TUid AppDllUid() const; + + /** + * From CApaApplication, creates CAppMngrDocument document object. + * @return A pointer to the created document object. + */ + CApaDocument* CreateDocumentL(); + + /** + * Creates application server. + * @param aAppServer Instance of application server class + */ + void NewAppServerL( CApaAppServer*& aAppServer ); }; + -#endif /* IAUPDATEAPPLICATION_H_ */ +#endif // __IAUPDATE_APPLICATION_H__ + +// End of File \ No newline at end of file