Changeset 97 for Mulberry/branches/v4.1d1/MacOS/Sources/Application/Calendar/Calendar_View/Calendar_Window/CCalendarEventBase.h
- Timestamp:
- 07/09/07 22:13:35 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/branches/v4.1d1/MacOS/Sources/Application/Calendar/Calendar_View/Calendar_Window/CCalendarEventBase.h
r74 r97 31 31 #include "CICalendarPeriod.h" 32 32 #include "CICalendarVEvent.h" 33 #include "CICalendarVFreeBusy.h" 33 34 #include "CITIPProcessor.h" 34 35 … … 76 77 77 78 void SetDetails(iCal::CICalendarComponentExpandedShared& event, CCalendarTableBase* table, const char* title, bool all_day, bool start_col, bool end_col, bool horiz); 78 79 void SetDetails(iCal::CICalendarVFreeBusy* freebusy, const iCal::CICalendarPeriod& period, CCalendarTableBase* table, const char* title, bool all_day, bool start_col, bool end_col, bool horiz); 79 80 80 81 void SetPreviousLink(CCalendarEventBase* prev) … … 92 93 } 93 94 95 bool IsEvent() const 96 { 97 return mVEvent.get() != NULL; 98 } 99 bool IsFreeBusy() const 100 { 101 return mVFreeBusy != NULL; 102 } 94 103 const iCal::CICalendarComponentExpandedShared& GetVEvent() const 95 104 { return mVEvent; } 105 const iCal::CICalendarVFreeBusy* GetVFreeBusy() const 106 { return mVFreeBusy; } 107 108 const iCal::CICalendarPeriod& GetInstancePeriod() const 109 { return mPeriod; } 96 110 97 111 uint32_t GetColumnSpan() const … … 111 125 protected: 112 126 iCal::CICalendarComponentExpandedShared mVEvent; 127 iCal::CICalendarVFreeBusy* mVFreeBusy; 113 128 114 129 CCalendarTableBase* mTable; … … 135 150 136 151 bool IsNow() const; 137 virtual void SetupTagText(); 152 void SetupTagText(); 153 void SetupTagTextEvent(); 154 void SetupTagTextFreeBusy(); 138 155 139 156 private: