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>
18 #define UPDATER_DOMAIN "org.jwz.xscreensaver.updater"
20 // Strings must match Sparkle/SUConstants.m
21 #define SUSUEnableAutomaticChecksKey "SUEnableAutomaticChecks"
22 #define SUSUEnableAutomaticChecksDef YES
23 #define SUAutomaticallyUpdateKey "SUAutomaticallyUpdate"
24 #define SUAutomaticallyUpdateDef NO
25 #define SUSendProfileInfoKey "SUSendProfileInfo"
26 #define SUSendProfileInfoDef YES
27 #define SUScheduledCheckIntervalKey "SUScheduledCheckInterval"
28 #define SUScheduledCheckIntervalDef 604800
30 #define UPDATER_DEFAULTS @{ \
31 @SUSUEnableAutomaticChecksKey: @SUSUEnableAutomaticChecksDef, \
32 @SUAutomaticallyUpdateKey: @SUAutomaticallyUpdateDef, \
33 @SUSendProfileInfoKey: @SUSendProfileInfoDef, \
34 @SUScheduledCheckIntervalKey: @SUScheduledCheckIntervalDef \