diff -r 5aadd1120515 -r b57382753122 calendarui/controller/inc/calenasynccallback.h --- a/calendarui/controller/inc/calenasynccallback.h Fri Oct 15 12:10:36 2010 +0530 +++ b/calendarui/controller/inc/calenasynccallback.h Wed Nov 03 17:12:22 2010 +0530 @@ -11,11 +11,12 @@ * * Contributors: * -* Description: Calendar's async callback +* Description: Calendar's async callback * */ + #ifndef CALENASYNCCALLBACK_H #define CALENASYNCCALLBACK_H @@ -27,17 +28,17 @@ /** * Calendar async Callback */ -class CalenAsyncCallBack : public CAsyncCallBack +NONSHARABLE_CLASS(CCalenAsyncCallBack) : public CAsyncCallBack { public: - static CalenAsyncCallBack* NewL(TCallBack& aCallBack, CActive::TPriority aPriority, + static CCalenAsyncCallBack* NewL(TCallBack& aCallBack, CActive::TPriority aPriority, CCalenController& aController); void BaseConstructL(); - virtual ~CalenAsyncCallBack(); + virtual ~CCalenAsyncCallBack(); private: - CalenAsyncCallBack(TCallBack& aCallBack, CActive::TPriority aPriority, + CCalenAsyncCallBack(TCallBack& aCallBack, CActive::TPriority aPriority, CCalenController& aController); public: // Function from base class