summaryrefslogtreecommitdiff
path: root/CyteKit
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-06-26 04:47:18 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-06-26 04:47:18 -0700
commita09f7a4894d2dde0ac8820993f3d51ba0fe36810 (patch)
treec6fc98e35c1fb6563a618604c10a1b09adee737f /CyteKit
parent62664aee74d60bfac5b6497715b6e6020702373e (diff)
Remove dependency on Substrate to have its macros.
Diffstat (limited to 'CyteKit')
-rw-r--r--CyteKit/WebView.mm2
-rw-r--r--CyteKit/dispatchEvent.mm4
2 files changed, 2 insertions, 4 deletions
diff --git a/CyteKit/WebView.mm b/CyteKit/WebView.mm
index df37711..7338939 100644
--- a/CyteKit/WebView.mm
+++ b/CyteKit/WebView.mm
@@ -22,7 +22,7 @@
#include "CyteKit/dispatchEvent.h"
#include "CyteKit/WebView.h"
-#include <CydiaSubstrate/CydiaSubstrate.h>
+#include "Substrate.hpp"
#include "iPhonePrivate.h"
diff --git a/CyteKit/dispatchEvent.mm b/CyteKit/dispatchEvent.mm
index f3fa41e..a25bdf9 100644
--- a/CyteKit/dispatchEvent.mm
+++ b/CyteKit/dispatchEvent.mm
@@ -28,9 +28,7 @@
#include <WebKit/WebScriptObject.h>
#include <WebKit/WebView.h>
-#include <objc/runtime.h>
-
-#include <CydiaSubstrate/CydiaSubstrate.h>
+#include "Substrate.hpp"
@implementation UIWebDocumentView (CyteDispatchEvent)