calendarui/views/inc/calennativeview.h
changeset 81 ce92091cbd61
parent 75 7ac58b2aae6f
child 83 5aadd1120515
--- a/calendarui/views/inc/calennativeview.h	Mon Sep 20 12:44:39 2010 +0530
+++ b/calendarui/views/inc/calennativeview.h	Tue Oct 05 13:57:00 2010 +0530
@@ -40,6 +40,7 @@
 
 class MCalenServices;
 class HbDateTimePicker;
+class AfActivityStorage;
 
 class  CalenNativeView : public CalenView,
                         public MCalenNotificationHandler
@@ -67,6 +68,11 @@
 	    virtual void onLocaleChanged(int reason)=0;
 	    virtual void onContextChanged() {};
 	    virtual bool checkIfWeCanSwipe(QDateTime& date, bool rightGesture);
+	    /**
+	     * removeActivity  removes the current view from the  activity
+	     * 
+	     */
+	    bool removeActivity();
 	    
 	signals:
 			void closeDialogs();
@@ -88,7 +94,7 @@
 	void refreshDatePicker();
 	
     protected:
-    
+        AfActivityStorage *mActivityStorage;
         MCalenServices	&mServices; // not owned.
         int             mActivityId; // Recent Activity ID, currently it holdes wither of ECalenMonthView or ECalenAgendaView
         QVariantHash    mScreenShotMetadata; // Screenshot