X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcarddav2%2Fcarddav2.h;h=2698d5aba63ef42a99feb5430b7a8ffb7d6e5b9e;hb=2c8998278759b5bf6fc3bcf75afd289c214b6c84;hp=3828d0776490b869f9daf614e2a1806b3d1eeb63;hpb=b1467ce3cde3c61f79030bf4329f7037904043e1;p=xestiaab%2F.git diff --git a/source/carddav2/carddav2.h b/source/carddav2/carddav2.h index 3828d07..2698d5a 100644 --- a/source/carddav2/carddav2.h +++ b/source/carddav2/carddav2.h @@ -54,9 +54,9 @@ class CardDAV2 : public ConnectionObject { COServerResponse GetDefaultPrefix(std::string *ServerPrefix); COServerResponse AddContact(std::string Location, std::string Data); COServerResponse EditContact(std::string Location, std::string Data); - COServerResponse DeleteContact(std::string Location, std::string EntityTag); + COServerResponse DeleteContact(std::string Location); COServerResponse GetServerEntityTagValue(std::string Location); - COServerResponse GetContact(std::string Location); + COServerResponse GetContact(std::string Location, std::string *ContactData); COContactList GetContactList(std::string SyncToken); bool CanDoProcessing(); @@ -99,10 +99,12 @@ class CardDAV2 : public ConnectionObject { void ResetResults(); std::vector GetDAVHeader(); std::string GetETagHeader(); + std::string GetETagValue(); std::string GetUserPrincipalURI(); std::string GetAddressBookHomeURI(); std::string GetDefaultAddressBookURI(); + void ProcessContactData(COContactList *ContactList); #if defined(__APPLE__) #elif defined(__WIN32__)