1 /* xscreensaver, Copyright (c) 2013 Jamie Zawinski <jwz@jwz.org>
3 * Permission to use, copy, modify, distribute, and sell this software and its
4 * documentation for any purpose is hereby granted without fee, provided that
5 * the above copyright notice appear in all copies and that both that
6 * copyright notice and this permission notice appear in supporting
7 * documentation. No representations are made about the suitability of this
8 * software for any purpose. It is provided "as is" without express or
13 #import <Cocoa/Cocoa.h>
14 @interface XScreenSaverUpdater : NSObject <NSApplicationDelegate>
21 #define UPDATER_DOMAIN "org.jwz.xscreensaver.updater"
23 // Strings must match Sparkle/SUConstants.m
24 #define SUSUEnableAutomaticChecksKey "SUEnableAutomaticChecks"
25 #define SUSUEnableAutomaticChecksDef YES
26 #define SUAutomaticallyUpdateKey "SUAutomaticallyUpdate"
27 #define SUAutomaticallyUpdateDef NO
28 #define SUSendProfileInfoKey "SUSendProfileInfo"
29 #define SUSendProfileInfoDef YES
30 #define SUScheduledCheckIntervalKey "SUScheduledCheckInterval"
31 #define SUScheduledCheckIntervalDef 604800
32 #define SULastCheckTimeKey "SULastCheckTime"
34 #define UPDATER_DEFAULTS @{ \
35 @SUSUEnableAutomaticChecksKey: @SUSUEnableAutomaticChecksDef, \
36 @SUAutomaticallyUpdateKey: @SUAutomaticallyUpdateDef, \
37 @SUSendProfileInfoKey: @SUSendProfileInfoDef, \
38 @SUScheduledCheckIntervalKey: @SUScheduledCheckIntervalDef \