diff -r 07e82e2b738b -r 51372538e3d3 calendarui/controller/inc/calencontroller.h --- a/calendarui/controller/inc/calencontroller.h Sun Jun 20 22:50:42 2010 +0200 +++ b/calendarui/controller/inc/calencontroller.h Sun Jun 20 22:55:39 2010 +0200 @@ -254,7 +254,7 @@ * Get calendar icon of specific type * @return CGulIcon* */ - CGulIcon* GetIconL(MCalenServices::TCalenIcons aIndex); + CGulIcon* GetIconL(MCalenServices::TCalenIcons aIndex, const TInt aViewId = 0 ); /* Get multipledb manager * @return reference to CCalenMultipleDbManager @@ -330,6 +330,23 @@ void GetAllCalendarInfoL( RPointerArray& aCalendarInfoList ); + /** + * @brief sets the flag if the calendar application is launched + * from external application. + * + * @param aFlag The flag to be set. + */ + void SetLaunchFromExternalApp( TBool aFlag ); + + /** + * @brief Checks whether the calendar application is launched + * from external application. + * + * @return ETrue If the calendar application is launched from + * external application else EFalse. + */ + TBool IsLaunchFromExternalApp(); + private: // Construction and destruction /** * C++ constructor @@ -416,6 +433,7 @@ TInt iResourceFileOffset; CAsyncCallBack* iSystemTimeChangedMsgDelayer; TBool iFasterApp; + TBool iLaunchFromExternalApp; }; #endif // CALENCONTROLLER_H