aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPConstants.h')
-rw-r--r--Source/SPConstants.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h
index fd7afe40..322219ae 100644
--- a/Source/SPConstants.h
+++ b/Source/SPConstants.h
@@ -607,3 +607,5 @@ extern NSString *SPURLSchemeQueryInputPathHeader;
extern NSString *SPURLSchemeQueryResultPathHeader;
extern NSString *SPURLSchemeQueryResultStatusPathHeader;
extern NSString *SPURLSchemeQueryResultMetaPathHeader;
+
+#define SPAppDelegate ((SPAppController *)[NSApp delegate])