-
Notifications
You must be signed in to change notification settings - Fork 118
/
Copy pathHelper.h
53 lines (45 loc) · 1.45 KB
/
Helper.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
This file is part of the TVShows source code.
http://github.com/mattprice/TVShows
TVShows is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
*/
#import <Cocoa/Cocoa.h>
@interface Helper : NSObject {
NSString *libraryFolder;
NSString *applicationSupportFolder;
NSString *applicationApplicationSupportFolder;
NSString *preferencesFolder;
NSString *preferencesFile;
NSString *showsPath;
NSString *launchdPlistPath;
NSString *scriptPath;
NSString *logPath;
NSString *scriptFolder;
NSString *bundleIdentifier;
}
- (void)createFolderAtPath: (NSString *)path;
- (void)chmodFolderAtPath: (NSString *)path;
- (NSString *)libraryFolder;
- (NSString *)applicationSupportFolder;
- (NSString *)applicationApplicationSupportFolder;
- (NSString *)preferencesFolder;
- (NSString *)preferencesFile;
- (NSString *)showsPath;
- (NSString *)launchdPlistPath;
- (NSString *)scriptPath;
- (NSString *)logPath;
- (NSString *)scriptFolder;
- (NSString *)bundleIdentifier;
/*
+ (NSString *)pathForDirectoryInUserDomain: (NSSearchPathDirectory)directory;
+ (NSString *)applicationSupportFolder;
+ (NSString *)applicationApplicationSupportFolder;
+ (void)initializeFoldersAndFiles;
+ (NSString *)showListPath;
*/
+ (void)dieWithErrorMessage: (NSString *)message;
+ (NSNumber *)negate: (NSNumber *)n;
@end