diff -r 7ac58b2aae6f -r ce92091cbd61 calendarui/views/inc/calennativeview.h --- 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