Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 38 lines (32 sloc) 0.941 kb
98832c4 @andymatuschak Beginnings of insane SUHost-based refactoring to get rid of NSBundle+Spa...
andymatuschak authored
1 //
2 // SUHost.h
3 // Sparkle
4 //
5 // Copyright 2008 Andy Matuschak. All rights reserved.
6 //
7
8 #import "Sparkle.h"
9
10 @interface SUHost : NSObject
11 {
12 NSBundle *bundle;
13 }
14
de9be8b @andymatuschak Fixes 244428
andymatuschak authored
15 + (NSString *)systemVersionString;
16
98832c4 @andymatuschak Beginnings of insane SUHost-based refactoring to get rid of NSBundle+Spa...
andymatuschak authored
17 - (id)initWithBundle:(NSBundle *)aBundle;
18 - (NSBundle *)bundle;
19 - (NSString *)bundlePath;
20 - (NSString *)name;
21 - (NSString *)version;
22 - (NSString *)displayVersion;
23 - (NSImage *)icon;
3146ffb @andymatuschak Fixes 248929, 244738
andymatuschak authored
24 - (BOOL)isRunningOnReadOnlyVolume;
c42e3a3 @andymatuschak Fixed 251010
andymatuschak authored
25 - (BOOL)isBackgroundApplication;
98832c4 @andymatuschak Beginnings of insane SUHost-based refactoring to get rid of NSBundle+Spa...
andymatuschak authored
26 - (NSString *)publicDSAKey;
27 - (NSArray *)systemProfile;
28
29 - (id)objectForInfoDictionaryKey:(NSString *)key;
30 - (BOOL)boolForInfoDictionaryKey:(NSString *)key;
31 - (id)objectForUserDefaultsKey:(NSString *)defaultName;
32 - (void)setObject:(id)value forUserDefaultsKey:(NSString *)defaultName;
33 - (BOOL)boolForUserDefaultsKey:(NSString *)defaultName;
34 - (void)setBool:(BOOL)value forUserDefaultsKey:(NSString *)defaultName;
5b38483 @andymatuschak Fixes 245723
andymatuschak authored
35 - (id)objectForKey:(NSString *)key;
36 - (BOOL)boolForKey:(NSString *)key;
98832c4 @andymatuschak Beginnings of insane SUHost-based refactoring to get rid of NSBundle+Spa...
andymatuschak authored
37 @end
Something went wrong with that request. Please try again.