1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-11-15 03:59:01 +00:00
dupeguru/cocoalib/cocoa/CocoaProxy.h

34 lines
1.2 KiB
C
Raw Normal View History

2013-06-23 01:32:48 +00:00
#import <Cocoa/Cocoa.h>
@interface CocoaProxy : NSObject
{
NSAutoreleasePool *currentPool;
}
- (void)openPath:(NSString *)path;
- (void)openURL:(NSString *)url;
- (void)revealPath:(NSString *)path;
- (NSString *)getUTI:(NSString *)path;
- (BOOL)type:(NSString *)type conformsToType:(NSString *)refType;
- (NSString *)getAppdataPath;
- (NSString *)getCachePath;
- (NSString *)getResourcePath;
- (NSString *)systemLang;
- (NSString *)systemShortDateFormat;
- (NSString *)systemNumberDecimalSeparator;
- (NSString *)systemNumberGroupingSeparator;
- (NSString *)systemCurrency;
- (NSString *)bundleIdentifier;
- (NSString *)appVersion;
- (NSString *)osxVersion;
- (NSString *)bundleInfo:(NSString *)key;
2013-06-23 01:32:48 +00:00
- (void)postNotification:(NSString *)name userInfo:(NSDictionary *)userInfo;
- (id)prefValue:(NSString *)prefname;
- (void)setPrefValue:(NSString *)prefname value:(id)value;
- (id)prefValue:(NSString *)prefname inDomain:(NSString *)domain;
- (NSString *)url2path:(NSString *)url;
- (void)createPool;
- (void)destroyPool;
- (void)reportCrash:(NSString *)crashReport withGithubUrl:(NSString *)githubUrl;
2013-06-23 01:32:48 +00:00
- (void)log:(NSString *)s;
- (NSDictionary *)readExifData:(NSString *)imagePath;
2013-06-23 01:32:48 +00:00
@end