Show
Ignore:
Timestamp:
07/09/07 22:13:35 (2 years ago)
Author:
daboo
Message:

More v4.1 code. Includes experiment, though non-functioning WebKit? message
display option.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Mulberry/branches/v4.1d1/MacOS/Sources/Application/Calendar/Calendar_View/Calendar_Window/CCalendarEventBase.h

    r74 r97  
    3131#include "CICalendarPeriod.h" 
    3232#include "CICalendarVEvent.h" 
     33#include "CICalendarVFreeBusy.h" 
    3334#include "CITIPProcessor.h" 
    3435 
     
    7677 
    7778        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); 
    7980 
    8081        void SetPreviousLink(CCalendarEventBase* prev) 
     
    9293        } 
    9394 
     95        bool IsEvent() const 
     96        { 
     97                return mVEvent.get() != NULL; 
     98        } 
     99        bool IsFreeBusy() const 
     100        { 
     101                return mVFreeBusy != NULL; 
     102        } 
    94103        const iCal::CICalendarComponentExpandedShared& GetVEvent() const 
    95104                { return mVEvent; } 
     105        const iCal::CICalendarVFreeBusy* GetVFreeBusy() const 
     106                { return mVFreeBusy; } 
     107 
     108        const iCal::CICalendarPeriod& GetInstancePeriod() const 
     109                { return mPeriod; } 
    96110 
    97111        uint32_t        GetColumnSpan() const 
     
    111125protected: 
    112126        iCal::CICalendarComponentExpandedShared mVEvent; 
     127        iCal::CICalendarVFreeBusy*                              mVFreeBusy; 
    113128 
    114129        CCalendarTableBase*             mTable; 
     
    135150 
    136151                        bool            IsNow() const; 
    137         virtual void            SetupTagText(); 
     152                        void            SetupTagText(); 
     153                        void            SetupTagTextEvent(); 
     154                        void            SetupTagTextFreeBusy(); 
    138155 
    139156private: