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/Clients/CWebDAVDefinitions.cpp

    r19 r86  
    5353const xmllib::XMLName   cProperty_supported_privilege_set("supported-privilege-set", cNamespace); 
    5454const xmllib::XMLName   cProperty_current_user_privilege_set("current-user-privilege-set", cNamespace); 
     55const xmllib::XMLName   cProperty_principal_collection_set("principal-collection-set", cNamespace); 
     56const xmllib::XMLName   cProperty_principal_URL("principal-URL", cNamespace); 
     57const xmllib::XMLName   cProperty_alternate_URI_set("alternate-URI-set", cNamespace); 
     58const xmllib::XMLName   cProperty_group_member_set("group-member-set", cNamespace); 
     59const xmllib::XMLName   cProperty_group_membership("group-membership", cNamespace); 
    5560const xmllib::XMLName   cProperty_acl("acl", cNamespace); 
    5661        const xmllib::XMLName   cProperty_ace("ace", cNamespace); 
     
    8186        const xmllib::XMLName   cProperty_privilege_all("all", cNamespace); 
    8287 
     88const xmllib::XMLName   cElement_principal_match("principal-match", cNamespace); 
     89 
    8390} 
    8491 
     
    8693{ 
    8794 
     95// Access 
    8896const char*     cNamespace = "urn:ietf:params:xml:ns:caldav"; 
    8997const xmllib::XMLName   cProperty_caldavcalendar("calendar", cNamespace); 
     
    116124        const xmllib::XMLName   cElement_timerange("time-range", cNamespace); 
    117125 
     126        const xmllib::XMLName   cAttributeValue_yes("yes", cNamespace); 
     127        const xmllib::XMLName   cAttributeValue_no("no", cNamespace); 
     128 
     129const xmllib::XMLName   cProperty_privilege_readfreebusy("read-free-busy", cNamespace); 
     130 
     131// Schedule 
     132const xmllib::XMLName   cProperty_scheduleinbox("schedule-inbox", cNamespace); 
     133const xmllib::XMLName   cProperty_scheduleoutbox("schedule-outbox", cNamespace); 
     134const xmllib::XMLName   cProperty_scheduleinboxURL("schedule-inbox-URL", cNamespace); 
     135const xmllib::XMLName   cProperty_scheduleoutboxURL("schedule-outbox-URL", cNamespace); 
     136 
     137const xmllib::XMLName   cProperty_schedulefreebusyset("free-busy-set", cNamespace); 
     138 
     139const char* cHeaderOriginator = "Originator"; 
     140const char* cHeaderRecipient = "Recipient"; 
     141 
     142 
     143const xmllib::XMLName   cElement_scheduleresponse("schedule-response", cNamespace); 
     144const xmllib::XMLName   cElement_caldavresponse("response", cNamespace); 
     145const xmllib::XMLName   cElement_recipient("recipient", cNamespace); 
     146const xmllib::XMLName   cElement_requeststatus("request-status", cNamespace); 
     147 
     148const xmllib::XMLName   cProperty_privilege_schedule("schedule", cNamespace); 
     149 
     150} 
     151 
     152namespace carddav  
     153{ 
     154 
     155const char*     cNamespace = "urn:ietf:params:xml:ns:carddav"; 
     156const xmllib::XMLName   cProperty_carddavadbk("adbk", cNamespace); 
     157 
     158const xmllib::XMLName   cElement_adbkquery("adbk-query", cNamespace); 
     159const xmllib::XMLName   cElement_adbkmultiget("adbk-multiget", cNamespace); 
     160 
     161        const xmllib::XMLName   cElement_adbkdata("adbk-data", cNamespace); 
     162                const xmllib::XMLName   cAttribute_returncontenttype("return-content-type", cNamespace); 
     163 
     164        const xmllib::XMLName   cElement_allprop("allprop", cNamespace); 
     165        const xmllib::XMLName   cElement_prop("prop", cNamespace); 
     166                const xmllib::XMLName   cAttribute_name("name", cNamespace); 
     167                const xmllib::XMLName   cAttribute_novalue("novalue", cNamespace); 
     168 
     169        const xmllib::XMLName   cElement_filter("filter", cNamespace); 
     170        const xmllib::XMLName   cElement_compfilter("comp-filter", cNamespace); 
     171        const xmllib::XMLName   cElement_propfilter("prop-filter", cNamespace); 
     172        const xmllib::XMLName   cElement_paramfilter("param-filter", cNamespace); 
     173 
     174        const xmllib::XMLName   cElement_isdefined("is-defined", cNamespace); 
     175        const xmllib::XMLName   cElement_textmatch("text-match", cNamespace); 
     176                const xmllib::XMLName   cAttribute_caseless("caseless", cNamespace); 
     177                const xmllib::XMLName   cAttribute_matchtype("match-type", cNamespace); 
     178 
    118179        const xmllib::XMLName   cAttributeValue_yes("caseless_yes", cNamespace); 
    119180        const xmllib::XMLName   cAttributeValue_no("caseless_no", cNamespace); 
     181 
     182        const xmllib::XMLName   cAttributeValue_matchtype_starts("starts-with", cNamespace); 
     183        const xmllib::XMLName   cAttributeValue_matchtype_ends("ends-with", cNamespace); 
     184        const xmllib::XMLName   cAttributeValue_matchtype_contains("contains", cNamespace); 
     185        const xmllib::XMLName   cAttributeValue_matchtype_is("is", cNamespace); 
    120186 
    121187}