@@ -30,18 +30,18 @@ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
30
30
POSSIBILITY OF SUCH DAMAGE.
31
31
*/
32
32
33
- #import " iTunesFormatFile .h"
34
- #import " iTunesFSFormatter .h"
33
+ #import " IFSFormatFile .h"
34
+ #import " IFSFormatter .h"
35
35
#import " NSObject+FUSEOFS.h"
36
36
37
- @interface iTunesFormatFile (Private)
37
+ @interface IFSFormatFile (Private)
38
38
- (void )_setup ;
39
39
- (NSString *)defaultKeyForTemplateId : (NSString *)_id ;
40
40
- (NSString *)templateDefaultFormatString ;
41
41
- (NSString *)templateFormatString ;
42
42
@end
43
43
44
- @implementation iTunesFormatFile
44
+ @implementation IFSFormatFile
45
45
46
46
static BOOL doDebug = NO ;
47
47
static NSCharacterSet *trimSet = nil ;
@@ -53,7 +53,7 @@ + (void)initialize {
53
53
if (didInit) return ;
54
54
didInit = YES ;
55
55
ud = [NSUserDefaults standardUserDefaults ];
56
- doDebug = [ud boolForKey: @" iTunesFormatFileDebugEnabled " ];
56
+ doDebug = [ud boolForKey: @" IFSFormatFileDebugEnabled " ];
57
57
trimSet = [[NSCharacterSet characterSetWithCharactersInString: @" \n\r\t " ]
58
58
copy ];
59
59
}
@@ -140,7 +140,7 @@ - (NSString *)templateFormatString {
140
140
141
141
/* accessors */
142
142
143
- - (iTunesFSFormatter *)getFormatter {
143
+ - (IFSFormatter *)getFormatter {
144
144
NSUserDefaults *ud = [NSUserDefaults standardUserDefaults ];
145
145
NSString *fmtKey = nil ;
146
146
NSString *fmt = nil ;
@@ -165,13 +165,13 @@ - (iTunesFSFormatter *)getFormatter {
165
165
NSLog (@" WARN: no format found for reference %@ -> alias failed!" , fmtKey);
166
166
}
167
167
if (fmt) {
168
- return [[[iTunesFSFormatter alloc ] initWithFormatString: fmt]
168
+ return [[[IFSFormatter alloc ] initWithFormatString: fmt]
169
169
autorelease ];
170
170
}
171
171
172
172
// fallback - hopefully indicates failure appropriately
173
173
fmt = fmtKey;
174
- return [[[iTunesFSFormatter alloc ] initWithFormatString: fmt] autorelease ];
174
+ return [[[IFSFormatter alloc ] initWithFormatString: fmt] autorelease ];
175
175
}
176
176
177
177
- (void )remove {
@@ -254,4 +254,4 @@ - (NSDictionary *)extendedFileAttributes {
254
254
}
255
255
#endif
256
256
257
- @end /* iTunesFormatFile */
257
+ @end /* IFSFormatFile */
0 commit comments