Changeset 165
- Timestamp:
- 07/04/08 14:32:49 (2 months ago)
- Location:
- Mulberry/branches/v4.1d1/Sources_Common/Calendar_Store
- Files:
-
- 3 modified
-
CCalendarStoreNode.cpp (modified) (2 diffs)
-
CCalendarStoreXML.cpp (modified) (2 diffs)
-
CCalendarStoreXML.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/branches/v4.1d1/Sources_Common/Calendar_Store/CCalendarStoreNode.cpp
r113 r165 905 905 xmllib::XMLObject::WriteAttribute(xmlnode, cXMLAttribute_has_expanded, HasExpanded()); 906 906 } 907 908 if (IsInbox()) 909 xmllib::XMLObject::WriteAttribute(xmlnode, cXMLAttribute_inbox, IsInbox()); 910 if (IsOutbox()) 911 xmllib::XMLObject::WriteAttribute(xmlnode, cXMLAttribute_outbox, IsOutbox()); 907 912 908 913 // Set name child node … … 957 962 SetHasExpanded(temp); 958 963 } 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); 959 969 960 970 // Must have a name -
Mulberry/branches/v4.1d1/Sources_Common/Calendar_Store/CCalendarStoreXML.cpp
r113 r165 46 46 <!ELEMENT calendarnode (name, last-sync?, webcal?, calendarnode*) > 47 47 <!ATTLIST calendarnode directory (true|false) "false" 48 has_expanded (true|false) > 48 has_expanded (true|false) 49 inbox (true|false) "false" 50 outbox (true|false) "false"> 49 51 50 52 <!ELEMENT name (#PCDATA) > … … 75 77 const char* cXMLAttribute_directory = "directory"; 76 78 const char* cXMLAttribute_has_expanded = "has_expanded"; 79 const char* cXMLAttribute_inbox = "inbox"; 80 const char* cXMLAttribute_outbox = "outbox"; 77 81 78 82 const xmllib::XMLName cXMLElement_name("name"); -
Mulberry/branches/v4.1d1/Sources_Common/Calendar_Store/CCalendarStoreXML.h
r113 r165 36 36 extern const xmllib::XMLName cXMLElement_calendarnode; 37 37 extern const char* cXMLAttribute_directory; 38 extern const char* cXMLAttribute_inbox; 39 extern const char* cXMLAttribute_outbox; 38 40 39 41 extern const xmllib::XMLName cXMLElement_name;