Oolite 1.91.0.7644-241112-7f5034b
|
import <CoreFoundation/CoreFoundation.h>
import <CoreServices/CoreServices.h>
import <Foundation/Foundation.h>
import <stdarg.h>
import "NSScannerOOExtensions.h"
import "OOCollectionExtractors.h"
import "NSDataOOExtensions.h"
Go to the source code of this file.
Macros | |
#define | kTitle (NSString *)kMDItemTitle |
#define | kAuthors (NSString *)kMDItemAuthors |
#define | kVersion (NSString *)kMDItemVersion |
#define | kCopyright (NSString *)kMDItemCopyright |
#define | kIdentifier (NSString *)kMDItemIdentifier |
#define | kDescription (NSString *)kMDItemDescription |
#define | kURL (NSString *)kMDItemURL |
#define | kTextContent (NSString *)kMDItemTextContent |
#define | kShipIDs @"org_aegidian_oolite_shipids" |
#define | kShipClassNames @"org_aegidian_oolite_shipclassnames" |
#define | kShipRoles @"org_aegidian_oolite_shiproles" |
#define | kShipModels @"org_aegidian_oolite_shipmodels" |
#define | kCombatRating @"org_aegidian_oolite_combatrating" |
#define | kSystemName @"org_aegidian_oolite_systemname" |
#define | kMinOoliteVersion @"org_aegidian_oolite_minversion" |
#define | kMaxOoliteVersion @"org_aegidian_oolite_maxversion" |
Functions | |
static bool | GetMetadataForSaveFile (void *thisInterface, NSMutableDictionary *attributes, NSString *pathToFile) |
static bool | GetMetadataForExpansionPack (void *thisInterface, NSMutableDictionary *attributes, NSString *pathToFile) |
static id | GetBundlePropertyList (NSString *inPListName) |
static NSDictionary * | ConfigDictionary (NSString *basePath, NSString *name) |
static NSDictionary * | MergeShipData (NSDictionary *shipData, NSDictionary *shipDataOverrides) |
static NSDictionary * | MergeShipDataEntry (NSDictionary *baseDict, NSDictionary *overrideDict) |
static NSDictionary * | OOParseRolesFromString (NSString *string) |
static NSMutableArray * | ScanTokensFromString (NSString *values) |
BOOL | GetMetadataForFile (void *thisInterface, NSMutableDictionary *attributes, CFStringRef contentTypeUTI, NSString *pathToFile) |
void | OOLogWithFunctionFileAndLine (NSString *inMessageClass, const char *inFunction, const char *inFile, unsigned long inLine, NSString *inFormat,...) |
Variables | |
NSString *const | kOOLogFileNotFound = @"" |
#define kAuthors (NSString *)kMDItemAuthors |
Definition at line 35 of file GetMetadataForFile.m.
#define kCombatRating @"org_aegidian_oolite_combatrating" |
Definition at line 46 of file GetMetadataForFile.m.
#define kCopyright (NSString *)kMDItemCopyright |
Definition at line 37 of file GetMetadataForFile.m.
#define kDescription (NSString *)kMDItemDescription |
Definition at line 39 of file GetMetadataForFile.m.
#define kIdentifier (NSString *)kMDItemIdentifier |
Definition at line 38 of file GetMetadataForFile.m.
#define kMaxOoliteVersion @"org_aegidian_oolite_maxversion" |
Definition at line 49 of file GetMetadataForFile.m.
#define kMinOoliteVersion @"org_aegidian_oolite_minversion" |
Definition at line 48 of file GetMetadataForFile.m.
#define kShipClassNames @"org_aegidian_oolite_shipclassnames" |
Definition at line 43 of file GetMetadataForFile.m.
#define kShipIDs @"org_aegidian_oolite_shipids" |
Definition at line 42 of file GetMetadataForFile.m.
#define kShipModels @"org_aegidian_oolite_shipmodels" |
Definition at line 45 of file GetMetadataForFile.m.
#define kShipRoles @"org_aegidian_oolite_shiproles" |
Definition at line 44 of file GetMetadataForFile.m.
#define kSystemName @"org_aegidian_oolite_systemname" |
Definition at line 47 of file GetMetadataForFile.m.
#define kTextContent (NSString *)kMDItemTextContent |
Definition at line 41 of file GetMetadataForFile.m.
#define kTitle (NSString *)kMDItemTitle |
Definition at line 34 of file GetMetadataForFile.m.
#define kURL (NSString *)kMDItemURL |
Definition at line 40 of file GetMetadataForFile.m.
#define kVersion (NSString *)kMDItemVersion |
Definition at line 36 of file GetMetadataForFile.m.
|
static |
Definition at line 235 of file GetMetadataForFile.m.
References nil.
Referenced by GetMetadataForExpansionPack().
|
static |
Definition at line 226 of file GetMetadataForFile.m.
Referenced by GetMetadataForSaveFile().
|
static |
Definition at line 135 of file GetMetadataForFile.m.
References ConfigDictionary(), MergeShipData(), and nil.
Referenced by GetMetadataForFile().
BOOL GetMetadataForFile | ( | void * | thisInterface, |
NSMutableDictionary * | attributes, | ||
CFStringRef | contentTypeUTI, | ||
NSString * | pathToFile ) |
Definition at line 68 of file GetMetadataForFile.m.
References GetMetadataForExpansionPack(), and GetMetadataForSaveFile().
|
static |
Definition at line 93 of file GetMetadataForFile.m.
References GetBundlePropertyList(), and nil.
Referenced by GetMetadataForFile().
|
static |
Definition at line 257 of file GetMetadataForFile.m.
References MergeShipDataEntry(), and nil.
Referenced by GetMetadataForExpansionPack().
|
static |
Definition at line 277 of file GetMetadataForFile.m.
References nil.
Referenced by MergeShipData().
void OOLogWithFunctionFileAndLine | ( | NSString * | inMessageClass, |
const char * | inFunction, | ||
const char * | inFile, | ||
unsigned long | inLine, | ||
NSString * | inFormat, | ||
... ) |
Definition at line 365 of file GetMetadataForFile.m.
|
static |
Definition at line 290 of file GetMetadataForFile.m.
|
static |
Definition at line 335 of file GetMetadataForFile.m.
Referenced by OOParseRolesFromString().
NSString* const kOOLogFileNotFound = @"" |
Definition at line 371 of file GetMetadataForFile.m.
Referenced by CopyDataFromFile(), and GetShaderSource().