You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
411 B
15 lines
411 B
//
|
|
// DirectoryManager.mm - Sudachi
|
|
// Created by Jarrod Norwell on 1/18/24.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "DirectoryManager.h"
|
|
|
|
NSURL *DocumentsDirectory() {
|
|
return [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] firstObject];
|
|
}
|
|
|
|
const char* DirectoryManager::AppUIDirectory(void) {
|
|
return [[DocumentsDirectory() path] UTF8String];
|
|
}
|