CCalenContextImpl Class Reference
class CCalenContextImpl : public CBase |
The controller handles events from the rest of Calendar and delegates them to the appropriate place (i.e. the action ui classes).
Constructor & Destructor Documentation
CCalenContextImpl(MCalenContextChangeObserver *)
The only reason this should be created outside of this dll is for SCalenCommand, which needs a default constructor. Normal usage is to use the accessor from the global data. Attempting to call "setters" on any context not from the global data will panic.
CCalenContextImpl(const CCalenContextImpl &)
Member Functions Documentation
CalenContextExtensionL(TUid)
TAny * | CalenContextExtensionL | ( | TUid | aExtensionUid | ) | |
Allows extending this API without breaking BC.
Parameters
TUid aExtensionUid | specifies |
DefaultCalTimeForViewsL()
TCalTime | DefaultCalTimeForViewsL | ( | ) | const |
Returns the default TCalTime for views. (Normally 8am today.) This would be used for example when a view is the first view loaded in Calendar.
DefaultTimeForViews()
Returns the default time for views. (Normally 8am.) This would be used for example by the month view, which sets the focus time to 8am on a day. Then when opening the week view, a sane time is shown.
FocusDateAndTimeL()
TCalTime | FocusDateAndTimeL | ( | ) | const |
Gets the date and time currently focused.
FocusTime()
Gets the time currently focused.
GetCalAlarmEntryFileNameL()
HBufC * | GetCalAlarmEntryFileNameL | ( | ) | const |
GetCalendarFileNameL()
TDesC & | GetCalendarFileNameL | ( | ) | const |
GetLandMark()
Returns the user selected landmark
GetMutlipleContextIds(TInt)
Getter for multiple context ids
InstanceId()
Gets the id of the instance currently focused.
MutlipleContextIdsCount()
TInt
| MutlipleContextIdsCount | ( | ) | |
Returns mutliple context's count
RemoveMultipleContextId(TCalenInstanceId)
Remove multiple context id
ResetCalAlarmEntryFileName()
void | ResetCalAlarmEntryFileName | ( | ) | |
ResetCalendarFileName()
void | ResetCalendarFileName | ( | ) | |
ResetMultipleContextIds(TInt)
void | ResetMultipleContextIds | ( | TInt | aDbId = 0 | ) | |
Resets all the multiple context ids
SetCalAlarmEntryFileNameL(const TDesC &)
void | SetCalAlarmEntryFileNameL | ( | const TDesC & | aName | ) | |
SetCalAlarmEntryLocalUid(TCalLocalUid)
SetCalendarFileNameL(const TDesC &)
void | SetCalendarFileNameL | ( | const TDesC & | aName | ) | |
Parameters
const TDesC & aName | referance to calendar file name |
SetFocusDateAndTimeAndInstanceL(const TCalTime &, const TCalenInstanceId &, const TVwsViewId &)
void | SetFocusDateAndTimeAndInstanceL | ( | const TCalTime & | aFocusDateTime, |
| const TCalenInstanceId & | aInstanceId, |
| const TVwsViewId & | aViewId |
| ) | |
Sets the time and instance currently focused.
Parameters
const TCalTime & aFocusDateTime | |
const TCalenInstanceId & aInstanceId | the id of the focused instance. |
const TVwsViewId & aViewId | The view id of the currently active view. |
SetFocusDateAndTimeL(const TCalTime &, const TVwsViewId &)
void | SetFocusDateAndTimeL | ( | const TCalTime & | aFocusDateTime, |
| const TVwsViewId & | aViewId |
| ) | |
Sets the date and time currently focused.
Parameters
const TCalTime & aFocusDateTime | |
const TVwsViewId & aViewId | The view id of the currently active view. |
SetFocusDateL(const TCalTime &, const TVwsViewId &)
void | SetFocusDateL | ( | const TCalTime & | aFocusDate, |
| const TVwsViewId & | aViewId |
| ) | |
Sets the date currently focused. When retrieving the focus date and time after calling this function, the time component will be set to the default of view. When retrieving the focus time only, it will be set to -1.
Parameters
const TCalTime & aFocusDate | The new focus date and time. |
const TVwsViewId & aViewId | The view id of the currently active view. |
SetInstanceIdL(const TCalenInstanceId &, const TVwsViewId &)
Sets the id of the instance currently focused.
Parameters
const TCalenInstanceId & aInstanceId | the id of the focused instance. |
const TVwsViewId & aViewId | The view id of the currently active view. |
SetLandMark(CPosLandmark *)
Sets the user selected landmark
SetMutlipleContextIds(RArray< TCalenInstanceId > &)
ViewId()
Gets the id of the currently active view.
Member Data Documentation
HBufC * iCalAlarmEntryFileName
HBufC * | iCalAlarmEntryFileName | [private] |
TCalLocalUid
iCalAlarmLocalUid
HBufC * iCalenFileName
HBufC * | iCalenFileName | [private] |
TCalTime iFocusDate
TCalTime | iFocusDate | [private] |
TTimeIntervalMinutes
iFocusTime
CCalGeoValue * iGeoValue
CCalGeoValue * | iGeoValue | [private] |
TCalenInstanceId
iInstanceId
HBufC * iLocation
HBufC * | iLocation | [private] |
RArray< TCalenInstanceId > iMutlipleContextIds
MCalenContextChangeObserver * iObserver
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.