Added NSBundle executableURL and builtInPlugInsURL

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36959 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
lubosd 2013-08-10 13:31:46 +00:00
parent 43acfe40ac
commit a544d2a680
3 changed files with 22 additions and 1 deletions

View file

@ -2737,6 +2737,11 @@ IF_NO_GC(
return object;
}
- (NSURL *) executableURL
{
return [NSURL fileURLWithPath: [self executablePath]];
}
- (NSString *) resourcePath
{
NSString *version = _frameworkVersion;
@ -2811,6 +2816,11 @@ IF_NO_GC(
}
}
- (NSURL *) builtInPlugInsURL
{
return [NSURL fileURLWithPath: [self builtInPlugInsPath]];
}
- (NSString*) bundleIdentifier
{
return [[self infoDictionary] objectForKey: @"CFBundleIdentifier"];