summaryrefslogtreecommitdiff
path: root/Source/WebKit2/Shared/API/c/WKConnectionRef.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/Shared/API/c/WKConnectionRef.h')
-rw-r--r--Source/WebKit2/Shared/API/c/WKConnectionRef.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/Source/WebKit2/Shared/API/c/WKConnectionRef.h b/Source/WebKit2/Shared/API/c/WKConnectionRef.h
index 614024575..fd94cb614 100644
--- a/Source/WebKit2/Shared/API/c/WKConnectionRef.h
+++ b/Source/WebKit2/Shared/API/c/WKConnectionRef.h
@@ -26,7 +26,7 @@
#ifndef WKConnectionRef_h
#define WKConnectionRef_h
-#include <WebKit2/WKBase.h>
+#include <WebKit/WKBase.h>
#ifdef __cplusplus
extern "C" {
@@ -48,16 +48,6 @@ typedef struct WKConnectionClientV0 {
WKConnectionDidCloseCallback didClose;
} WKConnectionClientV0;
-enum { WKConnectionClientCurrentVersion WK_ENUM_DEPRECATED("Use an explicit version number instead") = 0 };
-typedef struct WKConnectionClient {
- int version;
- const void * clientInfo;
-
- // Version 0.
- WKConnectionDidReceiveMessageCallback didReceiveMessage;
- WKConnectionDidCloseCallback didClose;
-} WKConnectionClient WK_DEPRECATED("Use an explicit versioned struct instead");
-
WK_EXPORT WKTypeID WKConnectionGetTypeID();
WK_EXPORT void WKConnectionSetConnectionClient(WKConnectionRef connection, const WKConnectionClientBase* client);