summaryrefslogtreecommitdiffstats
path: root/OSX/Updater.h
diff options
context:
space:
mode:
authorSimon Rettberg2019-02-18 11:55:41 +0100
committerSimon Rettberg2019-02-18 11:55:41 +0100
commitae69a754244c4e475c8d2591772ca8e005071d83 (patch)
tree58b3fa7abc2dcfe3c23e1c0ce108950c720826ab /OSX/Updater.h
parentUpdate gitignore (diff)
downloadxscreensaver-ae69a754244c4e475c8d2591772ca8e005071d83.tar.gz
xscreensaver-ae69a754244c4e475c8d2591772ca8e005071d83.tar.xz
xscreensaver-ae69a754244c4e475c8d2591772ca8e005071d83.zip
Update to 5.42
Diffstat (limited to 'OSX/Updater.h')
-rw-r--r--OSX/Updater.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/OSX/Updater.h b/OSX/Updater.h
index 53abbe4..3b56830 100644
--- a/OSX/Updater.h
+++ b/OSX/Updater.h
@@ -1,4 +1,4 @@
-/* xscreensaver, Copyright (c) 2013 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 2013-2018 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@ -9,14 +9,17 @@
* implied warranty.
*/
-#ifndef USE_IPHONE
-#import <Cocoa/Cocoa.h>
-@interface XScreenSaverUpdater : NSObject <NSApplicationDelegate>
+#ifdef IN_UPDATER
+# import <Cocoa/Cocoa.h>
+# import <Sparkle/SUUpdaterDelegate.h>
+
+@interface XScreenSaverUpdater : NSObject <NSApplicationDelegate,
+ SUUpdaterDelegate>
{
NSTimer *timer;
}
@end
-#endif // !USE_IPHONE
+#endif // IN_UPDATER
#define UPDATER_DOMAIN "org.jwz.xscreensaver.updater"