Permalink
Browse files

Removes GamePicker. It served us well.

  • Loading branch information...
1 parent 0a1a056 commit da590093b40c80d765632cd60ffbc8359f923887 @bavarious bavarious committed Mar 7, 2013
Showing with 0 additions and 777 deletions.
  1. +0 −623 OpenEmu/English.lproj/GameFilePicker.xib
  2. +0 −50 OpenEmu/OEGamePickerController.h
  3. +0 −104 OpenEmu/OEGamePickerController.m
View
623 OpenEmu/English.lproj/GameFilePicker.xib
@@ -1,623 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00">
- <data>
- <int key="IBDocument.SystemTarget">1060</int>
- <string key="IBDocument.SystemVersion">11D50</string>
- <string key="IBDocument.InterfaceBuilderVersion">1938</string>
- <string key="IBDocument.AppKitVersion">1138.32</string>
- <string key="IBDocument.HIToolboxVersion">568.00</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
- <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="NS.object.0">1938</string>
- </object>
- <array key="IBDocument.IntegratedClassDependencies">
- <string>NSView</string>
- <string>NSCustomObject</string>
- <string>NSScrollView</string>
- <string>NSWindowTemplate</string>
- <string>NSTextFieldCell</string>
- <string>NSTableHeaderView</string>
- <string>NSButtonCell</string>
- <string>NSTableColumn</string>
- <string>NSButton</string>
- <string>NSScroller</string>
- <string>NSTableView</string>
- </array>
- <array key="IBDocument.PluginDependencies">
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- </array>
- <object class="NSMutableDictionary" key="IBDocument.Metadata">
- <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
- <integer value="1" key="NS.object.0"/>
- </object>
- <array class="NSMutableArray" key="IBDocument.RootObjects" id="179677334">
- <object class="NSCustomObject" id="770686805">
- <string key="NSClassName">OEGamePickerController</string>
- </object>
- <object class="NSCustomObject" id="785745011">
- <string key="NSClassName">FirstResponder</string>
- </object>
- <object class="NSCustomObject" id="1036186044">
- <string key="NSClassName">NSApplication</string>
- </object>
- <object class="NSWindowTemplate" id="991719634">
- <int key="NSWindowStyleMask">83</int>
- <int key="NSWindowBacking">2</int>
- <string key="NSWindowRect">{{196, 74}, {448, 436}}</string>
- <int key="NSWTFlags">-1543502848</int>
- <string key="NSWindowTitle">Window</string>
- <string key="NSWindowClass">NSPanel</string>
- <nil key="NSViewClass"/>
- <nil key="NSUserInterfaceItemIdentifier"/>
- <object class="NSView" key="NSWindowView" id="148476811">
- <reference key="NSNextResponder"/>
- <int key="NSvFlags">256</int>
- <array class="NSMutableArray" key="NSSubviews">
- <object class="NSScrollView" id="1026440260">
- <reference key="NSNextResponder" ref="148476811"/>
- <int key="NSvFlags">268</int>
- <array class="NSMutableArray" key="NSSubviews">
- <object class="NSClipView" id="466484486">
- <reference key="NSNextResponder" ref="1026440260"/>
- <int key="NSvFlags">2304</int>
- <array class="NSMutableArray" key="NSSubviews">
- <object class="NSTableView" id="499920309">
- <reference key="NSNextResponder" ref="466484486"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrameSize">{406, 338}</string>
- <reference key="NSSuperview" ref="466484486"/>
- <reference key="NSWindow"/>
- <bool key="NSEnabled">YES</bool>
- <object class="NSTableHeaderView" key="NSHeaderView" id="727065561">
- <reference key="NSNextResponder" ref="353843873"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrameSize">{406, 17}</string>
- <reference key="NSSuperview" ref="353843873"/>
- <reference key="NSWindow"/>
- <reference key="NSTableView" ref="499920309"/>
- </object>
- <object class="_NSCornerView" key="NSCornerView">
- <nil key="NSNextResponder"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrame">{{392, 0}, {16, 17}}</string>
- </object>
- <array class="NSMutableArray" key="NSTableColumns">
- <object class="NSTableColumn" id="670596339">
- <double key="NSWidth">403</double>
- <double key="NSMinWidth">40</double>
- <double key="NSMaxWidth">1000</double>
- <object class="NSTableHeaderCell" key="NSHeaderCell">
- <int key="NSCellFlags">75628096</int>
- <int key="NSCellFlags2">2048</int>
- <string key="NSContents">File Name</string>
- <object class="NSFont" key="NSSupport">
- <string key="NSName">LucidaGrande</string>
- <double key="NSSize">11</double>
- <int key="NSfFlags">3100</int>
- </object>
- <object class="NSColor" key="NSBackgroundColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes>
- </object>
- <object class="NSColor" key="NSTextColor">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">headerTextColor</string>
- <object class="NSColor" key="NSColor" id="408507956">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MAA</bytes>
- </object>
- </object>
- </object>
- <object class="NSTextFieldCell" key="NSDataCell" id="270768568">
- <int key="NSCellFlags">1411513920</int>
- <int key="NSCellFlags2">2048</int>
- <object class="NSAttributedString" key="NSContents">
- <string key="NSString">Text Cell</string>
- <dictionary key="NSAttributes">
- <object class="NSColor" key="NSColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MQA</bytes>
- </object>
- <object class="NSFont" key="NSFont">
- <string key="NSName">LucidaGrande-Bold</string>
- <double key="NSSize">13</double>
- <int key="NSfFlags">16</int>
- </object>
- <object class="NSFont" key="NSOriginalFont" id="396302697">
- <string key="NSName">LucidaGrande</string>
- <double key="NSSize">13</double>
- <int key="NSfFlags">1044</int>
- </object>
- <object class="NSMutableParagraphStyle" key="NSParagraphStyle">
- <int key="NSLineBreakMode">4</int>
- <nil key="NSTabStops"/>
- </object>
- </dictionary>
- </object>
- <reference key="NSSupport" ref="396302697"/>
- <reference key="NSControlView" ref="499920309"/>
- <object class="NSColor" key="NSBackgroundColor" id="1043421629">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">controlBackgroundColor</string>
- <object class="NSColor" key="NSColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
- </object>
- </object>
- <object class="NSColor" key="NSTextColor">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">controlTextColor</string>
- <reference key="NSColor" ref="408507956"/>
- </object>
- </object>
- <int key="NSResizingMask">3</int>
- <bool key="NSIsResizeable">YES</bool>
- <reference key="NSTableView" ref="499920309"/>
- </object>
- </array>
- <double key="NSIntercellSpacingWidth">3</double>
- <double key="NSIntercellSpacingHeight">2</double>
- <object class="NSColor" key="NSBackgroundColor">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">_sourceListBackgroundColor</string>
- <object class="NSColor" key="NSColor">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">alternateSelectedControlColor</string>
- <object class="NSColor" key="NSColor">
- <int key="NSColorSpace">1</int>
- <bytes key="NSRGB">MCAwIDEAA</bytes>
- </object>
- </object>
- </object>
- <object class="NSColor" key="NSGridColor">
- <int key="NSColorSpace">6</int>
- <string key="NSCatalogName">System</string>
- <string key="NSColorName">gridColor</string>
- <object class="NSColor" key="NSColor">
- <int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MC41AA</bytes>
- </object>
- </object>
- <double key="NSRowHeight">17</double>
- <int key="NSTvFlags">62914560</int>
- <reference key="NSDelegate"/>
- <reference key="NSDataSource"/>
- <int key="NSColumnAutoresizingStyle">4</int>
- <int key="NSDraggingSourceMaskForLocal">15</int>
- <int key="NSDraggingSourceMaskForNonLocal">0</int>
- <bool key="NSAllowsTypeSelect">YES</bool>
- <int key="NSTableViewSelectionHighlightStyle">1</int>
- <int key="NSTableViewDraggingDestinationStyle">1</int>
- <int key="NSTableViewGroupRowStyle">1</int>
- </object>
- </array>
- <string key="NSFrame">{{1, 17}, {406, 338}}</string>
- <reference key="NSSuperview" ref="1026440260"/>
- <reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="499920309"/>
- <reference key="NSDocView" ref="499920309"/>
- <reference key="NSBGColor" ref="1043421629"/>
- <int key="NScvFlags">4</int>
- </object>
- <object class="NSScroller" id="442674439">
- <reference key="NSNextResponder" ref="1026440260"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrame">{{392, 17}, {15, 332}}</string>
- <reference key="NSSuperview" ref="1026440260"/>
- <reference key="NSWindow"/>
- <reference key="NSTarget" ref="1026440260"/>
- <string key="NSAction">_doScroller:</string>
- <double key="NSCurValue">37</double>
- <double key="NSPercent">0.19473679999999999</double>
- </object>
- <object class="NSScroller" id="1066087721">
- <reference key="NSNextResponder" ref="1026440260"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrame">{{1, 340}, {400, 15}}</string>
- <reference key="NSSuperview" ref="1026440260"/>
- <reference key="NSWindow"/>
- <int key="NSsFlags">1</int>
- <reference key="NSTarget" ref="1026440260"/>
- <string key="NSAction">_doScroller:</string>
- <double key="NSPercent">0.57142859999999995</double>
- </object>
- <object class="NSClipView" id="353843873">
- <reference key="NSNextResponder" ref="1026440260"/>
- <int key="NSvFlags">2304</int>
- <array class="NSMutableArray" key="NSSubviews">
- <reference ref="727065561"/>
- </array>
- <string key="NSFrame">{{1, 0}, {406, 17}}</string>
- <reference key="NSSuperview" ref="1026440260"/>
- <reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="727065561"/>
- <reference key="NSDocView" ref="727065561"/>
- <reference key="NSBGColor" ref="1043421629"/>
- <int key="NScvFlags">4</int>
- </object>
- </array>
- <string key="NSFrame">{{20, 60}, {408, 356}}</string>
- <reference key="NSSuperview" ref="148476811"/>
- <reference key="NSWindow"/>
- <reference key="NSNextKeyView" ref="466484486"/>
- <int key="NSsFlags">133170</int>
- <reference key="NSVScroller" ref="442674439"/>
- <reference key="NSHScroller" ref="1066087721"/>
- <reference key="NSContentView" ref="466484486"/>
- <reference key="NSHeaderClipView" ref="353843873"/>
- <bytes key="NSScrollAmts">QSAAAEEgAABBmAAAQZgAAA</bytes>
- </object>
- <object class="NSButton" id="153595990">
- <reference key="NSNextResponder" ref="148476811"/>
- <int key="NSvFlags">268</int>
- <string key="NSFrame">{{-194, 41}, {111, 23}}</string>
- <reference key="NSSuperview" ref="148476811"/>
- <reference key="NSWindow"/>
- <bool key="NSEnabled">YES</bool>
- <object class="NSButtonCell" key="NSCell" id="707939266">
- <int key="NSCellFlags">-2080244224</int>
- <int key="NSCellFlags2">134217728</int>
- <string key="NSContents">Textured Button</string>
- <reference key="NSSupport" ref="396302697"/>
- <reference key="NSControlView" ref="153595990"/>
- <int key="NSButtonFlags">-2033434369</int>
- <int key="NSButtonFlags2">160</int>
- <string key="NSAlternateContents"/>
- <string key="NSKeyEquivalent"/>
- <int key="NSPeriodicDelay">400</int>
- <int key="NSPeriodicInterval">75</int>
- </object>
- </object>
- <object class="NSButton" id="507963463">
- <reference key="NSNextResponder" ref="148476811"/>
- <int key="NSvFlags">268</int>
- <string key="NSFrame">{{321, 12}, {113, 32}}</string>
- <reference key="NSSuperview" ref="148476811"/>
- <reference key="NSWindow"/>
- <bool key="NSEnabled">YES</bool>
- <object class="NSButtonCell" key="NSCell" id="389652350">
- <int key="NSCellFlags">67239424</int>
- <int key="NSCellFlags2">134217728</int>
- <string key="NSContents">Choose File</string>
- <reference key="NSSupport" ref="396302697"/>
- <reference key="NSControlView" ref="507963463"/>
- <int key="NSButtonFlags">-2038284033</int>
- <int key="NSButtonFlags2">129</int>
- <string key="NSAlternateContents"/>
- <string key="NSKeyEquivalent"/>
- <int key="NSPeriodicDelay">200</int>
- <int key="NSPeriodicInterval">25</int>
- </object>
- </object>
- <object class="NSButton" id="830583083">
- <reference key="NSNextResponder" ref="148476811"/>
- <int key="NSvFlags">268</int>
- <string key="NSFrame">{{225, 12}, {96, 32}}</string>
- <reference key="NSSuperview" ref="148476811"/>
- <reference key="NSWindow"/>
- <bool key="NSEnabled">YES</bool>
- <object class="NSButtonCell" key="NSCell" id="1017084037">
- <int key="NSCellFlags">67239424</int>
- <int key="NSCellFlags2">134217728</int>
- <string key="NSContents">Cancel</string>
- <reference key="NSSupport" ref="396302697"/>
- <reference key="NSControlView" ref="830583083"/>
- <int key="NSButtonFlags">-2038284033</int>
- <int key="NSButtonFlags2">129</int>
- <string key="NSAlternateContents"/>
- <string key="NSKeyEquivalent"/>
- <int key="NSPeriodicDelay">200</int>
- <int key="NSPeriodicInterval">25</int>
- </object>
- </object>
- </array>
- <string key="NSFrameSize">{448, 436}</string>
- <reference key="NSSuperview"/>
- <reference key="NSWindow"/>
- </object>
- <string key="NSScreenRect">{{0, 0}, {1680, 1028}}</string>
- <string key="NSMaxSize">{10000000000000, 10000000000000}</string>
- <bool key="NSWindowIsRestorable">NO</bool>
- </object>
- </array>
- <object class="IBObjectContainer" key="IBDocument.Objects">
- <array class="NSMutableArray" key="connectionRecords">
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">window</string>
- <reference key="source" ref="770686805"/>
- <reference key="destination" ref="991719634"/>
- </object>
- <int key="connectionID">51</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">table</string>
- <reference key="source" ref="770686805"/>
- <reference key="destination" ref="499920309"/>
- </object>
- <int key="connectionID">52</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">cancelPicker:</string>
- <reference key="source" ref="770686805"/>
- <reference key="destination" ref="830583083"/>
- </object>
- <int key="connectionID">64</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBActionConnection" key="connection">
- <string key="label">selectFile:</string>
- <reference key="source" ref="770686805"/>
- <reference key="destination" ref="507963463"/>
- </object>
- <int key="connectionID">65</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBBindingConnection" key="connection">
- <string key="label">title: fileName</string>
- <reference key="source" ref="991719634"/>
- <reference key="destination" ref="770686805"/>
- <object class="NSNibBindingConnector" key="connector">
- <reference key="NSSource" ref="991719634"/>
- <reference key="NSDestination" ref="770686805"/>
- <string key="NSLabel">title: fileName</string>
- <string key="NSBinding">title</string>
- <string key="NSKeyPath">fileName</string>
- <int key="NSNibBindingConnectorVersion">2</int>
- </object>
- </object>
- <int key="connectionID">78</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">initialFirstResponder</string>
- <reference key="source" ref="991719634"/>
- <reference key="destination" ref="507963463"/>
- </object>
- <int key="connectionID">79</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">dataSource</string>
- <reference key="source" ref="499920309"/>
- <reference key="destination" ref="770686805"/>
- </object>
- <int key="connectionID">49</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">delegate</string>
- <reference key="source" ref="499920309"/>
- <reference key="destination" ref="770686805"/>
- </object>
- <int key="connectionID">50</int>
- </object>
- </array>
- <object class="IBMutableOrderedSet" key="objectRecords">
- <array key="orderedObjects">
- <object class="IBObjectRecord">
- <int key="objectID">0</int>
- <array key="object" id="0"/>
- <reference key="children" ref="179677334"/>
- <nil key="parent"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-2</int>
- <reference key="object" ref="770686805"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">File's Owner</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-1</int>
- <reference key="object" ref="785745011"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">First Responder</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">-3</int>
- <reference key="object" ref="1036186044"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">Application</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">31</int>
- <reference key="object" ref="991719634"/>
- <array class="NSMutableArray" key="children">
- <reference ref="148476811"/>
- </array>
- <reference key="parent" ref="0"/>
- <string key="objectName">Panel (Window)</string>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">32</int>
- <reference key="object" ref="148476811"/>
- <array class="NSMutableArray" key="children">
- <reference ref="1026440260"/>
- <reference ref="153595990"/>
- <reference ref="830583083"/>
- <reference ref="507963463"/>
- </array>
- <reference key="parent" ref="991719634"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">40</int>
- <reference key="object" ref="1026440260"/>
- <array class="NSMutableArray" key="children">
- <reference ref="499920309"/>
- <reference ref="442674439"/>
- <reference ref="1066087721"/>
- <reference ref="727065561"/>
- </array>
- <reference key="parent" ref="148476811"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">43</int>
- <reference key="object" ref="499920309"/>
- <array class="NSMutableArray" key="children">
- <reference ref="670596339"/>
- </array>
- <reference key="parent" ref="1026440260"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">45</int>
- <reference key="object" ref="670596339"/>
- <array class="NSMutableArray" key="children">
- <reference ref="270768568"/>
- </array>
- <reference key="parent" ref="499920309"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">48</int>
- <reference key="object" ref="270768568"/>
- <reference key="parent" ref="670596339"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">58</int>
- <reference key="object" ref="153595990"/>
- <array class="NSMutableArray" key="children">
- <reference ref="707939266"/>
- </array>
- <reference key="parent" ref="148476811"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">60</int>
- <reference key="object" ref="507963463"/>
- <array class="NSMutableArray" key="children">
- <reference ref="389652350"/>
- </array>
- <reference key="parent" ref="148476811"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">62</int>
- <reference key="object" ref="830583083"/>
- <array class="NSMutableArray" key="children">
- <reference ref="1017084037"/>
- </array>
- <reference key="parent" ref="148476811"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">68</int>
- <reference key="object" ref="707939266"/>
- <reference key="parent" ref="153595990"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">69</int>
- <reference key="object" ref="389652350"/>
- <reference key="parent" ref="507963463"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">70</int>
- <reference key="object" ref="1017084037"/>
- <reference key="parent" ref="830583083"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">71</int>
- <reference key="object" ref="442674439"/>
- <reference key="parent" ref="1026440260"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">72</int>
- <reference key="object" ref="1066087721"/>
- <reference key="parent" ref="1026440260"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">73</int>
- <reference key="object" ref="727065561"/>
- <reference key="parent" ref="1026440260"/>
- </object>
- </array>
- </object>
- <dictionary class="NSMutableDictionary" key="flattenedProperties">
- <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="-3.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="31.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="31.IBWindowTemplateEditedContentRect">{{79, 565}, {448, 436}}</string>
- <integer value="1" key="31.NSWindowTemplate.visibleAtLaunch"/>
- <string key="32.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="40.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="43.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="45.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="48.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="58.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="60.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="62.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="68.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="69.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="70.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="71.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1" key="71.IBShouldRemoveOnLegacySave"/>
- <string key="72.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1" key="72.IBShouldRemoveOnLegacySave"/>
- <string key="73.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1" key="73.IBShouldRemoveOnLegacySave"/>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
- <nil key="activeLocalization"/>
- <dictionary class="NSMutableDictionary" key="localizations"/>
- <nil key="sourceID"/>
- <int key="maxID">80</int>
- </object>
- <object class="IBClassDescriber" key="IBDocument.Classes">
- <array class="NSMutableArray" key="referencedPartialClassDescriptions">
- <object class="IBPartialClassDescription">
- <string key="className">OEGamePickerController</string>
- <string key="superclassName">NSWindowController</string>
- <dictionary class="NSMutableDictionary" key="actions">
- <string key="cancelPicker:">id</string>
- <string key="selectFile:">id</string>
- <string key="unpackSelectedFile:">id</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="actionInfosByName">
- <object class="IBActionInfo" key="cancelPicker:">
- <string key="name">cancelPicker:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="selectFile:">
- <string key="name">selectFile:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="unpackSelectedFile:">
- <string key="name">unpackSelectedFile:</string>
- <string key="candidateClassName">id</string>
- </object>
- </dictionary>
- <object class="NSMutableDictionary" key="outlets">
- <string key="NS.key.0">table</string>
- <string key="NS.object.0">NSTableView</string>
- </object>
- <object class="NSMutableDictionary" key="toOneOutletInfosByName">
- <string key="NS.key.0">table</string>
- <object class="IBToOneOutletInfo" key="NS.object.0">
- <string key="name">table</string>
- <string key="candidateClassName">NSTableView</string>
- </object>
- </object>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">./Classes/OEGamePickerController.h</string>
- </object>
- </object>
- </array>
- </object>
- <int key="IBDocument.localizationMode">0</int>
- <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencies">
- <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
- <real value="1060" key="NS.object.0"/>
- </object>
- <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
- <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
- <real value="4200" key="NS.object.0"/>
- </object>
- <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
- <int key="IBDocument.defaultPropertyAccessControl">3</int>
- </data>
-</archive>
View
50 OpenEmu/OEGamePickerController.h
@@ -1,50 +0,0 @@
-/*
- Copyright (c) 2009, OpenEmu Team
-
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of the OpenEmu Team nor the
- names of its contributors may be used to endorse or promote products
- derived from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY OpenEmu Team ''AS IS'' AND ANY
- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL OpenEmu Team BE LIABLE FOR ANY
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-#import <Cocoa/Cocoa.h>
-
-@class XADArchive;
-
-@interface OEGamePickerController : NSWindowController <NSWindowDelegate>
-{
- NSString *fileName;
- NSArray *files;
- BOOL safeExit;
-}
-
-@property(weak) IBOutlet NSTableView *table;
-
-- (IBAction)unpackSelectedFile:(id)sender;
-- (IBAction)cancelPicker:(id)sender;
-- (IBAction)selectFile:(id)sender;
-- (NSInteger)selectedIndex;
-- (void)setArchive:(XADArchive *)archive;
-
-@property(readonly) NSString *fileName;
-
-@end
View
104 OpenEmu/OEGamePickerController.m
@@ -1,104 +0,0 @@
-/*
- Copyright (c) 2009, OpenEmu Team
-
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of the OpenEmu Team nor the
- names of its contributors may be used to endorse or promote products
- derived from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY OpenEmu Team ''AS IS'' AND ANY
- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL OpenEmu Team BE LIABLE FOR ANY
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import "OEGamePickerController.h"
-#import <XADMaster/XADArchive.h>
-
-@implementation OEGamePickerController
-
-@synthesize fileName, table;
-
-- (id)init
-{
- return [self initWithWindowNibName:@"GameFilePicker"];
-}
-
-- (void)dealloc
-{
- [table setDelegate:nil];
- [table setDataSource:nil];
-}
-
-- (void)awakeFromNib
-{
- safeExit = NO;
- [[self window] setDelegate:self];
- [table setTarget:self];
- [table setDoubleAction:@selector(unpackSelectedFile:)];
-}
-
-- (void)setArchive:(XADArchive *)archive
-{
- fileName = [archive filename];
- NSMutableArray *muteFiles = [NSMutableArray arrayWithCapacity:[archive numberOfEntries]];
-
- for(NSUInteger i = 0, count = [archive numberOfEntries]; i < count; i++)
- [muteFiles addObject:[archive nameOfEntry:i]];
-
- files = [NSArray arrayWithArray:muteFiles];
-}
-
-- (NSInteger)numberOfRowsInTableView:(NSTableView *)tableView
-{
- return [files count];
-}
-
-- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row
-{
- return [files objectAtIndex:row];
-}
-
-- (IBAction)selectFile:(id)sender
-{
- safeExit = YES;
- [[NSApplication sharedApplication] stopModalWithCode:1];
- [[self window] close];
-}
-
-- (void)windowWillClose:(NSNotification *)notification
-{
- if(!safeExit) [[NSApplication sharedApplication] stopModalWithCode:0];
-}
-
-- (NSInteger)selectedIndex
-{
- return [table selectedRow];
-}
-
-- (IBAction)cancelPicker:(id)sender
-{
- safeExit = YES;
- [[NSApplication sharedApplication] stopModalWithCode:0];
- [[self window] close];
-}
-
-- (IBAction)unpackSelectedFile:(id)sender
-{
- [self selectFile:nil];
-}
-
-@end

0 comments on commit da59009

Please sign in to comment.