From f954ae2f64c80e2f88d873f1cfb76eec157dcbd6 Mon Sep 17 00:00:00 2001 From: meancoot Date: Sat, 6 Jul 2013 20:43:04 -0400 Subject: [PATCH] (Apple) Create OSX XCode project --- apple/OSX/RetroArch-Info.plist | 34 + .../en.lproj/InfoPlist.strings | 0 apple/OSX/en.lproj/MainMenu.xib | 4666 +++++++++++++++++ apple/RetroArch/RAGameView.m | 9 +- apple/RetroArch/RAModuleInfo.h | 1 + apple/RetroArch/RAModuleInfo.m | 10 +- apple/RetroArch/RetroArch_Apple.h | 10 + apple/RetroArch/main.m | 39 +- apple/RetroArch/utility.m | 1 - apple/RetroArch_OSX.xcodeproj/project.pbxproj | 366 ++ .../contents.xcworkspacedata | 7 + .../project.pbxproj | 80 +- .../contents.xcworkspacedata | 0 apple/{RetroArch => }/iOS/RALogView.m | 0 apple/{RetroArch => iOS}/RetroArch-Info.plist | 0 apple/{RetroArch => }/iOS/browser.m | 2 +- apple/iOS/en.lproj/InfoPlist.strings | 2 + .../input/BTStack/btdynamic.c | 2 +- .../input/BTStack/btdynamic.h | 0 .../{RetroArch => iOS}/input/BTStack/btpad.c | 2 +- .../{RetroArch => iOS}/input/BTStack/btpad.h | 0 .../input/BTStack/btpad_ps3.c | 2 +- .../input/BTStack/btpad_queue.c | 0 .../input/BTStack/btpad_queue.h | 0 .../input/BTStack/btpad_wii.c | 2 +- .../input/BTStack/btstack/btstack.h | 0 .../input/BTStack/btstack/hci_cmds.h | 0 .../input/BTStack/btstack/linked_list.h | 0 .../input/BTStack/btstack/run_loop.h | 0 .../input/BTStack/btstack/sdp_util.h | 0 .../input/BTStack/btstack/utils.h | 0 .../input/BTStack/wiimote.c | 0 .../input/BTStack/wiimote.h | 0 apple/{RetroArch => iOS}/input/ios_input.c | 0 apple/{RetroArch => iOS}/input/ios_input.h | 0 apple/{RetroArch => iOS}/input/ios_joypad.c | 0 apple/{RetroArch => iOS}/input/keycode.h | 0 apple/{RetroArch => }/iOS/settings.m | 10 +- apple/{RetroArch => }/iOS/views.h | 0 griffin/griffin.c | 16 +- 40 files changed, 5179 insertions(+), 82 deletions(-) create mode 100644 apple/OSX/RetroArch-Info.plist rename apple/{RetroArch => OSX}/en.lproj/InfoPlist.strings (100%) create mode 100644 apple/OSX/en.lproj/MainMenu.xib create mode 100644 apple/RetroArch_OSX.xcodeproj/project.pbxproj create mode 100644 apple/RetroArch_OSX.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename apple/{RetroArch.xcodeproj => RetroArch_iOS.xcodeproj}/project.pbxproj (86%) rename apple/{RetroArch.xcodeproj => RetroArch_iOS.xcodeproj}/project.xcworkspace/contents.xcworkspacedata (100%) rename apple/{RetroArch => }/iOS/RALogView.m (100%) rename apple/{RetroArch => iOS}/RetroArch-Info.plist (100%) rename apple/{RetroArch => }/iOS/browser.m (99%) create mode 100644 apple/iOS/en.lproj/InfoPlist.strings rename apple/{RetroArch => iOS}/input/BTStack/btdynamic.c (98%) rename apple/{RetroArch => iOS}/input/BTStack/btdynamic.h (100%) rename apple/{RetroArch => iOS}/input/BTStack/btpad.c (99%) rename apple/{RetroArch => iOS}/input/BTStack/btpad.h (100%) rename apple/{RetroArch => iOS}/input/BTStack/btpad_ps3.c (98%) rename apple/{RetroArch => iOS}/input/BTStack/btpad_queue.c (100%) rename apple/{RetroArch => iOS}/input/BTStack/btpad_queue.h (100%) rename apple/{RetroArch => iOS}/input/BTStack/btpad_wii.c (98%) rename apple/{RetroArch => iOS}/input/BTStack/btstack/btstack.h (100%) rename apple/{RetroArch => iOS}/input/BTStack/btstack/hci_cmds.h (100%) rename apple/{RetroArch => iOS}/input/BTStack/btstack/linked_list.h (100%) rename apple/{RetroArch => iOS}/input/BTStack/btstack/run_loop.h (100%) rename apple/{RetroArch => iOS}/input/BTStack/btstack/sdp_util.h (100%) rename apple/{RetroArch => iOS}/input/BTStack/btstack/utils.h (100%) rename apple/{RetroArch => iOS}/input/BTStack/wiimote.c (100%) rename apple/{RetroArch => iOS}/input/BTStack/wiimote.h (100%) rename apple/{RetroArch => iOS}/input/ios_input.c (100%) rename apple/{RetroArch => iOS}/input/ios_input.h (100%) rename apple/{RetroArch => iOS}/input/ios_joypad.c (100%) rename apple/{RetroArch => iOS}/input/keycode.h (100%) rename apple/{RetroArch => }/iOS/settings.m (99%) rename apple/{RetroArch => }/iOS/views.h (100%) diff --git a/apple/OSX/RetroArch-Info.plist b/apple/OSX/RetroArch-Info.plist new file mode 100644 index 0000000000..26d294a14a --- /dev/null +++ b/apple/OSX/RetroArch-Info.plist @@ -0,0 +1,34 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + libretro.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSMinimumSystemVersion + ${MACOSX_DEPLOYMENT_TARGET} + NSHumanReadableCopyright + Copyright © 2013 RetroArch. All rights reserved. + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/apple/RetroArch/en.lproj/InfoPlist.strings b/apple/OSX/en.lproj/InfoPlist.strings similarity index 100% rename from apple/RetroArch/en.lproj/InfoPlist.strings rename to apple/OSX/en.lproj/InfoPlist.strings diff --git a/apple/OSX/en.lproj/MainMenu.xib b/apple/OSX/en.lproj/MainMenu.xib new file mode 100644 index 0000000000..7b6a5eaad6 --- /dev/null +++ b/apple/OSX/en.lproj/MainMenu.xib @@ -0,0 +1,4666 @@ + + + + 1080 + 11D50 + 2457 + 1138.32 + 568.00 + + com.apple.InterfaceBuilder.CocoaPlugin + 2457 + + + NSWindowTemplate + NSView + NSMenu + NSMenuItem + NSCustomObject + + + com.apple.InterfaceBuilder.CocoaPlugin + + + PluginDependencyRecalculationVersion + + + + + NSApplication + + + FirstResponder + + + NSApplication + + + AMainMenu + + + + RetroArch + + 1048576 + 2147483647 + + NSImage + NSMenuCheckmark + + + NSImage + NSMenuMixedState + + submenuAction: + + RetroArch + + + + About RetroArch + + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Preferences… + , + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Services + + 1048576 + 2147483647 + + + submenuAction: + + Services + + _NSServicesMenu + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Hide RetroArch + h + 1048576 + 2147483647 + + + + + + Hide Others + h + 1572864 + 2147483647 + + + + + + Show All + + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Quit RetroArch + q + 1048576 + 2147483647 + + + + + _NSAppleMenu + + + + + File + + 1048576 + 2147483647 + + + submenuAction: + + File + + + + New + n + 1048576 + 2147483647 + + + + + + Open… + o + 1048576 + 2147483647 + + + + + + Open Recent + + 1048576 + 2147483647 + + + submenuAction: + + Open Recent + + + + Clear Menu + + 1048576 + 2147483647 + + + + + _NSRecentDocumentsMenu + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Close + w + 1048576 + 2147483647 + + + + + + Save… + s + 1048576 + 2147483647 + + + + + + Revert to Saved + + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Page Setup... + P + 1179648 + 2147483647 + + + + + + + Print… + p + 1048576 + 2147483647 + + + + + + + + + Edit + + 1048576 + 2147483647 + + + submenuAction: + + Edit + + + + Undo + z + 1048576 + 2147483647 + + + + + + Redo + Z + 1179648 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Cut + x + 1048576 + 2147483647 + + + + + + Copy + c + 1048576 + 2147483647 + + + + + + Paste + v + 1048576 + 2147483647 + + + + + + Paste and Match Style + V + 1572864 + 2147483647 + + + + + + Delete + + 1048576 + 2147483647 + + + + + + Select All + a + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Find + + 1048576 + 2147483647 + + + submenuAction: + + Find + + + + Find… + f + 1048576 + 2147483647 + + + 1 + + + + Find and Replace… + f + 1572864 + 2147483647 + + + 12 + + + + Find Next + g + 1048576 + 2147483647 + + + 2 + + + + Find Previous + G + 1179648 + 2147483647 + + + 3 + + + + Use Selection for Find + e + 1048576 + 2147483647 + + + 7 + + + + Jump to Selection + j + 1048576 + 2147483647 + + + + + + + + + Spelling and Grammar + + 1048576 + 2147483647 + + + submenuAction: + + Spelling and Grammar + + + + Show Spelling and Grammar + : + 1048576 + 2147483647 + + + + + + Check Document Now + ; + 1048576 + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Check Spelling While Typing + + 1048576 + 2147483647 + + + + + + Check Grammar With Spelling + + 1048576 + 2147483647 + + + + + + Correct Spelling Automatically + + 2147483647 + + + + + + + + + Substitutions + + 1048576 + 2147483647 + + + submenuAction: + + Substitutions + + + + Show Substitutions + + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Smart Copy/Paste + f + 1048576 + 2147483647 + + + 1 + + + + Smart Quotes + g + 1048576 + 2147483647 + + + 2 + + + + Smart Dashes + + 2147483647 + + + + + + Smart Links + G + 1179648 + 2147483647 + + + 3 + + + + Text Replacement + + 2147483647 + + + + + + + + + Transformations + + 2147483647 + + + submenuAction: + + Transformations + + + + Make Upper Case + + 2147483647 + + + + + + Make Lower Case + + 2147483647 + + + + + + Capitalize + + 2147483647 + + + + + + + + + Speech + + 1048576 + 2147483647 + + + submenuAction: + + Speech + + + + Start Speaking + + 1048576 + 2147483647 + + + + + + Stop Speaking + + 1048576 + 2147483647 + + + + + + + + + + + + Format + + 2147483647 + + + submenuAction: + + Format + + + + Font + + 2147483647 + + + submenuAction: + + Font + + + + Show Fonts + t + 1048576 + 2147483647 + + + + + + Bold + b + 1048576 + 2147483647 + + + 2 + + + + Italic + i + 1048576 + 2147483647 + + + 1 + + + + Underline + u + 1048576 + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Bigger + + + 1048576 + 2147483647 + + + 3 + + + + Smaller + - + 1048576 + 2147483647 + + + 4 + + + + YES + YES + + + 2147483647 + + + + + + Kern + + 2147483647 + + + submenuAction: + + Kern + + + + Use Default + + 2147483647 + + + + + + Use None + + 2147483647 + + + + + + Tighten + + 2147483647 + + + + + + Loosen + + 2147483647 + + + + + + + + + Ligatures + + 2147483647 + + + submenuAction: + + Ligatures + + + + Use Default + + 2147483647 + + + + + + Use None + + 2147483647 + + + + + + Use All + + 2147483647 + + + + + + + + + Baseline + + 2147483647 + + + submenuAction: + + Baseline + + + + Use Default + + 2147483647 + + + + + + Superscript + + 2147483647 + + + + + + Subscript + + 2147483647 + + + + + + Raise + + 2147483647 + + + + + + Lower + + 2147483647 + + + + + + + + + YES + YES + + + 2147483647 + + + + + + Show Colors + C + 1048576 + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Copy Style + c + 1572864 + 2147483647 + + + + + + Paste Style + v + 1572864 + 2147483647 + + + + + _NSFontMenu + + + + + Text + + 2147483647 + + + submenuAction: + + Text + + + + Align Left + { + 1048576 + 2147483647 + + + + + + Center + | + 1048576 + 2147483647 + + + + + + Justify + + 2147483647 + + + + + + Align Right + } + 1048576 + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Writing Direction + + 2147483647 + + + submenuAction: + + Writing Direction + + + + YES + Paragraph + + 2147483647 + + + + + + CURlZmF1bHQ + + 2147483647 + + + + + + CUxlZnQgdG8gUmlnaHQ + + 2147483647 + + + + + + CVJpZ2h0IHRvIExlZnQ + + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + YES + Selection + + 2147483647 + + + + + + CURlZmF1bHQ + + 2147483647 + + + + + + CUxlZnQgdG8gUmlnaHQ + + 2147483647 + + + + + + CVJpZ2h0IHRvIExlZnQ + + 2147483647 + + + + + + + + + YES + YES + + + 2147483647 + + + + + + Show Ruler + + 2147483647 + + + + + + Copy Ruler + c + 1310720 + 2147483647 + + + + + + Paste Ruler + v + 1310720 + 2147483647 + + + + + + + + + + + + View + + 1048576 + 2147483647 + + + submenuAction: + + View + + + + Show Toolbar + t + 1572864 + 2147483647 + + + + + + Customize Toolbar… + + 1048576 + 2147483647 + + + + + + + + + Window + + 1048576 + 2147483647 + + + submenuAction: + + Window + + + + Minimize + m + 1048576 + 2147483647 + + + + + + Zoom + + 1048576 + 2147483647 + + + + + + YES + YES + + + 1048576 + 2147483647 + + + + + + Bring All to Front + + 1048576 + 2147483647 + + + + + _NSWindowsMenu + + + + + Help + + 2147483647 + + + submenuAction: + + Help + + + + RetroArch Help + ? + 1048576 + 2147483647 + + + + + _NSHelpMenu + + + + _NSMainMenu + + + 15 + 2 + {{335, 390}, {480, 360}} + 1954021376 + RetroArch + NSWindow + + + + + 256 + {480, 360} + + {{0, 0}, {2560, 1418}} + {10000000000000, 10000000000000} + YES + + + RAAppDelegate + + + NSFontManager + + + + + + + terminate: + + + + 449 + + + + orderFrontStandardAboutPanel: + + + + 142 + + + + delegate + + + + 495 + + + + performMiniaturize: + + + + 37 + + + + arrangeInFront: + + + + 39 + + + + print: + + + + 86 + + + + runPageLayout: + + + + 87 + + + + clearRecentDocuments: + + + + 127 + + + + performClose: + + + + 193 + + + + toggleContinuousSpellChecking: + + + + 222 + + + + undo: + + + + 223 + + + + copy: + + + + 224 + + + + checkSpelling: + + + + 225 + + + + paste: + + + + 226 + + + + stopSpeaking: + + + + 227 + + + + cut: + + + + 228 + + + + showGuessPanel: + + + + 230 + + + + redo: + + + + 231 + + + + selectAll: + + + + 232 + + + + startSpeaking: + + + + 233 + + + + delete: + + + + 235 + + + + performZoom: + + + + 240 + + + + performFindPanelAction: + + + + 241 + + + + centerSelectionInVisibleArea: + + + + 245 + + + + toggleGrammarChecking: + + + + 347 + + + + toggleSmartInsertDelete: + + + + 355 + + + + toggleAutomaticQuoteSubstitution: + + + + 356 + + + + toggleAutomaticLinkDetection: + + + + 357 + + + + saveDocument: + + + + 362 + + + + revertDocumentToSaved: + + + + 364 + + + + runToolbarCustomizationPalette: + + + + 365 + + + + toggleToolbarShown: + + + + 366 + + + + hide: + + + + 367 + + + + hideOtherApplications: + + + + 368 + + + + unhideAllApplications: + + + + 370 + + + + newDocument: + + + + 373 + + + + openDocument: + + + + 374 + + + + raiseBaseline: + + + + 426 + + + + lowerBaseline: + + + + 427 + + + + copyFont: + + + + 428 + + + + subscript: + + + + 429 + + + + superscript: + + + + 430 + + + + tightenKerning: + + + + 431 + + + + underline: + + + + 432 + + + + orderFrontColorPanel: + + + + 433 + + + + useAllLigatures: + + + + 434 + + + + loosenKerning: + + + + 435 + + + + pasteFont: + + + + 436 + + + + unscript: + + + + 437 + + + + useStandardKerning: + + + + 438 + + + + useStandardLigatures: + + + + 439 + + + + turnOffLigatures: + + + + 440 + + + + turnOffKerning: + + + + 441 + + + + toggleAutomaticSpellingCorrection: + + + + 456 + + + + orderFrontSubstitutionsPanel: + + + + 458 + + + + toggleAutomaticDashSubstitution: + + + + 461 + + + + toggleAutomaticTextReplacement: + + + + 463 + + + + uppercaseWord: + + + + 464 + + + + capitalizeWord: + + + + 467 + + + + lowercaseWord: + + + + 468 + + + + pasteAsPlainText: + + + + 486 + + + + performFindPanelAction: + + + + 487 + + + + performFindPanelAction: + + + + 488 + + + + performFindPanelAction: + + + + 489 + + + + showHelp: + + + + 493 + + + + alignCenter: + + + + 518 + + + + pasteRuler: + + + + 519 + + + + toggleRuler: + + + + 520 + + + + alignRight: + + + + 521 + + + + copyRuler: + + + + 522 + + + + alignJustified: + + + + 523 + + + + alignLeft: + + + + 524 + + + + makeBaseWritingDirectionNatural: + + + + 525 + + + + makeBaseWritingDirectionLeftToRight: + + + + 526 + + + + makeBaseWritingDirectionRightToLeft: + + + + 527 + + + + makeTextWritingDirectionNatural: + + + + 528 + + + + makeTextWritingDirectionLeftToRight: + + + + 529 + + + + makeTextWritingDirectionRightToLeft: + + + + 530 + + + + performFindPanelAction: + + + + 535 + + + + addFontTrait: + + + + 421 + + + + addFontTrait: + + + + 422 + + + + modifyFont: + + + + 423 + + + + orderFrontFontPanel: + + + + 424 + + + + modifyFont: + + + + 425 + + + + window + + + + 532 + + + + + + 0 + + + + + + -2 + + + File's Owner + + + -1 + + + First Responder + + + -3 + + + Application + + + 29 + + + + + + + + + + + + + + 19 + + + + + + + + 56 + + + + + + + + 217 + + + + + + + + 83 + + + + + + + + 81 + + + + + + + + + + + + + + + + + 75 + + + + + 78 + + + + + 72 + + + + + 82 + + + + + 124 + + + + + + + + 77 + + + + + 73 + + + + + 79 + + + + + 112 + + + + + 74 + + + + + 125 + + + + + + + + 126 + + + + + 205 + + + + + + + + + + + + + + + + + + + + + + 202 + + + + + 198 + + + + + 207 + + + + + 214 + + + + + 199 + + + + + 203 + + + + + 197 + + + + + 206 + + + + + 215 + + + + + 218 + + + + + + + + 216 + + + + + + + + 200 + + + + + + + + + + + + + 219 + + + + + 201 + + + + + 204 + + + + + 220 + + + + + + + + + + + + + 213 + + + + + 210 + + + + + 221 + + + + + 208 + + + + + 209 + + + + + 57 + + + + + + + + + + + + + + + + + + 58 + + + + + 134 + + + + + 150 + + + + + 136 + + + + + 144 + + + + + 129 + + + + + 143 + + + + + 236 + + + + + 131 + + + + + + + + 149 + + + + + 145 + + + + + 130 + + + + + 24 + + + + + + + + + + + 92 + + + + + 5 + + + + + 239 + + + + + 23 + + + + + 295 + + + + + + + + 296 + + + + + + + + + 297 + + + + + 298 + + + + + 211 + + + + + + + + 212 + + + + + + + + + 195 + + + + + 196 + + + + + 346 + + + + + 348 + + + + + + + + 349 + + + + + + + + + + + + + + 350 + + + + + 351 + + + + + 354 + + + + + 371 + + + + + + + + 372 + + + + + 375 + + + + + + + + 376 + + + + + + + + + 377 + + + + + + + + 388 + + + + + + + + + + + + + + + + + + + + + + + 389 + + + + + 390 + + + + + 391 + + + + + 392 + + + + + 393 + + + + + 394 + + + + + 395 + + + + + 396 + + + + + 397 + + + + + + + + 398 + + + + + + + + 399 + + + + + + + + 400 + + + + + 401 + + + + + 402 + + + + + 403 + + + + + 404 + + + + + 405 + + + + + + + + + + + + 406 + + + + + 407 + + + + + 408 + + + + + 409 + + + + + 410 + + + + + 411 + + + + + + + + + + 412 + + + + + 413 + + + + + 414 + + + + + 415 + + + + + + + + + + + 416 + + + + + 417 + + + + + 418 + + + + + 419 + + + + + 420 + + + + + 450 + + + + + + + + 451 + + + + + + + + + + 452 + + + + + 453 + + + + + 454 + + + + + 457 + + + + + 459 + + + + + 460 + + + + + 462 + + + + + 465 + + + + + 466 + + + + + 485 + + + + + 490 + + + + + + + + 491 + + + + + + + + 492 + + + + + 494 + + + + + 496 + + + + + + + + 497 + + + + + + + + + + + + + + + + + 498 + + + + + 499 + + + + + 500 + + + + + 501 + + + + + 502 + + + + + 503 + + + + + + + + 504 + + + + + 505 + + + + + 506 + + + + + 507 + + + + + 508 + + + + + + + + + + + + + + + + 509 + + + + + 510 + + + + + 511 + + + + + 512 + + + + + 513 + + + + + 514 + + + + + 515 + + + + + 516 + + + + + 517 + + + + + 534 + + + + + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{380, 496}, {480, 360}} + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + + + + + 535 + + + + + ABCardController + NSObject + + id + id + id + id + id + id + id + + + + addCardViewField: + id + + + copy: + id + + + cut: + id + + + doDelete: + id + + + find: + id + + + paste: + id + + + saveChanges: + id + + + + ABCardView + NSButton + NSManagedObjectContext + NSSearchField + NSTextField + NSWindow + + + + mCardView + ABCardView + + + mEditButton + NSButton + + + mManagedObjectContext + NSManagedObjectContext + + + mSearchField + NSSearchField + + + mStatusTextField + NSTextField + + + mWindow + NSWindow + + + + IBProjectSource + ./Classes/ABCardController.h + + + + ABCardView + NSView + + id + id + + + + commitAndSave: + id + + + statusImageClicked: + id + + + + NSObjectController + NSImageView + NSView + ABNameFrameView + NSView + NSImage + ABImageView + + + + mBindingsController + NSObjectController + + + mBuddyStatusImage + NSImageView + + + mHeaderView + NSView + + + mNameView + ABNameFrameView + + + mNextKeyView + NSView + + + mUserImage + NSImage + + + mUserImageView + ABImageView + + + + IBProjectSource + ./Classes/ABCardView.h + + + + ABImageView + NSImageView + + id + id + id + id + + + + copy: + id + + + cut: + id + + + delete: + id + + + paste: + id + + + + IBProjectSource + ./Classes/ABImageView.h + + + + DVTBorderedView + DVTLayoutView_ML + + contentView + NSView + + + contentView + + contentView + NSView + + + + IBProjectSource + ./Classes/DVTBorderedView.h + + + + DVTDelayedMenuButton + NSButton + + IBProjectSource + ./Classes/DVTDelayedMenuButton.h + + + + DVTGradientImageButton + NSButton + + IBProjectSource + ./Classes/DVTGradientImageButton.h + + + + DVTImageAndTextCell + NSTextFieldCell + + IBProjectSource + ./Classes/DVTImageAndTextCell.h + + + + DVTImageAndTextColumn + NSTableColumn + + IBProjectSource + ./Classes/DVTImageAndTextColumn.h + + + + DVTLayoutView_ML + NSView + + IBProjectSource + ./Classes/DVTLayoutView_ML.h + + + + DVTOutlineView + NSOutlineView + + IBProjectSource + ./Classes/DVTOutlineView.h + + + + DVTSplitView + NSSplitView + + IBProjectSource + ./Classes/DVTSplitView.h + + + + DVTStackView_ML + DVTLayoutView_ML + + IBProjectSource + ./Classes/DVTStackView_ML.h + + + + DVTTableView + NSTableView + + IBProjectSource + ./Classes/DVTTableView.h + + + + DVTViewController + NSViewController + + IBProjectSource + ./Classes/DVTViewController.h + + + + HFController + NSObject + + selectAll: + id + + + selectAll: + + selectAll: + id + + + + IBProjectSource + ./Classes/HFController.h + + + + HFRepresenterTextView + NSView + + selectAll: + id + + + selectAll: + + selectAll: + id + + + + IBProjectSource + ./Classes/HFRepresenterTextView.h + + + + IBEditor + NSObject + + id + id + id + id + id + + + + changeFont: + id + + + performCopy: + id + + + performCut: + id + + + selectAll: + id + + + sizeSelectionToFit: + id + + + + IBProjectSource + ./Classes/IBEditor.h + + + + IDECapsuleListView + DVTStackView_ML + + dataSource + id + + + dataSource + + dataSource + id + + + + IBProjectSource + ./Classes/IDECapsuleListView.h + + + + IDEDMArrayController + NSArrayController + + IBProjectSource + ./Classes/IDEDMArrayController.h + + + + IDEDMEditor + IDEEditor + + DVTBorderedView + NSView + IDEDMEditorSourceListController + DVTSplitView + + + + bottomToolbarBorderView + DVTBorderedView + + + sourceListSplitViewPane + NSView + + + sourceListViewController + IDEDMEditorSourceListController + + + splitView + DVTSplitView + + + + IBProjectSource + ./Classes/IDEDMEditor.h + + + + IDEDMEditorController + IDEViewController + + IBProjectSource + ./Classes/IDEDMEditorController.h + + + + IDEDMEditorSourceListController + IDEDMEditorController + + DVTBorderedView + IDEDMEditor + DVTImageAndTextColumn + DVTOutlineView + NSTreeController + + + + borderedView + DVTBorderedView + + + parentEditor + IDEDMEditor + + + primaryColumn + DVTImageAndTextColumn + + + sourceListOutlineView + DVTOutlineView + + + sourceListTreeController + NSTreeController + + + + IBProjectSource + ./Classes/IDEDMEditorSourceListController.h + + + + IDEDMHighlightImageAndTextCell + DVTImageAndTextCell + + IBProjectSource + ./Classes/IDEDMHighlightImageAndTextCell.h + + + + IDEDataModelBrowserEditor + IDEDMEditorController + + IDEDataModelPropertiesTableController + IDECapsuleListView + NSArrayController + IDEDataModelPropertiesTableController + IDEDataModelEntityContentsEditor + IDEDataModelPropertiesTableController + + + + attributesTableViewController + IDEDataModelPropertiesTableController + + + capsuleView + IDECapsuleListView + + + entityArrayController + NSArrayController + + + fetchedPropertiesTableViewController + IDEDataModelPropertiesTableController + + + parentEditor + IDEDataModelEntityContentsEditor + + + relationshipsTableViewController + IDEDataModelPropertiesTableController + + + + IBProjectSource + ./Classes/IDEDataModelBrowserEditor.h + + + + IDEDataModelConfigurationEditor + IDEDMEditorController + + IDECapsuleListView + IDEDataModelEditor + IDEDataModelConfigurationTableController + + + + capsuleListView + IDECapsuleListView + + + parentEditor + IDEDataModelEditor + + + tableController + IDEDataModelConfigurationTableController + + + + IBProjectSource + ./Classes/IDEDataModelConfigurationEditor.h + + + + IDEDataModelConfigurationTableController + IDEDMEditorController + + NSArrayController + NSArrayController + IDEDataModelConfigurationEditor + XDTableView + + + + configurationsArrayController + NSArrayController + + + entitiesArrayController + NSArrayController + + + parentEditor + IDEDataModelConfigurationEditor + + + tableView + XDTableView + + + + IBProjectSource + ./Classes/IDEDataModelConfigurationTableController.h + + + + IDEDataModelDiagramEditor + IDEDMEditorController + + XDDiagramView + IDEDataModelEntityContentsEditor + + + + diagramView + XDDiagramView + + + parentEditor + IDEDataModelEntityContentsEditor + + + + IBProjectSource + ./Classes/IDEDataModelDiagramEditor.h + + + + IDEDataModelEditor + IDEDMEditor + + DVTDelayedMenuButton + DVTDelayedMenuButton + NSSegmentedControl + IDEDataModelConfigurationEditor + IDEDataModelEntityContentsEditor + IDEDataModelFetchRequestEditor + NSSegmentedControl + NSTabView + + + + addEntityButton + DVTDelayedMenuButton + + + addPropertyButton + DVTDelayedMenuButton + + + browserDiagramSegmentControl + NSSegmentedControl + + + configurationViewController + IDEDataModelConfigurationEditor + + + entityContentsViewController + IDEDataModelEntityContentsEditor + + + fetchRequestViewController + IDEDataModelFetchRequestEditor + + + hierarchySegmentControl + NSSegmentedControl + + + tabView + NSTabView + + + + IBProjectSource + ./Classes/IDEDataModelEditor.h + + + + IDEDataModelEntityContentsEditor + IDEDMEditorController + + IDEDataModelBrowserEditor + IDEDataModelDiagramEditor + IDEDataModelEditor + NSTabView + + + + browserViewController + IDEDataModelBrowserEditor + + + diagramViewController + IDEDataModelDiagramEditor + + + parentEditor + IDEDataModelEditor + + + tabView + NSTabView + + + + IBProjectSource + ./Classes/IDEDataModelEntityContentsEditor.h + + + + IDEDataModelFetchRequestEditor + IDEDMEditorController + + NSArrayController + IDEDataModelEditor + IDECapsuleListView + + + + entityController + NSArrayController + + + parentEditor + IDEDataModelEditor + + + tableView + IDECapsuleListView + + + + IBProjectSource + ./Classes/IDEDataModelFetchRequestEditor.h + + + + IDEDataModelPropertiesTableController + IDEDMEditorController + + IDEDMArrayController + NSTableColumn + NSArrayController + IDEDataModelBrowserEditor + IDEDMHighlightImageAndTextCell + XDTableView + + + + arrayController + IDEDMArrayController + + + entitiesColumn + NSTableColumn + + + entityArrayController + NSArrayController + + + parentEditor + IDEDataModelBrowserEditor + + + propertyNameAndImageCell + IDEDMHighlightImageAndTextCell + + + tableView + XDTableView + + + + IBProjectSource + ./Classes/IDEDataModelPropertiesTableController.h + + + + IDEDocDownloadsTableViewController + NSObject + + NSButtonCell + DVTTableView + IDEDocViewingPrefPaneController + + + + _downloadButtonCell + NSButtonCell + + + _tableView + DVTTableView + + + prefPaneController + IDEDocViewingPrefPaneController + + + + IBProjectSource + ./Classes/IDEDocDownloadsTableViewController.h + + + + IDEDocSetOutlineView + NSOutlineView + + IBProjectSource + ./Classes/IDEDocSetOutlineView.h + + + + IDEDocSetOutlineViewController + NSObject + + id + id + id + id + id + + + + getDocSetAction: + id + + + showProblemInfoForUpdate: + id + + + subscribeToPublisherAction: + id + + + unsubscribeFromPublisher: + id + + + updateDocSetAction: + id + + + + docSetOutlineView + IDEDocSetOutlineView + + + docSetOutlineView + + docSetOutlineView + IDEDocSetOutlineView + + + + IBProjectSource + ./Classes/IDEDocSetOutlineViewController.h + + + + IDEDocViewingPrefPaneController + IDEViewController + + id + id + id + id + id + id + id + id + id + id + id + + + + addSubscription: + id + + + checkForAndInstallUpdatesNow: + id + + + deleteDocSet: + id + + + downloadAction: + id + + + minimumFontSizeComboBoxAction: + id + + + minimumFontSizeEnabledAction: + id + + + showHelp: + id + + + showSubscriptionSheet: + id + + + subscriptionCancelAction: + id + + + toggleAutoCheckForAndInstallUpdates: + id + + + toggleDocSetInfo: + id + + + + DVTGradientImageButton + DVTGradientImageButton + DVTGradientImageButton + NSSplitView + NSView + NSView + DVTBorderedView + DVTBorderedView + NSButton + NSTextView + IDEDocSetOutlineViewController + IDEDocDownloadsTableViewController + NSComboBox + NSTextField + NSButton + NSTextField + NSWindow + NSButton + + + + _addButton + DVTGradientImageButton + + + _deleteButton + DVTGradientImageButton + + + _showInfoAreaButton + DVTGradientImageButton + + + _splitView + NSSplitView + + + _splitViewDocSetInfoSubview + NSView + + + _splitViewDocSetsListSubview + NSView + + + borderedViewAroundSplitView + DVTBorderedView + + + borderedViewBelowTable + DVTBorderedView + + + checkAndInstallNowButton + NSButton + + + docSetInfoTextView + NSTextView + + + docSetOutlineViewController + IDEDocSetOutlineViewController + + + downloadsTableViewController + IDEDocDownloadsTableViewController + + + minimumFontSizeControl + NSComboBox + + + noUpdatesAvailableMessage + NSTextField + + + showInfoButton + NSButton + + + subscriptionTextField + NSTextField + + + subscriptionWindow + NSWindow + + + validateAddSubscriptionButton + NSButton + + + + IBProjectSource + ./Classes/IDEDocViewingPrefPaneController.h + + + + IDEEditor + IDEViewController + + IBProjectSource + ./Classes/IDEEditor.h + + + + IDEViewController + DVTViewController + + IBProjectSource + ./Classes/IDEViewController.h + + + + IKImageView + + id + id + id + id + + + + copy: + id + + + crop: + id + + + cut: + id + + + paste: + id + + + + IBProjectSource + ./Classes/IKImageView.h + + + + NSDocument + + id + id + id + id + id + id + + + + printDocument: + id + + + revertDocumentToSaved: + id + + + runPageLayout: + id + + + saveDocument: + id + + + saveDocumentAs: + id + + + saveDocumentTo: + id + + + + IBProjectSource + ./Classes/NSDocument.h + + + + NSResponder + + _insertFindPattern: + id + + + _insertFindPattern: + + _insertFindPattern: + id + + + + IBProjectSource + ./Classes/NSResponder.h + + + + QLPreviewBubble + NSObject + + id + id + + + + hide: + id + + + show: + id + + + + parentWindow + NSWindow + + + parentWindow + + parentWindow + NSWindow + + + + IBProjectSource + ./Classes/QLPreviewBubble.h + + + + QTMovieView + + id + id + id + id + id + + + + showAll: + id + + + showCustomButton: + id + + + toggleLoops: + id + + + zoomIn: + id + + + zoomOut: + id + + + + IBProjectSource + ./Classes/QTMovieView.h + + + + WebView + + id + id + id + id + + + + reloadFromOrigin: + id + + + resetPageZoom: + id + + + zoomPageIn: + id + + + zoomPageOut: + id + + + + IBProjectSource + ./Classes/WebView.h + + + + XDDiagramView + NSView + + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + + + + _graphLayouterMenuItemAction: + id + + + _zoomPopUpButtonAction: + id + + + alignBottomEdges: + id + + + alignCentersHorizontallyInContainer: + id + + + alignCentersVerticallyInContainer: + id + + + alignHorizontalCenters: + id + + + alignLeftEdges: + id + + + alignRightEdges: + id + + + alignTopEdges: + id + + + alignVerticalCenters: + id + + + bringToFront: + id + + + collapseAllCompartments: + id + + + copy: + id + + + cut: + id + + + delete: + id + + + deleteBackward: + id + + + deleteForward: + id + + + deselectAll: + id + + + diagramZoomIn: + id + + + diagramZoomOut: + id + + + expandAllCompartments: + id + + + flipHorizontally: + id + + + flipVertically: + id + + + layoutGraphicsConcentrically: + id + + + layoutGraphicsHierarchically: + id + + + lock: + id + + + makeSameHeight: + id + + + makeSameWidth: + id + + + moveDown: + id + + + moveDownAndModifySelection: + id + + + moveLeft: + id + + + moveLeftAndModifySelection: + id + + + moveRight: + id + + + moveRightAndModifySelection: + id + + + moveUp: + id + + + moveUpAndModifySelection: + id + + + paste: + id + + + rollDownAllCompartments: + id + + + rollUpAllCompartments: + id + + + selectAll: + id + + + sendToBack: + id + + + sizeToFit: + id + + + toggleGridShown: + id + + + toggleHiddenGraphicsShown: + id + + + togglePageBreaksShown: + id + + + toggleRuler: + id + + + toggleSnapsToGrid: + id + + + unlock: + id + + + + _diagramController + IDEDataModelDiagramEditor + + + _diagramController + + _diagramController + IDEDataModelDiagramEditor + + + + IBProjectSource + ./Classes/XDDiagramView.h + + + + XDTableView + NSTableView + + showAllTableColumns: + id + + + showAllTableColumns: + + showAllTableColumns: + id + + + + IBProjectSource + ./Classes/XDTableView.h + + + + RAAppDelegate + NSObject + + id + id + + + + applicationShouldTerminate: + id + + + applicationWillFinishLaunching: + id + + + + IBProjectSource + ./Classes/RAAppDelegate.h + + + + + 0 + IBCocoaFramework + YES + 3 + + {11, 11} + {10, 3} + + YES + + diff --git a/apple/RetroArch/RAGameView.m b/apple/RetroArch/RAGameView.m index 9b3d6eb468..3bd3f44a47 100644 --- a/apple/RetroArch/RAGameView.m +++ b/apple/RetroArch/RAGameView.m @@ -13,10 +13,15 @@ * If not, see . */ +#ifdef IOS + #import "RetroArch_Apple.h" #import "views.h" #include "rarch_wrapper.h" -#include "input/ios_input.h" + +#ifdef IOS +#include "../iOS/input/ios_input.h" +#endif #include "general.h" @@ -202,3 +207,5 @@ void apple_bind_game_view_fbo(void) }); } + +#endif \ No newline at end of file diff --git a/apple/RetroArch/RAModuleInfo.h b/apple/RetroArch/RAModuleInfo.h index df1bf2d124..6cd8d6c312 100644 --- a/apple/RetroArch/RAModuleInfo.h +++ b/apple/RetroArch/RAModuleInfo.h @@ -16,6 +16,7 @@ #ifndef _RA_MODULE_INFO_H #define _RA_MODULE_INFO_H +#import #include "compat/apple_compat.h" #include "conf/config_file.h" diff --git a/apple/RetroArch/RAModuleInfo.m b/apple/RetroArch/RAModuleInfo.m index 2a956548c9..25f561e47c 100644 --- a/apple/RetroArch/RAModuleInfo.m +++ b/apple/RetroArch/RAModuleInfo.m @@ -15,7 +15,6 @@ #import "RetroArch_Apple.h" #import "RAModuleInfo.h" -#import "views.h" #include "file.h" #include "core_info.h" @@ -26,6 +25,7 @@ static core_info_list_t* coreList; @implementation RAModuleInfo + (NSArray*)getModules { +#ifdef IOS if (!moduleList) { char pattern[PATH_MAX]; @@ -55,6 +55,7 @@ static core_info_list_t* coreList; return [left.displayName caseInsensitiveCompare:right.displayName]; }]; } +#endif return moduleList; } @@ -68,6 +69,7 @@ static core_info_list_t* coreList; return does_core_support_file(self.info, path.UTF8String); } +#ifdef IOS - (void)createCustomConfig { if (!self.hasCustomConfig) @@ -98,9 +100,13 @@ static core_info_list_t* coreList; { return self.hasCustomConfig ? self.customConfigPath : RAModuleInfo.globalConfigPath; } +#endif @end +#ifdef IOS +#import "../iOS/views.h" + // Build a string with a second associated string static NSString* build_string_pair(NSString* stringA, NSString* stringB) { @@ -186,3 +192,5 @@ static NSString* build_string_pair(NSString* stringA, NSString* stringB) } @end + +#endif \ No newline at end of file diff --git a/apple/RetroArch/RetroArch_Apple.h b/apple/RetroArch/RetroArch_Apple.h index 699db481a4..9fe5ba71d6 100644 --- a/apple/RetroArch/RetroArch_Apple.h +++ b/apple/RetroArch/RetroArch_Apple.h @@ -17,6 +17,7 @@ #ifndef __RARCH_APPLE_H #define __RARCH_APPLE_H +#include #import "RAModuleInfo.h" void apple_run_core(RAModuleInfo* core, const char* file); @@ -44,6 +45,15 @@ void apple_run_core(RAModuleInfo* core, const char* file); @end +#elif defined(OSX) + +@interface RetroArch_OSX : NSObject + +- (void)loadingCore:(RAModuleInfo*)core withFile:(const char*)file; +- (void)unloadingCore:(RAModuleInfo*)core; + +@end + #endif // utility.m diff --git a/apple/RetroArch/main.m b/apple/RetroArch/main.m index 4bddb2e18a..bef75b42ae 100644 --- a/apple/RetroArch/main.m +++ b/apple/RetroArch/main.m @@ -17,20 +17,27 @@ #include #import "RetroArch_Apple.h" -#import "views.h" #include "rarch_wrapper.h" -#include "input/ios_input.h" -#include "input/keycode.h" -#include "input/BTStack/btpad.h" -#include "input/BTStack/btdynamic.h" -#include "input/BTStack/btpad.h" +#ifdef IOS +#import "views.h" +#include "../iOS/input/ios_input.h" +#include "../iOS/input/keycode.h" +#include "../iOS/input/BTStack/btpad.h" +#include "../iOS/input/BTStack/btdynamic.h" +#include "../iOS/input/BTStack/btpad.h" +#endif #include "file.h" //#define HAVE_DEBUG_FILELOG static bool use_tv_mode; + +#ifdef IOS static RetroArch_iOS* apple_platform; +#else +static RetroArch_OSX* apple_platform; +#endif // From frontend/frontend_ios.c @@ -468,11 +475,25 @@ int main(int argc, char *argv[]) #pragma mark OSX #ifdef OSX -@implementation AppDelegate +@implementation RetroArch_OSX -- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication ++ (RetroArch_OSX*)get +{ + return nil; +} + +- (void)applicationDidFinishLaunching:(NSNotification *)aNotification +{ + apple_platform = self; +} + +#pragma mark RetroArch_Platform +- (void)loadingCore:(RAModuleInfo*)core withFile:(const char*)file +{ +} + +- (void)unloadingCore:(RAModuleInfo*)core { - return YES; } @end diff --git a/apple/RetroArch/utility.m b/apple/RetroArch/utility.m index f7ae385ea8..19fe9218d9 100644 --- a/apple/RetroArch/utility.m +++ b/apple/RetroArch/utility.m @@ -19,7 +19,6 @@ #include "general.h" #include "file.h" -#import "views.h" void apple_display_alert(NSString* message, NSString* title) { diff --git a/apple/RetroArch_OSX.xcodeproj/project.pbxproj b/apple/RetroArch_OSX.xcodeproj/project.pbxproj new file mode 100644 index 0000000000..b3971c2819 --- /dev/null +++ b/apple/RetroArch_OSX.xcodeproj/project.pbxproj @@ -0,0 +1,366 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 96355CE31788E72A0010DBFA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 96355CE21788E72A0010DBFA /* Cocoa.framework */; }; + 967894931788ECDB00D6CA69 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 9678948F1788ECDB00D6CA69 /* InfoPlist.strings */; }; + 967894941788ECDB00D6CA69 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 967894911788ECDB00D6CA69 /* MainMenu.xib */; }; + 967894961788ED1100D6CA69 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 967894951788ED1100D6CA69 /* main.m */; }; + 9678949D1788F02600D6CA69 /* RAGameView.m in Sources */ = {isa = PBXBuildFile; fileRef = 967894971788F02600D6CA69 /* RAGameView.m */; }; + 9678949E1788F02600D6CA69 /* RAModuleInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 967894991788F02600D6CA69 /* RAModuleInfo.m */; }; + 9678949F1788F02600D6CA69 /* utility.m in Sources */ = {isa = PBXBuildFile; fileRef = 9678949C1788F02600D6CA69 /* utility.m */; }; + 967894A11788F07D00D6CA69 /* griffin.c in Sources */ = {isa = PBXBuildFile; fileRef = 967894A01788F07D00D6CA69 /* griffin.c */; }; + 967894A41788F0C200D6CA69 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 967894A21788F0C200D6CA69 /* CoreAudio.framework */; }; + 967894A51788F0C200D6CA69 /* CoreAudioKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 967894A31788F0C200D6CA69 /* CoreAudioKit.framework */; }; + 967894A71788F0D900D6CA69 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 967894A61788F0D900D6CA69 /* OpenGL.framework */; }; + 967894A91788F0E500D6CA69 /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 967894A81788F0E500D6CA69 /* AudioUnit.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 96355CDF1788E72A0010DBFA /* RetroArch.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RetroArch.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 96355CE21788E72A0010DBFA /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; + 96355CE51788E72A0010DBFA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; + 96355CE61788E72A0010DBFA /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; + 96355CE71788E72A0010DBFA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 9678948D1788ECCA00D6CA69 /* RetroArch-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "RetroArch-Info.plist"; path = "OSX/RetroArch-Info.plist"; sourceTree = SOURCE_ROOT; }; + 967894901788ECDB00D6CA69 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = OSX/en.lproj/InfoPlist.strings; sourceTree = SOURCE_ROOT; }; + 967894921788ECDB00D6CA69 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = OSX/en.lproj/MainMenu.xib; sourceTree = SOURCE_ROOT; }; + 967894951788ED1100D6CA69 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 967894971788F02600D6CA69 /* RAGameView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RAGameView.m; sourceTree = ""; }; + 967894981788F02600D6CA69 /* RAModuleInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RAModuleInfo.h; sourceTree = ""; }; + 967894991788F02600D6CA69 /* RAModuleInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RAModuleInfo.m; sourceTree = ""; }; + 9678949A1788F02600D6CA69 /* rarch_wrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = rarch_wrapper.h; sourceTree = ""; }; + 9678949B1788F02600D6CA69 /* RetroArch_Apple.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RetroArch_Apple.h; sourceTree = ""; }; + 9678949C1788F02600D6CA69 /* utility.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = utility.m; sourceTree = ""; }; + 967894A01788F07D00D6CA69 /* griffin.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = griffin.c; path = ../../griffin/griffin.c; sourceTree = ""; }; + 967894A21788F0C200D6CA69 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreAudio.framework; sourceTree = DEVELOPER_DIR; }; + 967894A31788F0C200D6CA69 /* CoreAudioKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudioKit.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreAudioKit.framework; sourceTree = DEVELOPER_DIR; }; + 967894A61788F0D900D6CA69 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework; sourceTree = DEVELOPER_DIR; }; + 967894A81788F0E500D6CA69 /* AudioUnit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioUnit.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AudioUnit.framework; sourceTree = DEVELOPER_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 96355CDC1788E72A0010DBFA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 967894A91788F0E500D6CA69 /* AudioUnit.framework in Frameworks */, + 967894A71788F0D900D6CA69 /* OpenGL.framework in Frameworks */, + 967894A41788F0C200D6CA69 /* CoreAudio.framework in Frameworks */, + 967894A51788F0C200D6CA69 /* CoreAudioKit.framework in Frameworks */, + 96355CE31788E72A0010DBFA /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 96355CD41788E6E00010DBFA = { + isa = PBXGroup; + children = ( + 967894A81788F0E500D6CA69 /* AudioUnit.framework */, + 967894A61788F0D900D6CA69 /* OpenGL.framework */, + 967894A21788F0C200D6CA69 /* CoreAudio.framework */, + 967894A31788F0C200D6CA69 /* CoreAudioKit.framework */, + 96355CE81788E72A0010DBFA /* RetroArch */, + 96355CE11788E72A0010DBFA /* Frameworks */, + 96355CE01788E72A0010DBFA /* Products */, + 96355CE91788E72A0010DBFA /* Supporting Files */, + ); + sourceTree = ""; + }; + 96355CE01788E72A0010DBFA /* Products */ = { + isa = PBXGroup; + children = ( + 96355CDF1788E72A0010DBFA /* RetroArch.app */, + ); + name = Products; + sourceTree = ""; + }; + 96355CE11788E72A0010DBFA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 96355CE51788E72A0010DBFA /* AppKit.framework */, + 96355CE61788E72A0010DBFA /* CoreData.framework */, + 96355CE71788E72A0010DBFA /* Foundation.framework */, + 96355CE21788E72A0010DBFA /* Cocoa.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 96355CE81788E72A0010DBFA /* RetroArch */ = { + isa = PBXGroup; + children = ( + 967894A01788F07D00D6CA69 /* griffin.c */, + 967894971788F02600D6CA69 /* RAGameView.m */, + 967894981788F02600D6CA69 /* RAModuleInfo.h */, + 967894991788F02600D6CA69 /* RAModuleInfo.m */, + 9678949A1788F02600D6CA69 /* rarch_wrapper.h */, + 9678949B1788F02600D6CA69 /* RetroArch_Apple.h */, + 9678949C1788F02600D6CA69 /* utility.m */, + 967894951788ED1100D6CA69 /* main.m */, + ); + path = RetroArch; + sourceTree = ""; + }; + 96355CE91788E72A0010DBFA /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 9678948F1788ECDB00D6CA69 /* InfoPlist.strings */, + 967894911788ECDB00D6CA69 /* MainMenu.xib */, + 9678948D1788ECCA00D6CA69 /* RetroArch-Info.plist */, + ); + name = "Supporting Files"; + path = RetroArch; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 96355CDE1788E72A0010DBFA /* RetroArch */ = { + isa = PBXNativeTarget; + buildConfigurationList = 96355CFA1788E72B0010DBFA /* Build configuration list for PBXNativeTarget "RetroArch" */; + buildPhases = ( + 96355CDB1788E72A0010DBFA /* Sources */, + 96355CDC1788E72A0010DBFA /* Frameworks */, + 96355CDD1788E72A0010DBFA /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = RetroArch; + productName = RetroArch; + productReference = 96355CDF1788E72A0010DBFA /* RetroArch.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 96355CD51788E6E00010DBFA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + }; + buildConfigurationList = 96355CD81788E6E00010DBFA /* Build configuration list for PBXProject "RetroArch_OSX" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 96355CD41788E6E00010DBFA; + productRefGroup = 96355CE01788E72A0010DBFA /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 96355CDE1788E72A0010DBFA /* RetroArch */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 96355CDD1788E72A0010DBFA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 967894931788ECDB00D6CA69 /* InfoPlist.strings in Resources */, + 967894941788ECDB00D6CA69 /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 96355CDB1788E72A0010DBFA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 967894961788ED1100D6CA69 /* main.m in Sources */, + 9678949D1788F02600D6CA69 /* RAGameView.m in Sources */, + 9678949E1788F02600D6CA69 /* RAModuleInfo.m in Sources */, + 9678949F1788F02600D6CA69 /* utility.m in Sources */, + 967894A11788F07D00D6CA69 /* griffin.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 9678948F1788ECDB00D6CA69 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 967894901788ECDB00D6CA69 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 967894911788ECDB00D6CA69 /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 967894921788ECDB00D6CA69 /* en */, + ); + name = MainMenu.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 96355CD91788E6E00010DBFA /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + HEADER_SEARCH_PATHS = "$(SRCROOT)/.."; + }; + name = Debug; + }; + 96355CDA1788E6E00010DBFA /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + HEADER_SEARCH_PATHS = "$(SRCROOT)/.."; + }; + name = Release; + }; + 96355CFB1788E72B0010DBFA /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COMBINE_HIDPI_IMAGES = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + INFOPLIST_FILE = "$(SRCROOT)/OSX/RetroArch-Info.plist"; + MACOSX_DEPLOYMENT_TARGET = 10.8; + ONLY_ACTIVE_ARCH = YES; + OTHER_CFLAGS = ( + "-DHAVE_RARCH_MAIN_WRAP", + "-DHAVE_GRIFFIN", + "-DHAVE_RGUI", + "-DOSX", + "-DHAVE_OPENGL", + "-DHAVE_FBO", + "-DHAVE_VID_CONTEXT", + "-DHAVE_GLSL", + "-DINLINE=inline", + "-DLSB_FIRST", + "-D__LIBRETRO__", + "-DRARCH_PERFORMANCE_MODE", + "-DRARCH_MOBILE", + "-DPACKAGE_VERSION=\\\"0.9.9.3\\\"", + "-DHAVE_COREAUDIO", + "-DHAVE_DYNAMIC", + "-DHAVE_OVERLAY", + "-DHAVE_ZLIB", + "-DWANT_MINIZ", + "-DSINC_LOWER_QUALITY", + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 96355CFC1788E72B0010DBFA /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COMBINE_HIDPI_IMAGES = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + INFOPLIST_FILE = "$(SRCROOT)/OSX/RetroArch-Info.plist"; + MACOSX_DEPLOYMENT_TARGET = 10.8; + OTHER_CFLAGS = ( + "-DNS_BLOCK_ASSERTIONS=1", + "-DNDEBUG", + "-DHAVE_RARCH_MAIN_WRAP", + "-DHAVE_GRIFFIN", + "-DHAVE_RGUI", + "-DIOS", + "-DHAVE_OPENGL", + "-DHAVE_FBO", + "-DHAVE_VID_CONTEXT", + "-DHAVE_OPENGLES2", + "-DHAVE_GLSL", + "-DINLINE=inline", + "-DLSB_FIRST", + "-D__LIBRETRO__", + "-DRARCH_PERFORMANCE_MODE", + "-DRARCH_MOBILE", + "-DPACKAGE_VERSION=\\\"0.9.9.3\\\"", + "-DHAVE_COREAUDIO", + "-DHAVE_DYNAMIC", + "-DHAVE_OVERLAY", + "-DHAVE_ZLIB", + "-DWANT_MINIZ", + "-DSINC_LOWER_QUALITY", + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 96355CD81788E6E00010DBFA /* Build configuration list for PBXProject "RetroArch_OSX" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 96355CD91788E6E00010DBFA /* Debug */, + 96355CDA1788E6E00010DBFA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 96355CFA1788E72B0010DBFA /* Build configuration list for PBXNativeTarget "RetroArch" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 96355CFB1788E72B0010DBFA /* Debug */, + 96355CFC1788E72B0010DBFA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 96355CD51788E6E00010DBFA /* Project object */; +} diff --git a/apple/RetroArch_OSX.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/apple/RetroArch_OSX.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000000..e056c28fe1 --- /dev/null +++ b/apple/RetroArch_OSX.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/apple/RetroArch.xcodeproj/project.pbxproj b/apple/RetroArch_iOS.xcodeproj/project.pbxproj similarity index 86% rename from apple/RetroArch.xcodeproj/project.pbxproj rename to apple/RetroArch_iOS.xcodeproj/project.pbxproj index f278d9f4c6..9777b46c4d 100644 --- a/apple/RetroArch.xcodeproj/project.pbxproj +++ b/apple/RetroArch_iOS.xcodeproj/project.pbxproj @@ -13,9 +13,6 @@ 96297A0F16C5AEA100E6DCE0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 96297A0E16C5AEA100E6DCE0 /* main.m */; }; 96297A2716C82FF100E6DCE0 /* overlays in Resources */ = {isa = PBXBuildFile; fileRef = 96297A2616C82FF100E6DCE0 /* overlays */; }; 96337E82176AC6E5004685F3 /* utility.m in Sources */ = {isa = PBXBuildFile; fileRef = 96337E81176AC6E5004685F3 /* utility.m */; }; - 96355CCE1788C90B0010DBFA /* browser.m in Sources */ = {isa = PBXBuildFile; fileRef = 96355CCA1788C90B0010DBFA /* browser.m */; }; - 96355CCF1788C90B0010DBFA /* RALogView.m in Sources */ = {isa = PBXBuildFile; fileRef = 96355CCB1788C90B0010DBFA /* RALogView.m */; }; - 96355CD01788C90B0010DBFA /* settings.m in Sources */ = {isa = PBXBuildFile; fileRef = 96355CCC1788C90B0010DBFA /* settings.m */; }; 96366C5516C9AC3300D64A22 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 96366C5416C9AC3300D64A22 /* CoreAudio.framework */; }; 96366C5916C9ACF500D64A22 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 96366C5816C9ACF500D64A22 /* AudioToolbox.framework */; }; 963F5AC816CC523B009BBD19 /* RAGameView.m in Sources */ = {isa = PBXBuildFile; fileRef = 963F5AC516CC523B009BBD19 /* RAGameView.m */; }; @@ -26,6 +23,10 @@ 966B9CC516E41E7A005B61E1 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 966B9CBC16E41E7A005B61E1 /* Icon.png */; }; 966B9CC916E41EC1005B61E1 /* PauseView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 966B9CC716E41EC1005B61E1 /* PauseView.xib */; }; 966B9CCB16E41EC1005B61E1 /* PauseIndicatorView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 966B9CC816E41EC1005B61E1 /* PauseIndicatorView.xib */; }; + 9678945B1788EAAE00D6CA69 /* browser.m in Sources */ = {isa = PBXBuildFile; fileRef = 967894571788EAAE00D6CA69 /* browser.m */; }; + 9678945C1788EAAE00D6CA69 /* RALogView.m in Sources */ = {isa = PBXBuildFile; fileRef = 967894581788EAAE00D6CA69 /* RALogView.m */; }; + 9678945D1788EAAE00D6CA69 /* settings.m in Sources */ = {isa = PBXBuildFile; fileRef = 967894591788EAAE00D6CA69 /* settings.m */; }; + 967894631788EBD800D6CA69 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 967894611788EBD800D6CA69 /* InfoPlist.strings */; }; 967D646F16E45428006BA1F2 /* ic_pause.png in Resources */ = {isa = PBXBuildFile; fileRef = 967D646E16E45428006BA1F2 /* ic_pause.png */; }; 967D647516E6EA04006BA1F2 /* modules in Resources */ = {isa = PBXBuildFile; fileRef = 967D647416E6EA04006BA1F2 /* modules */; }; 96AFAE2A16C1D4EA009DE44C /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 96AFAE2916C1D4EA009DE44C /* UIKit.framework */; }; @@ -33,24 +34,17 @@ 96AFAE2E16C1D4EA009DE44C /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 96AFAE2D16C1D4EA009DE44C /* CoreGraphics.framework */; }; 96AFAE3016C1D4EA009DE44C /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 96AFAE2F16C1D4EA009DE44C /* GLKit.framework */; }; 96AFAE3216C1D4EA009DE44C /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 96AFAE3116C1D4EA009DE44C /* OpenGLES.framework */; }; - 96AFAE3816C1D4EA009DE44C /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 96AFAE3616C1D4EA009DE44C /* InfoPlist.strings */; }; D48581DE16F823F9004BEB17 /* griffin.c in Sources */ = {isa = PBXBuildFile; fileRef = D48581DD16F823F9004BEB17 /* griffin.c */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ 9605EA99170288EA001D47B0 /* RAModuleInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RAModuleInfo.h; sourceTree = ""; }; 9605EA9A170288EA001D47B0 /* RAModuleInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RAModuleInfo.m; sourceTree = ""; }; - 9614C71F16DDC018000B36EF /* RetroArch copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "RetroArch copy-Info.plist"; path = "/Users/jason/Documents/Projects/ios/RetroArch/ios/RetroArch copy-Info.plist"; sourceTree = ""; }; 962979F416C43B9500E6DCE0 /* ic_dir.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ic_dir.png; path = "../../android/phoenix/res/drawable-xhdpi/ic_dir.png"; sourceTree = ""; }; 962979F516C43B9500E6DCE0 /* ic_file.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ic_file.png; path = "../../android/phoenix/res/drawable-xhdpi/ic_file.png"; sourceTree = ""; }; 96297A0E16C5AEA100E6DCE0 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 96297A2616C82FF100E6DCE0 /* overlays */ = {isa = PBXFileReference; lastKnownFileType = folder; name = overlays; path = ../../media/overlays; sourceTree = ""; }; 96337E81176AC6E5004685F3 /* utility.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = utility.m; sourceTree = ""; }; - 96355CC81788C8FC0010DBFA /* RAGameView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RAGameView.h; sourceTree = ""; }; - 96355CCA1788C90B0010DBFA /* browser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = browser.m; sourceTree = ""; }; - 96355CCB1788C90B0010DBFA /* RALogView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RALogView.m; sourceTree = ""; }; - 96355CCC1788C90B0010DBFA /* settings.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = settings.m; sourceTree = ""; }; - 96355CCD1788C90B0010DBFA /* views.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = views.h; sourceTree = ""; }; 96355CD11788CF190010DBFA /* RetroArch_Apple.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RetroArch_Apple.h; sourceTree = ""; }; 96366C5416C9AC3300D64A22 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; }; 96366C5816C9ACF500D64A22 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; @@ -62,6 +56,12 @@ 966B9CBC16E41E7A005B61E1 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = ""; }; 966B9CC716E41EC1005B61E1 /* PauseView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PauseView.xib; sourceTree = ""; }; 966B9CC816E41EC1005B61E1 /* PauseIndicatorView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PauseIndicatorView.xib; sourceTree = ""; }; + 967894571788EAAE00D6CA69 /* browser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = browser.m; path = iOS/browser.m; sourceTree = SOURCE_ROOT; }; + 967894581788EAAE00D6CA69 /* RALogView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RALogView.m; path = iOS/RALogView.m; sourceTree = SOURCE_ROOT; }; + 967894591788EAAE00D6CA69 /* settings.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = settings.m; path = iOS/settings.m; sourceTree = SOURCE_ROOT; }; + 9678945A1788EAAE00D6CA69 /* views.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = views.h; path = iOS/views.h; sourceTree = SOURCE_ROOT; }; + 9678945F1788EBD000D6CA69 /* RetroArch-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "RetroArch-Info.plist"; path = "iOS/RetroArch-Info.plist"; sourceTree = SOURCE_ROOT; }; + 967894621788EBD800D6CA69 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = iOS/en.lproj/InfoPlist.strings; sourceTree = SOURCE_ROOT; }; 967D646E16E45428006BA1F2 /* ic_pause.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ic_pause.png; sourceTree = ""; }; 967D647416E6EA04006BA1F2 /* modules */ = {isa = PBXFileReference; lastKnownFileType = folder; path = modules; sourceTree = SOURCE_ROOT; }; 96AFAE2516C1D4EA009DE44C /* RetroArch.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RetroArch.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -70,9 +70,6 @@ 96AFAE2D16C1D4EA009DE44C /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 96AFAE2F16C1D4EA009DE44C /* GLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLKit.framework; path = System/Library/Frameworks/GLKit.framework; sourceTree = SDKROOT; }; 96AFAE3116C1D4EA009DE44C /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; }; - 96AFAE3516C1D4EA009DE44C /* RetroArch-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "RetroArch-Info.plist"; sourceTree = ""; }; - 96AFAE3716C1D4EA009DE44C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; - 96AFAE3B16C1D4EA009DE44C /* RetroArch-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RetroArch-Prefix.pch"; sourceTree = ""; }; 96AFAEF816C1DC73009DE44C /* sinc_neon.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = sinc_neon.S; sourceTree = ""; }; 96AFAEFF16C1DC73009DE44C /* utils_neon.S */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.asm; path = utils_neon.S; sourceTree = ""; }; 96AFAF4516C1E00A009DE44C /* bitmap.bin */ = {isa = PBXFileReference; lastKnownFileType = archive.macbinary; path = bitmap.bin; sourceTree = ""; }; @@ -99,17 +96,6 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 96355CC91788C90B0010DBFA /* iOS */ = { - isa = PBXGroup; - children = ( - 96355CCA1788C90B0010DBFA /* browser.m */, - 96355CCB1788C90B0010DBFA /* RALogView.m */, - 96355CCC1788C90B0010DBFA /* settings.m */, - 96355CCD1788C90B0010DBFA /* views.h */, - ); - path = iOS; - sourceTree = ""; - }; 966B9CB716E41E7A005B61E1 /* Assets */ = { isa = PBXGroup; children = ( @@ -166,10 +152,12 @@ 96AFAE3316C1D4EA009DE44C /* RetroArch */ = { isa = PBXGroup; children = ( - 96355CC91788C90B0010DBFA /* iOS */, + 967894571788EAAE00D6CA69 /* browser.m */, + 967894581788EAAE00D6CA69 /* RALogView.m */, + 967894591788EAAE00D6CA69 /* settings.m */, + 9678945A1788EAAE00D6CA69 /* views.h */, 96297A0E16C5AEA100E6DCE0 /* main.m */, 963F5AC516CC523B009BBD19 /* RAGameView.m */, - 96355CC81788C8FC0010DBFA /* RAGameView.h */, 9605EA9A170288EA001D47B0 /* RAModuleInfo.m */, 9605EA99170288EA001D47B0 /* RAModuleInfo.h */, 96C19C2616D455BE00FE8D5A /* rarch_wrapper.h */, @@ -182,10 +170,8 @@ 96AFAE3416C1D4EA009DE44C /* Supporting Files */ = { isa = PBXGroup; children = ( - 9614C71F16DDC018000B36EF /* RetroArch copy-Info.plist */, - 96AFAE3616C1D4EA009DE44C /* InfoPlist.strings */, - 96AFAE3516C1D4EA009DE44C /* RetroArch-Info.plist */, - 96AFAE3B16C1D4EA009DE44C /* RetroArch-Prefix.pch */, + 967894611788EBD800D6CA69 /* InfoPlist.strings */, + 9678945F1788EBD000D6CA69 /* RetroArch-Info.plist */, ); name = "Supporting Files"; path = RetroArch; @@ -266,7 +252,7 @@ LastUpgradeCheck = 0450; ORGANIZATIONNAME = RetroArch; }; - buildConfigurationList = 96AFAE1F16C1D4EA009DE44C /* Build configuration list for PBXProject "RetroArch" */; + buildConfigurationList = 96AFAE1F16C1D4EA009DE44C /* Build configuration list for PBXProject "RetroArch_iOS" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; @@ -289,7 +275,6 @@ buildActionMask = 2147483647; files = ( 96297A2716C82FF100E6DCE0 /* overlays in Resources */, - 96AFAE3816C1D4EA009DE44C /* InfoPlist.strings in Resources */, 962979F616C43B9500E6DCE0 /* ic_dir.png in Resources */, 962979F716C43B9500E6DCE0 /* ic_file.png in Resources */, 966B9CBD16E41E7A005B61E1 /* Default-568h@2x.png in Resources */, @@ -301,6 +286,7 @@ 966B9CCB16E41EC1005B61E1 /* PauseIndicatorView.xib in Resources */, 967D646F16E45428006BA1F2 /* ic_pause.png in Resources */, 967D647516E6EA04006BA1F2 /* modules in Resources */, + 967894631788EBD800D6CA69 /* InfoPlist.strings in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -316,19 +302,19 @@ D48581DE16F823F9004BEB17 /* griffin.c in Sources */, 9605EA9B170288EA001D47B0 /* RAModuleInfo.m in Sources */, 96337E82176AC6E5004685F3 /* utility.m in Sources */, - 96355CCE1788C90B0010DBFA /* browser.m in Sources */, - 96355CCF1788C90B0010DBFA /* RALogView.m in Sources */, - 96355CD01788C90B0010DBFA /* settings.m in Sources */, + 9678945B1788EAAE00D6CA69 /* browser.m in Sources */, + 9678945C1788EAAE00D6CA69 /* RALogView.m in Sources */, + 9678945D1788EAAE00D6CA69 /* settings.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXVariantGroup section */ - 96AFAE3616C1D4EA009DE44C /* InfoPlist.strings */ = { + 967894611788EBD800D6CA69 /* InfoPlist.strings */ = { isa = PBXVariantGroup; children = ( - 96AFAE3716C1D4EA009DE44C /* en */, + 967894621788EBD800D6CA69 /* en */, ); name = InfoPlist.strings; sourceTree = ""; @@ -452,15 +438,10 @@ CODE_SIGN_RESOURCE_RULES_PATH = "$(SDKROOT)/ResourceRules.plist"; GCC_PRECOMPILE_PREFIX_HEADER = NO; GCC_PREFIX_HEADER = ""; - INFOPLIST_FILE = "RetroArch/RetroArch-Info.plist"; + INFOPLIST_FILE = "$(SRCROOT)/iOS/RetroArch-Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 5.0; LD_NO_PIE = YES; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)\"", - "\"$(SRCROOT)/RetroArch/input/BTStack\"", - "\"$(SRCROOT)/Assets\"", - ); + LIBRARY_SEARCH_PATHS = ""; OTHER_CFLAGS = ( "-DHAVE_RARCH_MAIN_WRAP", "-DHAVE_GRIFFIN", @@ -499,15 +480,10 @@ CODE_SIGN_RESOURCE_RULES_PATH = "$(SDKROOT)/ResourceRules.plist"; GCC_PRECOMPILE_PREFIX_HEADER = NO; GCC_PREFIX_HEADER = ""; - INFOPLIST_FILE = "RetroArch/RetroArch-Info.plist"; + INFOPLIST_FILE = "$(SRCROOT)/iOS/RetroArch-Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 5.0; LD_NO_PIE = YES; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)\"", - "\"$(SRCROOT)/RetroArch/input/BTStack\"", - "\"$(SRCROOT)/Assets\"", - ); + LIBRARY_SEARCH_PATHS = ""; OTHER_CFLAGS = ( "-DNS_BLOCK_ASSERTIONS=1", "-DNDEBUG", @@ -544,7 +520,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 96AFAE1F16C1D4EA009DE44C /* Build configuration list for PBXProject "RetroArch" */ = { + 96AFAE1F16C1D4EA009DE44C /* Build configuration list for PBXProject "RetroArch_iOS" */ = { isa = XCConfigurationList; buildConfigurations = ( 96AFAE5216C1D4EA009DE44C /* Debug */, diff --git a/apple/RetroArch.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/apple/RetroArch_iOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from apple/RetroArch.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to apple/RetroArch_iOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/apple/RetroArch/iOS/RALogView.m b/apple/iOS/RALogView.m similarity index 100% rename from apple/RetroArch/iOS/RALogView.m rename to apple/iOS/RALogView.m diff --git a/apple/RetroArch/RetroArch-Info.plist b/apple/iOS/RetroArch-Info.plist similarity index 100% rename from apple/RetroArch/RetroArch-Info.plist rename to apple/iOS/RetroArch-Info.plist diff --git a/apple/RetroArch/iOS/browser.m b/apple/iOS/browser.m similarity index 99% rename from apple/RetroArch/iOS/browser.m rename to apple/iOS/browser.m index a5ed28f792..dccee30040 100644 --- a/apple/RetroArch/iOS/browser.m +++ b/apple/iOS/browser.m @@ -16,7 +16,7 @@ #include #include -#import "../RetroArch_Apple.h" +#import "../RetroArch/RetroArch_Apple.h" #import "views.h" #include "conf/config_file.h" diff --git a/apple/iOS/en.lproj/InfoPlist.strings b/apple/iOS/en.lproj/InfoPlist.strings new file mode 100644 index 0000000000..477b28ff8f --- /dev/null +++ b/apple/iOS/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/apple/RetroArch/input/BTStack/btdynamic.c b/apple/iOS/input/BTStack/btdynamic.c similarity index 98% rename from apple/RetroArch/input/BTStack/btdynamic.c rename to apple/iOS/input/BTStack/btdynamic.c index bc48a27659..9dfa1a95b6 100644 --- a/apple/RetroArch/input/BTStack/btdynamic.c +++ b/apple/iOS/input/BTStack/btdynamic.c @@ -17,7 +17,7 @@ #include #include -#include "../../rarch_wrapper.h" +#include "../../../RetroArch/rarch_wrapper.h" #define BUILDING_BTDYNAMIC #include "btdynamic.h" diff --git a/apple/RetroArch/input/BTStack/btdynamic.h b/apple/iOS/input/BTStack/btdynamic.h similarity index 100% rename from apple/RetroArch/input/BTStack/btdynamic.h rename to apple/iOS/input/BTStack/btdynamic.h diff --git a/apple/RetroArch/input/BTStack/btpad.c b/apple/iOS/input/BTStack/btpad.c similarity index 99% rename from apple/RetroArch/input/BTStack/btpad.c rename to apple/iOS/input/BTStack/btpad.c index 9e8aae02ce..babb0ba3fc 100644 --- a/apple/RetroArch/input/BTStack/btpad.c +++ b/apple/iOS/input/BTStack/btpad.c @@ -20,7 +20,7 @@ #include #include -#include "../../rarch_wrapper.h" +#include "../../../RetroArch/rarch_wrapper.h" #include "btdynamic.h" #include "btpad.h" #include "btpad_queue.h" diff --git a/apple/RetroArch/input/BTStack/btpad.h b/apple/iOS/input/BTStack/btpad.h similarity index 100% rename from apple/RetroArch/input/BTStack/btpad.h rename to apple/iOS/input/BTStack/btpad.h diff --git a/apple/RetroArch/input/BTStack/btpad_ps3.c b/apple/iOS/input/BTStack/btpad_ps3.c similarity index 98% rename from apple/RetroArch/input/BTStack/btpad_ps3.c rename to apple/iOS/input/BTStack/btpad_ps3.c index 0fe285a25d..e2079ef6ea 100644 --- a/apple/RetroArch/input/BTStack/btpad_ps3.c +++ b/apple/iOS/input/BTStack/btpad_ps3.c @@ -18,7 +18,7 @@ #include #include "boolean.h" -#include "../../rarch_wrapper.h" +#include "../../../RetroArch/rarch_wrapper.h" #include "btdynamic.h" #include "btpad.h" diff --git a/apple/RetroArch/input/BTStack/btpad_queue.c b/apple/iOS/input/BTStack/btpad_queue.c similarity index 100% rename from apple/RetroArch/input/BTStack/btpad_queue.c rename to apple/iOS/input/BTStack/btpad_queue.c diff --git a/apple/RetroArch/input/BTStack/btpad_queue.h b/apple/iOS/input/BTStack/btpad_queue.h similarity index 100% rename from apple/RetroArch/input/BTStack/btpad_queue.h rename to apple/iOS/input/BTStack/btpad_queue.h diff --git a/apple/RetroArch/input/BTStack/btpad_wii.c b/apple/iOS/input/BTStack/btpad_wii.c similarity index 98% rename from apple/RetroArch/input/BTStack/btpad_wii.c rename to apple/iOS/input/BTStack/btpad_wii.c index 3b635d5af4..8f4bbc569c 100644 --- a/apple/RetroArch/input/BTStack/btpad_wii.c +++ b/apple/iOS/input/BTStack/btpad_wii.c @@ -18,7 +18,7 @@ #include #include "boolean.h" -#include "../../rarch_wrapper.h" +#include "../../../RetroArch/rarch_wrapper.h" #include "btdynamic.h" #include "btpad.h" diff --git a/apple/RetroArch/input/BTStack/btstack/btstack.h b/apple/iOS/input/BTStack/btstack/btstack.h similarity index 100% rename from apple/RetroArch/input/BTStack/btstack/btstack.h rename to apple/iOS/input/BTStack/btstack/btstack.h diff --git a/apple/RetroArch/input/BTStack/btstack/hci_cmds.h b/apple/iOS/input/BTStack/btstack/hci_cmds.h similarity index 100% rename from apple/RetroArch/input/BTStack/btstack/hci_cmds.h rename to apple/iOS/input/BTStack/btstack/hci_cmds.h diff --git a/apple/RetroArch/input/BTStack/btstack/linked_list.h b/apple/iOS/input/BTStack/btstack/linked_list.h similarity index 100% rename from apple/RetroArch/input/BTStack/btstack/linked_list.h rename to apple/iOS/input/BTStack/btstack/linked_list.h diff --git a/apple/RetroArch/input/BTStack/btstack/run_loop.h b/apple/iOS/input/BTStack/btstack/run_loop.h similarity index 100% rename from apple/RetroArch/input/BTStack/btstack/run_loop.h rename to apple/iOS/input/BTStack/btstack/run_loop.h diff --git a/apple/RetroArch/input/BTStack/btstack/sdp_util.h b/apple/iOS/input/BTStack/btstack/sdp_util.h similarity index 100% rename from apple/RetroArch/input/BTStack/btstack/sdp_util.h rename to apple/iOS/input/BTStack/btstack/sdp_util.h diff --git a/apple/RetroArch/input/BTStack/btstack/utils.h b/apple/iOS/input/BTStack/btstack/utils.h similarity index 100% rename from apple/RetroArch/input/BTStack/btstack/utils.h rename to apple/iOS/input/BTStack/btstack/utils.h diff --git a/apple/RetroArch/input/BTStack/wiimote.c b/apple/iOS/input/BTStack/wiimote.c similarity index 100% rename from apple/RetroArch/input/BTStack/wiimote.c rename to apple/iOS/input/BTStack/wiimote.c diff --git a/apple/RetroArch/input/BTStack/wiimote.h b/apple/iOS/input/BTStack/wiimote.h similarity index 100% rename from apple/RetroArch/input/BTStack/wiimote.h rename to apple/iOS/input/BTStack/wiimote.h diff --git a/apple/RetroArch/input/ios_input.c b/apple/iOS/input/ios_input.c similarity index 100% rename from apple/RetroArch/input/ios_input.c rename to apple/iOS/input/ios_input.c diff --git a/apple/RetroArch/input/ios_input.h b/apple/iOS/input/ios_input.h similarity index 100% rename from apple/RetroArch/input/ios_input.h rename to apple/iOS/input/ios_input.h diff --git a/apple/RetroArch/input/ios_joypad.c b/apple/iOS/input/ios_joypad.c similarity index 100% rename from apple/RetroArch/input/ios_joypad.c rename to apple/iOS/input/ios_joypad.c diff --git a/apple/RetroArch/input/keycode.h b/apple/iOS/input/keycode.h similarity index 100% rename from apple/RetroArch/input/keycode.h rename to apple/iOS/input/keycode.h diff --git a/apple/RetroArch/iOS/settings.m b/apple/iOS/settings.m similarity index 99% rename from apple/RetroArch/iOS/settings.m rename to apple/iOS/settings.m index ffbe50861d..acb2a53d9b 100644 --- a/apple/RetroArch/iOS/settings.m +++ b/apple/iOS/settings.m @@ -13,13 +13,13 @@ * If not, see . */ -#import "../RetroArch_Apple.h" +#import "../RetroArch/RetroArch_Apple.h" #import "views.h" -#include "../input/ios_input.h" -#include "../input/keycode.h" -#include "../input/BTStack/btdynamic.h" -#include "../input/BTStack/btpad.h" +#include "input/ios_input.h" +#include "input/keycode.h" +#include "input/BTStack/btdynamic.h" +#include "input/BTStack/btpad.h" enum SettingTypes { diff --git a/apple/RetroArch/iOS/views.h b/apple/iOS/views.h similarity index 100% rename from apple/RetroArch/iOS/views.h rename to apple/iOS/views.h diff --git a/griffin/griffin.c b/griffin/griffin.c index 9349658ea0..03b1fb31ee 100644 --- a/griffin/griffin.c +++ b/griffin/griffin.c @@ -255,14 +255,14 @@ INPUT #include "../android/native/jni/input_autodetect.c" #include "../android/native/jni/input_android.c" #elif defined(IOS) -#include "../apple/RetroArch/input/ios_input.c" -#include "../apple/RetroArch/input/ios_joypad.c" -#include "../apple/RetroArch/input/BTStack/btdynamic.c" -#include "../apple/RetroArch/input/BTStack/wiimote.c" -#include "../apple/RetroArch/input/BTStack/btpad.c" -#include "../apple/RetroArch/input/BTStack/btpad_ps3.c" -#include "../apple/RetroArch/input/BTStack/btpad_wii.c" -#include "../apple/RetroArch/input/BTStack/btpad_queue.c" +#include "../apple/iOS/input/ios_input.c" +#include "../apple/iOS/input/ios_joypad.c" +#include "../apple/iOS/input/BTStack/btdynamic.c" +#include "../apple/iOS/input/BTStack/wiimote.c" +#include "../apple/iOS/input/BTStack/btpad.c" +#include "../apple/iOS/input/BTStack/btpad_ps3.c" +#include "../apple/iOS/input/BTStack/btpad_wii.c" +#include "../apple/iOS/input/BTStack/btpad_queue.c" #elif defined(__BLACKBERRY_QNX__) #include "../blackberry-qnx/qnx_input.c" #endif