--- a/iaupdate/IAD/ui/inc/iaupdateapplication.h Thu Aug 19 10:02:49 2010 +0300
+++ b/iaupdate/IAD/ui/inc/iaupdateapplication.h Tue Aug 31 15:21:33 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2009-2010 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,56 +11,30 @@
*
* Contributors:
*
-* Description: This file contains the header file of the CIAUpdateApplication
+* Description: This file contains the header file of the IAUpdateApplication
* class
*
*/
-
-
-#ifndef __IAUPDATE_APPLICATION_H__
-#define __IAUPDATE_APPLICATION_H__
+#ifndef IAUPDATEAPPLICATION_H_
+#define IAUPDATEAPPLICATION_H_
-// INCLUDES
-#include <aknapp.h>
-
-#include "iaupdateuids.h"
+#include <QSharedPointer>
+#include <hbapplication.h>
-// CONSTANTS
-// UID for the application, this should correspond to the uid defined in the mmp file
-static const TUid KUidIAUpdateApp = { KIAUpdateUiUid };
-
+// forward declarations
+class IAUpdateEngine;
+class IAUpdateMainWindow;
-/**
-* CAppMngrApp application class.
-* Provides factory to create concrete document object and
-* application server object
-*/
-class CIAUpdateApplication : public CAknApplication
+class IAUpdateApplication : public HbApplication
{
+public:
+ IAUpdateApplication(int argc, char* argv[]);
+ virtual ~IAUpdateApplication();
-private: // from CAknApplication
-
- /**
- * Returns application's UID
- * @return The UID value
- */
- TUid AppDllUid() const;
+private:
+ IAUpdateEngine *mEngine; // owned
+ QSharedPointer<IAUpdateMainWindow> mMainWindow; // owned
+ };
- /**
- * 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 // __IAUPDATE_APPLICATION_H__
-
-// End of File
\ No newline at end of file
+#endif /* IAUPDATEAPPLICATION_H_ */