-
Notifications
You must be signed in to change notification settings - Fork 1k
/
SUUtilities.h
34 lines (28 loc) · 978 Bytes
/
SUUtilities.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
// SUUtilities.h
// Sparkle
//
// Created by Andy Matuschak on 3/12/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class SUUpdater, SUBundleDefaults;
@interface SUUtilities : NSObject {
SUUpdater *updater;
SUBundleDefaults *defaults;
}
+ (NSString *)localizedStringForKey:(NSString *)key withComment:(NSString *)comment;
- (id)initWithUpdater:(SUUpdater *)aUpdater;
- (id)unlocalizedInfoValueForKey:(NSString *)key;
- (id)infoValueForKey:(NSString *)key;
- (NSString *)hostAppName;
- (NSString *)hostAppDisplayName;
- (NSString *)hostAppVersion;
- (NSString *)hostAppVersionString;
- (NSString *)hostAppID;
- (NSImage *)hostAppIcon;
- (SUBundleDefaults *)standardBundleDefaults;
@end
NSComparisonResult SUStandardVersionComparison(NSString * versionA, NSString * versionB);
// If running make localizable-strings for genstrings, ignore the error on this line.
NSString *SULocalizedString(NSString *key, NSString *comment);