Show
Ignore:
Timestamp:
07/09/07 10:02:18 (2 years ago)
Author:
daboo
Message:

Some 4.1 changes. Mostly vCard/CardDAV and CalDAV scheduling support.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Mulberry/branches/v4.1d1/Sources_Common/Calendar_Store/CCalendarStoreNode.cpp

    r19 r86  
    8383 
    8484// This constructs an actual node 
    85 CCalendarStoreNode::CCalendarStoreNode(CCalendarProtocol* proto, CCalendarStoreNode* parent, bool is_dir, const cdstring& name) 
     85CCalendarStoreNode::CCalendarStoreNode(CCalendarProtocol* proto, CCalendarStoreNode* parent, bool is_dir, bool is_inbox, bool is_outbox, const cdstring& name) 
    8686{ 
    8787        mProtocol = proto; 
     
    9191        mActiveCount = 0; 
    9292        SetFlags(eIsDirectory, is_dir); 
     93        SetFlags(eIsInbox, is_inbox); 
     94        SetFlags(eIsOutbox, is_outbox); 
    9395        mCalendarRef = iCal::cCalendarRef_Invalid; 
    9496        mName = name; 
     
    147149{ 
    148150        GetProtocol()->SizeCalendar(*this); 
     151} 
     152 
     153bool CCalendarStoreNode::CanSchedule() const 
     154{ 
     155        return mProtocol ? mProtocol->GetHasScheduling() : false; 
    149156} 
    150157