From 28af58c233e5a0a78fd085bdf7fef24f76a9c5a6 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 4 Sep 2016 20:38:29 +0100 Subject: [PATCH] Added COContactStatus enum and marked BuildSSLCollection as virtual --- source/connobject/ConnectionObject.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/connobject/ConnectionObject.h b/source/connobject/ConnectionObject.h index ab479e3..24f357f 100644 --- a/source/connobject/ConnectionObject.h +++ b/source/connobject/ConnectionObject.h @@ -49,6 +49,12 @@ enum COSSLVerified { COSSL_NORESULT }; +enum COContactStatus { + COCS_UNKNOWN, + COCS_UPDATED, + COCS_DELETED +}; + struct COServerResponse { CORequestResult RequestResult; std::string EntityTag; @@ -60,6 +66,7 @@ struct COServerResponse { struct COContactData { std::string Location; std::string Data; + COContactStatus Status = COCS_UNKNOWN; }; struct COContactList { @@ -105,7 +112,7 @@ class ConnectionObject{ #if defined(__APPLE__) #elif defined(__WIN32__) #else - SSLCertCollectionString BuildSSLCollection() {}; + virtual SSLCertCollectionString BuildSSLCollection() {}; #endif -- 2.39.5