iaupdate/IAD/ui/inc/iaupdatehistoryview.h
changeset 29 26b6f0522fd8
parent 0 ba25891c3a9e
--- a/iaupdate/IAD/ui/inc/iaupdatehistoryview.h	Fri Apr 16 15:05:20 2010 +0300
+++ b/iaupdate/IAD/ui/inc/iaupdatehistoryview.h	Mon May 03 12:38:03 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2009 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,120 +11,21 @@
 *
 * Contributors:
 *
-* Description:   This file contains the header file of the CIAUpdateHistoryView
+* Description:   This file contains the header file of the IAUpdateHistoryView
 *                class 
 *
 */
 
-
-
-#ifndef IA_UPDATE_HISTORY_VIEW_H
-#define IA_UPDATE_HISTORY_VIEW_H
-
-#include <aknview.h> 
-
-class CIAUpdateHistoryContainer;
-class MIAUpdateHistory;
-
-
-/*! 
-  @class CIAUpdateHistoryView
-  
-  @discussion An instance of the Application View object for the IAUpdate 
-  example application
-  */
-class CIAUpdateHistoryView : public CAknView
-    {
+#ifndef IAUPDATEHISTORYVIEW_H_
+#define IAUPDATEHISTORYVIEW_H_
 
-public:
-    
-    /*!
-      @function NewL
-  
-      @discussion Create a CIAUpdateHistoryView object, which will draw itself to aRect
-      @result a pointer to the created instance of CIAUpdateHistoryView
-    */
-    static CIAUpdateHistoryView* NewL( MIAUpdateHistory& aHistory );
-
-    /*!
-      @function NewLC
-   
-      @discussion Create a CIAUpdateHistoryView object, which will draw itself to aRect
-      @result a pointer to the created instance of CIAUpdateHistoryView
-    */
-    static CIAUpdateHistoryView* NewLC( MIAUpdateHistory& aHistory );
-
-
-    /*!
-      @function ~CIAUpdateHistoryView
-      
-      @discussion Destroy the object and release all memory objects
-    */
-    virtual ~CIAUpdateHistoryView();
-
-
-    void RefreshL();       
-
-
-private:  // from CAknView
+#include <HbView.h>
 
-    /*!
-      @see CAknView::Id
-    */
-    virtual TUid Id() const;
-
-
-    /*!
-      @see CAknView::HandleCommandL
-    */
-    virtual void HandleCommandL( TInt aCommand );
-    
-    
-    /*!
-      @see CAknView::DoActivateL
-    */
-    virtual void DoActivateL( const TVwsViewId &aPrevViewId, 
-                              TUid aCustomMessageId, 
-                              const TDesC8 &aCustomMessage);
-    
-    /*!
-      @see CAknView::DoDeactivate
-    */
-    virtual void DoDeactivate();
-
-                        
-private: // Methods
-
-    /*!
-      @function CIAUpdateHistoryView
-      
-      @discussion Perform the first phase of two phase construction 
-    */
-    CIAUpdateHistoryView( MIAUpdateHistory& aHistory );
-
-    
-    /*!
-      @function ConstructL
-      
-      @discussion  Perform the second phase construction of a CIAUpdateHistoryView object
-    */
-    virtual void ConstructL();
-    
-    // Gives the history object that is used to show the history in the view.
-    MIAUpdateHistory& History() const; 
-
-    // Updates the status pane texts.
-    void UpdateStatusPaneL();
-
-    
-private: // Data
-
-    // Contains the item history info
-    MIAUpdateHistory& iHistory;      
-    
-    // Handles the content of the view.
-    CIAUpdateHistoryContainer* iContainer;
-
+class IAUpdateHistoryView : public HbView
+    {
+public:
+    IAUpdateHistoryView();
+    virtual ~IAUpdateHistoryView();
     };
 
-#endif // IA_UPDATE_HISTORY_VIEW_H
+#endif /* IAUPDATEHISTORYVIEW_H_ */