#include <CCalendar.h>
Public Member Functions | |
CCalendar (CCalendar &ref) | |
const CCalendar & | operator= (const CCalendar &right) |
CCalendar (int iCalId, string szName, CalendarColour iColour, bool fIsReadOnly, bool fIsVisible, CalendarType iCalType, string szCalendarTune) | |
CCalendar (string szName, CalendarColour iColour, bool fIsReadOnly, bool fIsVisible, CalendarType iCalType, string szCalendarTune, string szCalendarVersion) | |
vector< CComponent * > | getAllEventsTodosForCalendar (int iStDate, int iEndDate, int iLimit, int iOffset, int &pErrorCode) |
CCalendar () | |
bool | setCalendarColor (CalendarColour iCalendarColor) |
CalendarColour | getCalendarColor () |
bool | setCalendarName (string szName) |
string | getCalendarName () |
bool | setCalendarId (int iId) |
int | getCalendarId () |
bool | setCalendarType (CalendarType iCalType) |
void | setProfileType (SyncProfileType iProfile) |
SyncProfileType | getProfileType () |
CalendarType | getCalendarType () |
bool | setCalendarReadOnly (bool fIsReadOnly) |
bool | IsReadOnly () |
bool | setCalendarShown (bool fIsVisible) |
bool | IsShown () |
bool | modifyEvent (CEvent *pEvent, int &pErrorCode) |
bool | modifyBirthDay (CBdayEvent *pBday, int &pErrorCode) |
bool | modifyJournal (CJournal *pJournal, int &pErrorCode) |
bool | modifyTodo (CTodo *pTodo, int &pErrorCode) |
bool | addEvent (CEvent *pEvent, int &pErrorCode) |
bool | addBirthDay (CBdayEvent *pBday, int &pErrorCode) |
bool | addTodo (CTodo *ptrTodo, int &pErrorCode) |
bool | addJournal (CJournal *ptrJournal, int &pErrorCode) |
bool | deleteEvent (string sEventID, int &pErrorCode) |
bool | deleteBirthDay (int iUid, int &pErrorCode) |
bool | deleteTodo (string sTodoID, int &pErrorCode) |
bool | deleteJournal (string sJournalID, int &pErrorCode) |
void | deleteComponent (string sId, int &pErrorCode) |
vector< long > | getCookie (string ietjId, int &pErrorCode) |
string | getCalendarVersion () |
void | setCalendarVersion (string szCalendarVersion) |
bool | registerAlarmForVisibleCalendar (int &perrorCode) |
~CCalendar () | |
vector< string > | getIdList (int iCompType, int &pErrorCode) |
CEvent * | getEvent (string sComponentID, int &pErrorCode) |
CTodo * | getTodo (string szComponentID, int &pErrorCode) |
CJournal * | getJournal (string sComponentID, int &pErrorCode) |
bool | checkDuplicateEntry (CComponent *pEntry, int iType, int &pErrorCode) |
vector< CEvent * > | getDetailedEventList (int &pErrorCode) |
vector< CTodo * > | getTodoListDetailed (int &pErrorCode) |
vector< CJournal * > | getJournalListDetailed (int &pErrorCode) |
bool | deleteBirthDay (string szUID, int &pErrorCode) |
vector< CComponent * > | getComponents (int iCalendarID, int iStartDate, int iEndDate, int &pErrorCode) |
vector< CComponent * > | getComponents (int iCalendarID, int iStartDate, int iEndDate, int iLimit, int iOffset, int &pErrorCode) |
int | updateTrash (int iCalendarID, string iComponentID, int iComponentType, time_t iDeletedTime, int &pErrorCode) |
vector< CEvent * > | getAllAddedEvents (int iDate, int &pErrorCode) |
vector< CTodo * > | getAllAddedTodos (int iDate, int &pErrorCode) |
vector< CJournal * > | getAllAddedJournals (int iDate, int &pErrorCode) |
vector< CComponent * > | getAllAddItems (int iDate, int &pErrorCode) |
vector< CEvent * > | getAllModifiedEvents (int iDate, int &pErrorCode) |
vector< CTodo * > | getAllModifiedTodos (int iDate, int &pErrorCode) |
vector< CJournal * > | getAllModifiedJournals (int iDate, int &pErrorCode) |
vector< CComponent * > | getAllModifiedItems (int iDate, int &pErrorCode) |
vector< string > | getAllDeletedItems (int iDate, int iType, int &pErrorCode) |
int | exportCalendarEntries (string szFilename, int &pErrorCode) |
bool | setNextAlarm (string sComponentId, int &pErrorCode) |
void | setCalendarTune (string szCalendarTune) |
string | getCalendarTune () |
bool | addParameters (map< string, vector< CParameters * > > hashMap, string sId, ACTION iAction, int &pErrorCode) |
bool | addXProperties (vector< CProperties * > vXProp, string sId, ACTION iAction, int &pErrorCode) |
bool | isComponentExists (string szUid) |
string | getExternalToLocalId (string sId, bool fetchLocal, int &pErrorCode) |
bool | addMapTableInfo (string sLocalId, string sExternalId, int &pErrorCode) |
vector< string > | getAllDeletedEvents (int iLastSyncDate, int &pErrorCode) |
vector< string > | getAllDeletedJournals (int iLastSyncDate, int &pErrorCode) |
vector< string > | getAllDeletedTodos (int iLastSyncDate, int &pErrorCode) |
bool | destroyExistingValidAlarms (int &pErrorCode) |
Private Member Functions | |
bool | addDataUtility (ACTION iOperation, string sId, int &pErrorCode) |
bool | checkFieldinTable (string szTable, string szField, string szValue) |
vector< CComponent * > | getRecursiveEventsInRange (int iStartDate, int iEndDate, vector< CComponent * >vListEntry, int &pErrorCode) |
vector< string > | getChangeIds (int iComponentType, int iChangeType, int iDate, int &pErrorCode) |
bool | entrySetModifiedTime (CComponent *pEntry, int &pErrorCode) |
bool | checkEntryExist (string szTable, string iId, int &pErrorCode) |
template<class comp> | |
bool | addCompDetails (sqlite3_stmt *pStmt, comp *cDet, int &pErrorCode) |
bool | addEventCompDetails (CEvent *pEvent, int &pErrorCode) |
bool | addTodoCompDetails (CTodo *ptrTodo, int &pErrorCode) |
bool | addJournalCompDetails (CJournal *ptrJournal, int &pErrorCode) |
bool | manageCookie (const ACTION iAction, CComponent *pcomp, int &pErrorCode) |
bool | addAlarm (CAlarm *ptrAlarm, ACTION iAction, string sId, int &pErrorCode) |
bool | addRecurrence (CRecurrence *ptrRecur, ACTION iAction, string sId, int &pErrorCode) |
bool | addAttendeeDetails (vector< CAttendee * >vAttendeeList, string sId, int iType, ACTION iAction, int &pErrorCode) |
bool | addOrganizer (COrganizer *ptrOrganizer, string sId, int iType, ACTION iAction, int &pErrorCode) |
template<class ent> | |
int | addComponent (ent *pEvent, ACTION iAction, int &pErrorCode) |
Private Attributes | |
string | szName |
CalendarColour | iColor |
bool | fReadOnly |
bool | fIsVisible |
int | iCalId |
CalendarType | iCalType |
string | szCalendarTune |
string | szCalendarVersion |
SyncProfileType | iProfileType |
CCalendar class
CCalendar::CCalendar | ( | CCalendar & | ref | ) |
copy Constructor for CCalendarClass
CCalendar::CCalendar | ( | int | iCalId, | |
string | szName, | |||
CalendarColour | iColour, | |||
bool | fIsReadOnly, | |||
bool | fIsVisible, | |||
CalendarType | iCalType, | |||
string | szCalendarTune | |||
) |
int iCalId represents calendar id | ||
string szName represents calendar name | ||
CalendarColour iColor represents calendar color | ||
bool fIsReadOnly represents whether calendar read only or not | ||
bool fIsVisbile represents whether calendar visible/invisible | ||
CalendarType iCalType represents type of the calendar | ||
string szCalendarTune represents ring tone of the calendar |
CCalendar::CCalendar | ( | string | szName, | |
CalendarColour | iColour, | |||
bool | fIsReadOnly, | |||
bool | fIsVisible, | |||
CalendarType | iCalType, | |||
string | szCalendarTune, | |||
string | szCalendarVersion | |||
) |
string szName represents calendar name | ||
CalendarColour iColor represents calendar color | ||
bool fIsReadOnly represents whether calendar read only or not | ||
bool fIsVisbile represents whether calendar visible/invisible | ||
CalendarType iCalType represents type of the calendar | ||
string szCalendarTune represents ring tone of the calendar | ||
string szCalendarVersion represents Version of the calendar |
CCalendar::CCalendar | ( | ) |
None |
CCalendar::~CCalendar | ( | ) |
~Calendar
None |
overloaded assignment operator for CCalendar class
vector< CComponent * > CCalendar::getAllEventsTodosForCalendar | ( | int | iStDate, | |
int | iEndDate, | |||
int | iLimit, | |||
int | iOffset, | |||
int & | pErrorCode | |||
) |
: | stDate to do conditional fetching based on start date. -1 in case of no conditions | |
: | endDate to do conditional fetching based on end date. -1 in case of no conditions | |
: | limit limit for number of events fetched by the calenadr | |
int | * pErrorCode error code if any |
bool CCalendar::setCalendarColor | ( | CalendarColour | iCalendarColor | ) |
iCalendarColour,: | Calendar Color to be set from any one of the following COLOUR_RED, COLOUR_GREEN, COLOUR_BLUE, COLOUR_PURPLE, COLOUR_YELLOW |
CalendarColour CCalendar::getCalendarColor | ( | ) |
None |
bool CCalendar::setCalendarName | ( | string | szName | ) |
string | szName: Calendar Name to be set |
string CCalendar::getCalendarName | ( | ) |
None |
bool CCalendar::setCalendarId | ( | int | iId | ) |
int | iId: Calendar id to be set |
int CCalendar::getCalendarId | ( | ) |
None |
bool CCalendar::setCalendarType | ( | CalendarType | iCalType | ) |
CalendarType iCaltype: Calendar Type to be set |
void CCalendar::setProfileType | ( | SyncProfileType | iProfile | ) |
SyncProfileType | - Profile type of calendar |
SyncProfileType CCalendar::getProfileType | ( | ) |
NONE |
CalendarType CCalendar::getCalendarType | ( | ) |
None |
bool CCalendar::setCalendarReadOnly | ( | bool | fIsReadOnly | ) |
bool | fIsReadonly: represents whether calendar is readonly |
bool CCalendar::IsReadOnly | ( | ) |
None |
bool CCalendar::setCalendarShown | ( | bool | fIsVisible | ) |
bool isVisible: represents whether calendar is visible or not |
bool CCalendar::IsShown | ( | ) |
None |
bool CCalendar::modifyEvent | ( | CEvent * | pEvent, | |
int & | pErrorCode | |||
) |
CEvent* pEvent: pointer to calEvent | ||
int& reference to error int to throw some error code. |
bool CCalendar::modifyBirthDay | ( | CBdayEvent * | pBday, | |
int & | pErrorCode | |||
) |
CBdayEvent* pBday: pointer to CBdayEvent | ||
int * pErrorCode error code if any |
bool CCalendar::modifyJournal | ( | CJournal * | pJournal, | |
int & | pErrorCode | |||
) |
CJournal* pJournal: pointer to calJournal | ||
int * pErrorCode error code if any |
bool CCalendar::modifyTodo | ( | CTodo * | pTodo, | |
int & | pErrorCode | |||
) |
CTodo* pTodo: pointer to calTodo | ||
int * pErrorCode error code if any |
bool CCalendar::addEvent | ( | CEvent * | pEvent, | |
int & | pErrorCode | |||
) |
CEvent* pEvent: calEvent pointer | ||
int * pErrorCode error code if any |
bool CCalendar::addBirthDay | ( | CBdayEvent * | pBday, | |
int & | pErrorCode | |||
) |
CBdayEvent *pBdayendar: CBdayEvent pointer | ||
int * pErrorCode error code if any |
bool CCalendar::addTodo | ( | CTodo * | ptrTodo, | |
int & | pErrorCode | |||
) |
CTodo* ptrTodo: calTodo pointer | ||
int * pErrorCode error code if any |
bool CCalendar::addJournal | ( | CJournal * | ptrJournal, | |
int & | pErrorCode | |||
) |
ptrJournal,: | calJournal pointer | |
int | * pErrorCode error code if any |
bool CCalendar::deleteEvent | ( | string | sEventID, | |
int & | pErrorCode | |||
) |
string | sEventID: eventId to be deleted | |
int | * pErrorCode error code if any |
bool CCalendar::deleteBirthDay | ( | int | iUid, | |
int & | pErrorCode | |||
) |
int | iUid: Unique UID for birthday contacts from Ebook db. | |
int | * pErrorCode error code if any |
bool CCalendar::deleteTodo | ( | string | sTodoID, | |
int & | pErrorCode | |||
) |
string | todoid: todoid to be deleted | |
int | * pErrorCode error code if any |
bool CCalendar::deleteJournal | ( | string | sJournalID, | |
int & | pErrorCode | |||
) |
string | sJournalid: journalid to be deleted | |
int | * pErrorCode error code if any |
void CCalendar::deleteComponent | ( | string | sId, | |
int & | pErrorCode | |||
) |
string | sId: id of the component to be deleted | |
int | * pErrorCode error code if any |
vector< long > CCalendar::getCookie | ( | string | ietjId, | |
int & | pErrorCode | |||
) |
string | etjId: id of event/todo | |
int | * pErrorCode error code if any |
string CCalendar::getCalendarVersion | ( | ) |
none |
void CCalendar::setCalendarVersion | ( | string | szCalendarVersion | ) |
string | szCaeldnarVersion |
bool CCalendar::registerAlarmForVisibleCalendar | ( | int & | perrorCode | ) |
perrorCode |
vector< string > CCalendar::getIdList | ( | int | iCompType, | |
int & | pErrorCode | |||
) |
int | iCompType Component Type | |
int& | pErrorCode error code if any |
CEvent * CCalendar::getEvent | ( | string | sComponentID, | |
int & | pErrorCode | |||
) |
CTodo * CCalendar::getTodo | ( | string | szComponentID, | |
int & | pErrorCode | |||
) |
CJournal * CCalendar::getJournal | ( | string | sComponentID, | |
int & | pErrorCode | |||
) |
string | szComponentId Id of component(Event/Todo/Journal) | |
int& | pErrorCode place holder |
bool CCalendar::checkDuplicateEntry | ( | CComponent * | pEntry, | |
int | iType, | |||
int & | pErrorCode | |||
) |
CComponent* | pEntry - pointer to CComponent | |
int | iType - Type of entry can be event todo or journal | |
int& | pErrorCode - |
vector< CEvent * > CCalendar::getDetailedEventList | ( | int & | pErrorCode | ) |
int& | pErrorCode place holder |
vector< CTodo * > CCalendar::getTodoListDetailed | ( | int & | pErrorCode | ) |
int& | pErrorCode place holder | |
int | * pErrorCode error code if any |
vector< CJournal * > CCalendar::getJournalListDetailed | ( | int & | pErrorCode | ) |
int& | pErrorCode place holder |
bool CCalendar::deleteBirthDay | ( | string | szUID, | |
int & | pErrorCode | |||
) |
string | Id of the birthday event in DB | |
int& | pErrorCode place holder |
vector< CComponent * > CCalendar::getComponents | ( | int | iCalendarID, | |
int | iStartDate, | |||
int | iEndDate, | |||
int & | pErrorCode | |||
) |
getComponents
: | calid Calendar ID | |
: | 1 -> EVENT 2 -> TODO 3 -> JOURNAL 4 -> BDAY | |
: | stDate to do conditional fetching based on start date. -1 in case of no conditions | |
: | endDate to do conditional fetching based on end date. -1 in case of no conditions | |
int& | pErrorCode place holder |
vector< CComponent * > CCalendar::getComponents | ( | int | iCalendarID, | |
int | iStartDate, | |||
int | iEndDate, | |||
int | iLimit, | |||
int | iOffset, | |||
int & | pErrorCode | |||
) |
getComponents
: | int iCalendarId Calendar ID | |
: | int type 1 -> EVENT 2 -> TODO 3 -> JOURNAL 4 -> BDAY | |
: | int iStDate to do conditional fetching based on start date. -1 in case of no conditions | |
: | int iEndDate to do conditional fetching based on end date. -1 in case of no conditions | |
: | int iLimit limit for number of events fetched by the calenadr | |
int | * pErrorCode error code if any |
int CCalendar::updateTrash | ( | int | iCalendarID, | |
string | iComponentID, | |||
int | iComponentType, | |||
time_t | iDeletedTime, | |||
int & | pErrorCode | |||
) |
int | Calendar id | |
string | component id | |
int | component type | |
time_t | Deleted time | |
int& | place holder for pErrorCode error code |
vector< CEvent * > CCalendar::getAllAddedEvents | ( | int | iDate, | |
int & | pErrorCode | |||
) |
int Date Added items after this date | ||
int& | place holder for pErrorCode error code |
vector< CTodo * > CCalendar::getAllAddedTodos | ( | int | iDate, | |
int & | pErrorCode | |||
) |
int Date Added items after this date | ||
int& | place holder for pErrorCode error code |
vector< CJournal * > CCalendar::getAllAddedJournals | ( | int | iDate, | |
int & | pErrorCode | |||
) |
int Date Added items after this date | ||
int& | place holder for pErrorCode error code |
vector< CComponent * > CCalendar::getAllAddItems | ( | int | iDate, | |
int & | pErrorCode | |||
) |
int Date Added items after this date | ||
int& | place holder for pErrorCode error code |
vector< CEvent * > CCalendar::getAllModifiedEvents | ( | int | iDate, | |
int & | pErrorCode | |||
) |
int Date Modified items after this date | ||
int& | place holder for pErrorCode error code |
vector< CTodo * > CCalendar::getAllModifiedTodos | ( | int | iDate, | |
int & | pErrorCode | |||
) |
int Date Modified items after this date | ||
int& | place holder for pErrorCode error code |
vector< CJournal * > CCalendar::getAllModifiedJournals | ( | int | iDate, | |
int & | pErrorCode | |||
) |
int Date Modified items after this date | ||
int& | place holder for pErrorCode error code |
vector< CComponent * > CCalendar::getAllModifiedItems | ( | int | iDate, | |
int & | pErrorCode | |||
) |
int Date Modified items after this date | ||
int& | place holder for pErrorCode error code |
vector< string > CCalendar::getAllDeletedItems | ( | int | iDate, | |
int | iType, | |||
int & | pErrorCode | |||
) |
vector of string id of Deleted items | ||
int | iType specifies the component type to be fetched | |
int& | place holder for pErrorCode error code |
int CCalendar::exportCalendarEntries | ( | string | szFilename, | |
int & | pErrorCode | |||
) |
string | - filename of the ics file | |
int& | place holder for pErrorCode error code |
bool CCalendar::setNextAlarm | ( | string | sComponentId, | |
int & | pErrorCode | |||
) |
int | component id | |
int& | place holder for pErrorCode error code |
void CCalendar::setCalendarTune | ( | string | szCalendarTune | ) |
string | szCaeldnarTune |
string CCalendar::getCalendarTune | ( | ) |
NONE |
bool CCalendar::addParameters | ( | map< string, vector< CParameters * > > | hashMap, | |
string | sId, | |||
ACTION | iAction, | |||
int & | pErrorCode | |||
) |
: | hashMap to store prop and param values | |
: | sId id of the entry | |
: | iAction action to be taken | |
int& | place holder for pErrorCode error code |
bool CCalendar::addXProperties | ( | vector< CProperties * > | vXProp, | |
string | sId, | |||
ACTION | iAction, | |||
int & | pErrorCode | |||
) |
vector<Cproperties*> | vXprop | |
string | sId | |
ACTION | iAction can be add/modify/delete | |
int& | place holder for pErrorCode error code |
bool CCalendar::isComponentExists | ( | string | szUid | ) |
string | szUid |
string CCalendar::getExternalToLocalId | ( | string | sId, | |
bool | fetchLocal, | |||
int & | pErrorCode | |||
) |
sId | input Id string for which mapped Id has to be found | |
bool | fetchExternal - flag to fetch external Id | |
int | & reference to error code. |
bool CCalendar::addMapTableInfo | ( | string | sLocalId, | |
string | sExternalId, | |||
int & | pErrorCode | |||
) |
string | sLocalId - local Id of Birthday event | |
string | externalId Id maintained by exteranl applications | |
int& | pErrorCode - reference to errorcode |
INSERT_IDMAP
vector< string > CCalendar::getAllDeletedEvents | ( | int | iLastSyncDate, | |
int & | pErrorCode | |||
) |
int Date Deleted items after this date | ||
int | * pErrorCode error code if any |
vector< string > CCalendar::getAllDeletedJournals | ( | int | iLastSyncDate, | |
int & | pErrorCode | |||
) |
int Date Deleted items after this date | ||
int | * pErrorCode error code if any |
vector< string > CCalendar::getAllDeletedTodos | ( | int | iLastSyncDate, | |
int & | pErrorCode | |||
) |
int Date Deleted items after this date | ||
int | * pErrorCode error code if any |
bool CCalendar::destroyExistingValidAlarms | ( | int & | pErrorCode | ) |
destroyExistingValidAlarms
pErrorCode | - reference to error Code |
bool CCalendar::addDataUtility | ( | ACTION | iOperation, | |
string | sId, | |||
int & | pErrorCode | |||
) | [private] |
ACTION | iOperation tyoe of operation E_ADD/E_MODIFY | |
string | Id of the component added |
bool CCalendar::checkFieldinTable | ( | string | szTable, | |
string | szField, | |||
string | szValue | |||
) | [private] |
string | szTable table name | |
string | szField column name | |
string | szValue value to be checked |
vector< CComponent * > CCalendar::getRecursiveEventsInRange | ( | int | iStartDate, | |
int | iEndDate, | |||
vector< CComponent * > | vListEntry, | |||
int & | pErrorCode | |||
) | [private] |
int | stDate date start in integer format | |
int | end Date in integer format | |
vector | <CComponent*> vector of CComponent pointers | |
int& | place holder for pErrorCode error code |
vector< string > CCalendar::getChangeIds | ( | int | iComponentType, | |
int | iChangeType, | |||
int | iDate, | |||
int & | pErrorCode | |||
) | [private] |
int iCompType specifies ComponentType (event/todo/journal) | ||
int iChangeType specifies ChangeType (add/mod/delete) | ||
int iDate | ||
int& | place holder for pErrorCode error code |
bool CCalendar::entrySetModifiedTime | ( | CComponent * | pEntry, | |
int & | pErrorCode | |||
) | [private] |
CComponent | * | |
int& | place holder for pErrorCode error code |
bool CCalendar::checkEntryExist | ( | string | szTable, | |
string | iId, | |||
int & | pErrorCode | |||
) | [private] |
string | table name | |
entryid | can be Id of event todo or Journal | |
int& | place holder for pErrorCode error code |
bool CCalendar::addCompDetails | ( | sqlite3_stmt * | pStmt, | |
comp * | cDet, | |||
int & | pErrorCode | |||
) | [private] |
bool CCalendar::addEventCompDetails | ( | CEvent * | pEvent, | |
int & | pErrorCode | |||
) | [private] |
CEvent* | Pointer to CEvent class | |
int& | place holder for pErrorCode error code |
bool CCalendar::addTodoCompDetails | ( | CTodo * | ptrTodo, | |
int & | pErrorCode | |||
) | [private] |
CTodo* | Pointer to CTodo class | |
int& | place holder for pErrorCode error code |
bool CCalendar::addJournalCompDetails | ( | CJournal * | ptrJournal, | |
int & | pErrorCode | |||
) | [private] |
CJournal* | Pointer to CJournal class | |
int& | place holder for pErrorCode error code |
bool CCalendar::manageCookie | ( | const ACTION | iAction, | |
CComponent * | pcomp, | |||
int & | pErrorCode | |||
) | [private] |
ACTION | Enumerated data type | |
CComponent | pointer | |
Calendar | id | |
int& | place holder for pErrorCode error code |
bool CCalendar::addAlarm | ( | CAlarm * | ptrAlarm, | |
ACTION | iAction, | |||
string | sId, | |||
int & | pErrorCode | |||
) | [private] |
ptrAlarm | pointer to Alarm | |
sId | - id of component string | |
iAction | type of Action | |
int& | place holder for pErrorCode error code |
bool CCalendar::addRecurrence | ( | CRecurrence * | ptrRecur, | |
ACTION | iAction, | |||
string | sId, | |||
int & | pErrorCode | |||
) | [private] |
ptrRecur | Pointer to Recurrence | |
iAction | Add / Modify | |
sId | Event id - string | |
int& | place holder for pErrorCode error code |
bool CCalendar::addAttendeeDetails | ( | vector< CAttendee * > | vAttendeeList, | |
string | sId, | |||
int | iType, | |||
ACTION | iAction, | |||
int & | pErrorCode | |||
) | [private] |
vector | list of CAttendee pointers | |
string | represents id of the component | |
int | type can be event/todo or journal | |
iAction | type can be Add / Modify | |
int& | place holder for pErrorCode error code |
bool CCalendar::addOrganizer | ( | COrganizer * | ptrOrganizer, | |
string | sId, | |||
int | iType, | |||
ACTION | iAction, | |||
int & | pErrorCode | |||
) | [private] |
ptrOrganizer | COrganizer pointer | |
string | sId Id of the component | |
int | iType can be event/todo or journal | |
iAction | type can be Add / Modify | |
int& | place holder for pErrorCode error code |
int CCalendar::addComponent | ( | ent * | pEvent, | |
ACTION | iAction, | |||
int & | pErrorCode | |||
) | [private] |
Template | pointer can be CEvent* ,CTodo* ,CJournal* | |
ACTION | - enumeration for add/del/modify | |
int& | place holder for pErrorCode error code |
string CCalendar::szName [private] |
Calendar Name
CalendarColour CCalendar::iColor [private] |
Calendar color
bool CCalendar::fReadOnly [private] |
Calendar read only status
bool CCalendar::fIsVisible [private] |
Calendar visibility status
int CCalendar::iCalId [private] |
Calendar ID - Primary key in database
CalendarType CCalendar::iCalType [private] |
Calendar Type