(Cocoa) Cleanups

This commit is contained in:
twinaphex 2015-04-20 12:59:24 +02:00
parent f76f288a86
commit 45ce04d821
2 changed files with 7 additions and 8 deletions

View File

@ -14,8 +14,8 @@
* If not, see <http://www.gnu.org/licenses/>. * If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef __CFEXTENSIONS_H #ifndef __COREFOUNDATION_TO_NSFOUNDATION_EXTENSIONS_H
#define __CFEXTENSIONS_H #define __COREFOUNDATION_TO_NSFOUNDATION_EXTENSIONS_H
#include <CoreFoundation/CoreFoundation.h> #include <CoreFoundation/CoreFoundation.h>
#include <CoreFoundation/CFArray.h> #include <CoreFoundation/CFArray.h>
@ -44,12 +44,11 @@ typedef enum
CFPrinterDescriptionDirectory = 20, // location of system's PPDs directory (Library/Printers/PPDs) CFPrinterDescriptionDirectory = 20, // location of system's PPDs directory (Library/Printers/PPDs)
CFSharedPublicDirectory = 21, // location of user's Public sharing directory (~/Public) CFSharedPublicDirectory = 21, // location of user's Public sharing directory (~/Public)
CFPreferencePanesDirectory = 22, // location of the PreferencePanes directory for use with System Preferences (Library/PreferencePanes) CFPreferencePanesDirectory = 22, // location of the PreferencePanes directory for use with System Preferences (Library/PreferencePanes)
CFApplicationScriptsDirectory = 23, // location of the user scripts folder for the calling application (~/Library/Application Scripts/code-signing-id) CFApplicationScriptsDirectory = 23, // location of the user scripts folder for the calling application (~/Library/Application Scripts/code-signing-id)
CFItemReplacementDirectory = 99, // For use with NSFileManager's URLForDirectory:inDomain:appropriateForURL:create:error: CFItemReplacementDirectory = 99, // For use with NSFileManager's URLForDirectory:inDomain:appropriateForURL:create:error:
CFAllApplicationsDirectory = 100, // all directories where applications can occur CFAllApplicationsDirectory = 100, // all directories where applications can occur
CFAllLibrariesDirectory = 101, // all directories where resources can occur CFAllLibrariesDirectory = 101, // all directories where resources can occur
CFTrashDirectory = 102 // location of Trash directory CFTrashDirectory = 102 // location of Trash directory
} CFSearchPathDirectory; } CFSearchPathDirectory;
typedef enum typedef enum

View File

@ -14,8 +14,8 @@
* If not, see <http://www.gnu.org/licenses/>. * If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef __RARCH_APPLE_H #ifndef __COCOA_COMMON_H
#define __RARCH_APPLE_H #define __COCOA_COMMON_H
#include <Foundation/Foundation.h> #include <Foundation/Foundation.h>