diff options
Diffstat (limited to 'embedding/ios/GeckoEmbed/js/dirs.m')
-rw-r--r-- | embedding/ios/GeckoEmbed/js/dirs.m | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/embedding/ios/GeckoEmbed/js/dirs.m b/embedding/ios/GeckoEmbed/js/dirs.m deleted file mode 100644 index dc74df9763..0000000000 --- a/embedding/ios/GeckoEmbed/js/dirs.m +++ /dev/null @@ -1,12 +0,0 @@ -#import <Foundation/Foundation.h> - -bool GetDocumentsDirectory(char* dir) -{ - NSSearchPathDirectory directory = NSDocumentDirectory; - NSArray* paths = NSSearchPathForDirectoriesInDomains(directory, NSUserDomainMask, YES); - if ([paths count] == 0) { - return false; - } - strcpy(dir, [[paths objectAtIndex:0] UTF8String]); - return true; -} |