version 1.2, 2006/03/06 08:55:31 |
version 1.3, 2007/10/07 06:04:55 |
|
|
-(NSDictionary *)getMyDefaultTypingAttributes { |
-(NSDictionary *)getMyDefaultTypingAttributes { |
return myDefaultTypingAttributes; |
return myDefaultTypingAttributes; |
} |
} |
|
+(int) isX11Installed { |
|
NSFileManager *manager = [NSFileManager defaultManager]; |
|
if ([manager fileExistsAtPath: @"/usr/X11R6/bin/X"]) return 1; |
|
else return 0; |
|
} |
|
+(int) isGccInstalled { |
|
NSFileManager *manager = [NSFileManager defaultManager]; |
|
if ([manager fileExistsAtPath: @"/usr/bin/gcc"]) return 1; |
|
else return 0; |
|
} |
|
|
|
|
|
|
@end |
@end |