Show
Ignore:
Timestamp:
07/04/08 14:32:49 (5 months ago)
Author:
cyrusdaboo
Message:

Provide offline indication for inbox and outbox.

Files:
1 modified

Legend:

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

    r113 r165  
    905905                        xmllib::XMLObject::WriteAttribute(xmlnode, cXMLAttribute_has_expanded, HasExpanded()); 
    906906                } 
     907                 
     908                if (IsInbox())           
     909                        xmllib::XMLObject::WriteAttribute(xmlnode, cXMLAttribute_inbox, IsInbox()); 
     910                if (IsOutbox())          
     911                        xmllib::XMLObject::WriteAttribute(xmlnode, cXMLAttribute_outbox, IsOutbox()); 
    907912 
    908913                // Set name child node 
     
    957962                                SetHasExpanded(temp); 
    958963                } 
     964 
     965                if (xmllib::XMLObject::ReadAttribute(xmlnode, cXMLAttribute_inbox, temp)) 
     966                        SetFlags(eIsInbox, temp); 
     967                if (xmllib::XMLObject::ReadAttribute(xmlnode, cXMLAttribute_outbox, temp)) 
     968                        SetFlags(eIsOutbox, temp); 
    959969 
    960970                // Must have a name