diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-06-07 21:10:18 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-06-07 21:10:18 +0200 |
commit | 6d7bff2476459049f4f554291a680e0f6003ea66 (patch) | |
tree | 4202e9f1cd843197648fec93b48a5bc88407dc2e /mmc_updater/src/StandardDirs.mm | |
parent | 977e11ef8d6780b173ad5ca6d13e29e721d0c6a0 (diff) | |
download | MultiMC-6d7bff2476459049f4f554291a680e0f6003ea66.tar MultiMC-6d7bff2476459049f4f554291a680e0f6003ea66.tar.gz MultiMC-6d7bff2476459049f4f554291a680e0f6003ea66.tar.lz MultiMC-6d7bff2476459049f4f554291a680e0f6003ea66.tar.xz MultiMC-6d7bff2476459049f4f554291a680e0f6003ea66.zip |
GH-1060 remove updater code
Diffstat (limited to 'mmc_updater/src/StandardDirs.mm')
-rw-r--r-- | mmc_updater/src/StandardDirs.mm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/mmc_updater/src/StandardDirs.mm b/mmc_updater/src/StandardDirs.mm deleted file mode 100644 index 53eecd47..00000000 --- a/mmc_updater/src/StandardDirs.mm +++ /dev/null @@ -1,18 +0,0 @@ -#include <Foundation/Foundation.h> - -#include "StandardDirs.h" - -std::string StandardDirs::applicationSupportFolderPath() -{ - NSArray* paths = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, - NSUserDomainMask, - true /* expand tildes */); - - for (unsigned int i=0; i < [paths count]; i++) - { - NSString* path = [paths objectAtIndex:i]; - return std::string([path UTF8String]); - } - return std::string(); -} - |