diff options
Diffstat (limited to 'OSX/Updater.h')
-rw-r--r-- | OSX/Updater.h | 13 |
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" |