Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit 3716a9c369c56b3a976738c9edaecb3fb5c4891d @mattprice mattprice committed Sep 16, 2009
Showing with 14,753 additions and 0 deletions.
  1. BIN Bookmark.png
  2. +340 −0 COPYING
  3. BIN Clock.png
  4. +108 −0 Controller.h
  5. +671 −0 Controller.m
  6. +24 −0 Credits.rtf
  7. +96 −0 DownloadShowList.rb
  8. BIN English.lproj/InfoPlist.strings
  9. +55 −0 English.lproj/MainMenu.nib/classes.nib
  10. +88 −0 English.lproj/MainMenu.nib/info.nib
  11. BIN English.lproj/MainMenu.nib/keyedobjects.nib
  12. +41 −0 GetLatestSeasonEpisodeForShow.rb
  13. +135 −0 GetShowDetails.rb
  14. BIN Green.tif
  15. +49 −0 Helper.h
  16. +286 −0 Helper.m
  17. +61 −0 Info.plist
  18. +51 −0 NEWS
  19. BIN Play.tif
  20. BIN Preferences.png
  21. BIN Red.tif
  22. BIN Reload.png
  23. +1 −0 Sparkle.framework/Headers
  24. +1 −0 Sparkle.framework/Resources
  25. +1 −0 Sparkle.framework/Sparkle
  26. +33 −0 Sparkle.framework/Versions/A/Headers/SUAppcast.h
  27. +47 −0 Sparkle.framework/Versions/A/Headers/SUAppcastItem.h
  28. +118 −0 Sparkle.framework/Versions/A/Headers/SUUpdater.h
  29. +27 −0 Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h
  30. +21 −0 Sparkle.framework/Versions/A/Headers/Sparkle.h
  31. +24 −0 Sparkle.framework/Versions/A/Resources/Info.plist
  32. +7 −0 Sparkle.framework/Versions/A/Resources/License.txt
  33. +174 −0 Sparkle.framework/Versions/A/Resources/SUModelTranslation.plist
  34. +56 −0 Sparkle.framework/Versions/A/Resources/SUStatus.nib/classes.nib
  35. +20 −0 Sparkle.framework/Versions/A/Resources/SUStatus.nib/info.nib
  36. BIN Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib
  37. +50 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  38. +20 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/info.nib
  39. BIN Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  40. +67 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/classes.nib
  41. +20 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/info.nib
  42. BIN Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/keyedobjects.nib
  43. +59 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  44. +20 −0 Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/info.nib
  45. BIN Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  46. BIN Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings
  47. +50 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  48. +20 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/info.nib
  49. BIN Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  50. +67 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/classes.nib
  51. +20 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/info.nib
  52. BIN Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/keyedobjects.nib
  53. +59 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  54. +21 −0 Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/info.nib
  55. BIN Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  56. BIN Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings
  57. +50 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  58. +20 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/info.nib
  59. BIN Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  60. +67 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/classes.nib
  61. +20 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/info.nib
  62. BIN Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/keyedobjects.nib
  63. +59 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  64. +20 −0 Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/info.nib
  65. BIN Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  66. BIN Sparkle.framework/Versions/A/Resources/es.lproj/Sparkle.strings
  67. +50 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  68. +16 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/info.nib
  69. BIN Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  70. +67 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/classes.nib
  71. +16 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/info.nib
  72. BIN Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/keyedobjects.nib
  73. +59 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  74. +16 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/info.nib
  75. BIN Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  76. BIN Sparkle.framework/Versions/A/Resources/fr.lproj/Sparkle.strings
  77. +1 −0 Sparkle.framework/Versions/A/Resources/fr.lproj/fr.lproj
  78. +1 −0 Sparkle.framework/Versions/A/Resources/fr_CA.lproj
  79. +50 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  80. +20 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/info.nib
  81. BIN Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  82. +67 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/classes.nib
  83. +20 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/info.nib
  84. BIN Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/keyedobjects.nib
  85. +59 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  86. +20 −0 Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/info.nib
  87. BIN Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  88. BIN Sparkle.framework/Versions/A/Resources/it.lproj/Sparkle.strings
  89. +50 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  90. +18 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/info.nib
  91. BIN Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  92. +67 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/classes.nib
  93. +16 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/info.nib
  94. BIN Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/keyedobjects.nib
  95. +59 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  96. +16 −0 Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/info.nib
  97. BIN Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  98. BIN Sparkle.framework/Versions/A/Resources/nl.lproj/Sparkle.strings
  99. BIN Sparkle.framework/Versions/A/Resources/relaunch
  100. +50 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  101. +20 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/info.nib
  102. BIN Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  103. +67 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/classes.nib
  104. +20 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/info.nib
  105. BIN Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/keyedobjects.nib
  106. +59 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  107. +18 −0 Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/info.nib
  108. BIN Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  109. BIN Sparkle.framework/Versions/A/Resources/ru.lproj/Sparkle.strings
  110. +50 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  111. +20 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/info.nib
  112. BIN Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  113. +39 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/classes.nib
  114. +18 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/info.nib
  115. BIN Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/keyedobjects.nib
  116. +59 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/classes.nib
  117. +20 −0 Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/info.nib
  118. BIN Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib
  119. BIN Sparkle.framework/Versions/A/Resources/sv.lproj/Sparkle.strings
  120. BIN Sparkle.framework/Versions/A/Sparkle
  121. +1 −0 Sparkle.framework/Versions/Current
  122. BIN Start.tiff
  123. BIN Stop.png
  124. BIN Stop.tiff
  125. +29 −0 TODO
  126. BIN TVShows.icns
  127. +1,324 −0 TVShows.xcodeproj/administrateur.mode1
  128. +82 −0 TVShows.xcodeproj/administrateur.pbxuser
  129. +1,865 −0 TVShows.xcodeproj/martin.pbxuser
  130. +1,645 −0 TVShows.xcodeproj/martin.perspective
  131. +411 −0 TVShows.xcodeproj/project.pbxproj
  132. +441 −0 TVShowsScript/TVShows.rb
  133. +38 −0 TVShowsScript/TVShowsConstants.rb
  134. +22 −0 TVShowsScript/lib/plist.rb
  135. +224 −0 TVShowsScript/lib/plist/generator.rb
  136. +225 −0 TVShowsScript/lib/plist/parser.rb
  137. +149 −0 TVShowsScript/lib/simple-rss.rb
  138. +16 −0 TVTableView.h
  139. +52 −0 TVTableView.m
  140. +18 −0 UserDefaults.plist
  141. +56 −0 ValueTransformers.h
  142. +144 −0 ValueTransformers.m
  143. BIN Web.png
  144. +1 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Headers
  145. +1 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Resources
  146. +1 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Sparkle
  147. +13 −0 ...ug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/NSApplication+AppCopies.h
  148. +11 −0 ...Shows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/NSFileManager+Authentication.h
  149. +15 −0 ...TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/NSFileManager+Verification.h
  150. +61 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/NSString+extras.h
  151. +98 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/RSS.h
  152. +27 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/SUAppcast.h
  153. +57 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h
  154. +21 −0 ...bug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateAlert.h
  155. +20 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/SUConstants.h
  156. +26 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/SUStatusChecker.h
  157. +33 −0 ...d/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/SUStatusController.h
  158. +25 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/SUUnarchiver.h
  159. +40 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/SUUpdateAlert.h
  160. +55 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/SUUpdater.h
  161. +20 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/SUUtilities.h
  162. +22 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Headers/Sparkle.h
  163. +22 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/Info.plist
  164. +12 −0 ...g/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/SUStatus.nib/classes.nib
  165. +16 −0 ...ebug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/SUStatus.nib/info.nib
  166. BIN ...hows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib
  167. +12 −0 ...Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/classes.nib
  168. +16 −0 ...ts/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/info.nib
  169. BIN ...works/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib
  170. +21 −0 ...Contents/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/classes.nib
  171. +16 −0 ...pp/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/info.nib
  172. BIN ...nts/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/keyedobjects.nib
  173. BIN ...g/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings
  174. BIN build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
  175. +1 −0 build/Debug/TVShows.app/Contents/Frameworks/Sparkle.framework/Versions/Current
  176. +59 −0 build/Debug/TVShows.app/Contents/Info.plist
  177. BIN build/Debug/TVShows.app/Contents/MacOS/TVShows
  178. +1 −0 build/Debug/TVShows.app/Contents/PkgInfo
  179. BIN build/Debug/TVShows.app/Contents/Resources/Bookmark.png
  180. BIN build/Debug/TVShows.app/Contents/Resources/Clock.png
  181. +24 −0 build/Debug/TVShows.app/Contents/Resources/Credits.rtf
  182. +96 −0 build/Debug/TVShows.app/Contents/Resources/DownloadShowList.rb
  183. BIN build/Debug/TVShows.app/Contents/Resources/English.lproj/InfoPlist.strings
  184. +55 −0 build/Debug/TVShows.app/Contents/Resources/English.lproj/MainMenu.nib/classes.nib
  185. +88 −0 build/Debug/TVShows.app/Contents/Resources/English.lproj/MainMenu.nib/info.nib
  186. BIN build/Debug/TVShows.app/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
  187. +41 −0 build/Debug/TVShows.app/Contents/Resources/GetLatestSeasonEpisodeForShow.rb
  188. +135 −0 build/Debug/TVShows.app/Contents/Resources/GetShowDetails.rb
  189. BIN build/Debug/TVShows.app/Contents/Resources/Green.tif
  190. BIN build/Debug/TVShows.app/Contents/Resources/Play.tif
  191. BIN build/Debug/TVShows.app/Contents/Resources/Preferences.png
  192. BIN build/Debug/TVShows.app/Contents/Resources/Red.tif
  193. BIN build/Debug/TVShows.app/Contents/Resources/Reload.png
  194. BIN build/Debug/TVShows.app/Contents/Resources/Stop.png
  195. BIN build/Debug/TVShows.app/Contents/Resources/TVShows.icns
  196. +441 −0 build/Debug/TVShows.app/Contents/Resources/TVShowsScript/TVShows.rb
  197. +38 −0 build/Debug/TVShows.app/Contents/Resources/TVShowsScript/TVShowsConstants.rb
  198. +22 −0 build/Debug/TVShows.app/Contents/Resources/TVShowsScript/lib/plist.rb
  199. +224 −0 build/Debug/TVShows.app/Contents/Resources/TVShowsScript/lib/plist/generator.rb
  200. +225 −0 build/Debug/TVShows.app/Contents/Resources/TVShowsScript/lib/plist/parser.rb
  201. +149 −0 build/Debug/TVShows.app/Contents/Resources/TVShowsScript/lib/simple-rss.rb
  202. +18 −0 build/Debug/TVShows.app/Contents/Resources/UserDefaults.plist
  203. BIN build/Debug/TVShows.app/Contents/Resources/Web.png
  204. BIN build/TVShows.build/Debug/TVShows.build/Objects-normal/i386/Controller.o
  205. BIN build/TVShows.build/Debug/TVShows.build/Objects-normal/i386/Helper.o
  206. +5 −0 build/TVShows.build/Debug/TVShows.build/Objects-normal/i386/TVShows.LinkFileList
  207. BIN build/TVShows.build/Debug/TVShows.build/Objects-normal/i386/TVTableView.o
  208. BIN build/TVShows.build/Debug/TVShows.build/Objects-normal/i386/ValueTransformers.o
  209. BIN build/TVShows.build/Debug/TVShows.build/Objects-normal/i386/main.o
  210. +30 −0 build/TVShows.build/Debug/TVShows.build/Script-5B240B3E0BC40F140081A28E.sh
  211. +28 −0 build/TVShows.build/Debug/TVShows.build/TVShows.dep
  212. BIN build/TVShows.build/Debug/TVShows.build/TVShows.hmap
  213. +28 −0 build/TVShows.build/Debug/TVShows.build/TVShows~.dep
  214. +624 −0 build/TVShows.build/Debug/TVShows.build/build-state.dat
  215. +624 −0 build/TVShows.build/Debug/TVShows.build/build-state~.dat
  216. BIN build/TVShows.build/TVShows.pbxindex/categories.pbxbtree
  217. BIN build/TVShows.build/TVShows.pbxindex/cdecls.pbxbtree
  218. BIN build/TVShows.build/TVShows.pbxindex/decls.pbxbtree
  219. BIN build/TVShows.build/TVShows.pbxindex/files.pbxbtree
  220. BIN build/TVShows.build/TVShows.pbxindex/imports.pbxbtree
  221. BIN build/TVShows.build/TVShows.pbxindex/pbxindex.header
  222. BIN build/TVShows.build/TVShows.pbxindex/protocols.pbxbtree
  223. BIN build/TVShows.build/TVShows.pbxindex/refs.pbxbtree
  224. BIN build/TVShows.build/TVShows.pbxindex/strings.pbxstrings/control
  225. BIN build/TVShows.build/TVShows.pbxindex/strings.pbxstrings/strings
  226. BIN build/TVShows.build/TVShows.pbxindex/subclasses.pbxbtree
  227. BIN build/TVShows.build/TVShows.pbxindex/symbols0.pbxsymbols
  228. +12 −0 main.m
  229. +9 −0 tvshows_Prefix.pch
  230. BIN yellow.tiff
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
340 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
BIN Clock.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,108 @@
+/*
+ This file is part of the TVShows source code.
+ http://tvshows.sourceforge.net
+ It may be used under the terms of the GNU General Public License.
+*/
+
+#import <Cocoa/Cocoa.h>
+#import "Helper.h"
+
+@interface Controller : NSObject {
+
+ // Experimental
+ NSArray *tableItems;
+ IBOutlet NSView *mainView;
+ IBOutlet NSView *preferencesView;
+ IBOutlet NSTableColumn *mainColumn;
+
+ NSArray *qualities;
+ NSDictionary *shows;
+ Helper *h;
+ NSArray *details;
+
+ // Main window
+ IBOutlet NSWindow *mainWindow;
+ NSToolbar *mainToolbar;
+ IBOutlet NSView *searchToolbarItemView;
+ IBOutlet NSSearchField *searchToolbarItemTextField;
+ IBOutlet NSArrayController *showsController;
+ IBOutlet NSUserDefaultsController *defaultsController;
+ IBOutlet NSTableView *showsTable;
+
+ // Preferences window
+ IBOutlet NSWindow *preferencesWindow;
+ IBOutlet NSButton *enableDisableButton;
+ IBOutlet NSTextField *enableDisableLabel;
+
+ // Progress panel
+ IBOutlet NSWindow *progressPanel;
+ IBOutlet NSProgressIndicator *progressPanelIndicator;
+
+ // Details sheet
+ IBOutlet NSWindow *detailsSheet;
+ IBOutlet NSProgressIndicator *detailsProgressIndicator;
+ IBOutlet NSScrollView *detailsTable;
+ IBOutlet NSButton *detailsOKButton;
+ IBOutlet NSArrayController *detailsController;
+ IBOutlet NSTextField *detailsErrorText;
+ int retries;
+
+ // Download show
+ NSPipe *downloadShowListPipe;
+ NSTask *downloadShowListTask;
+ NSTask *getShowDetailsTask;
+ NSPipe *getShowDetailsPipe;
+ int currentShowIndex;
+ NSDictionary *currentShow;
+
+}
+
+// Toolbar
+- (NSToolbarItem *)toolbar: (NSToolbar *)toolbar itemForItemIdentifier:(NSString *)itemIdentifier willBeInsertedIntoToolbar:(BOOL)flag;
+- (NSArray *)toolbarDefaultItemIdentifiers:(NSToolbar*)toolbar;
+- (NSArray *)toolbarAllowedItemIdentifiers:(NSToolbar *)toolbar;
+
+// Download Show List
+- (IBAction)downloadShowList;
+- (void)downloadShowListDidFinish: (NSNotification *)notification;
+
+// Setters/getters
+- (NSArray *)qualities;
+- (void)setQualities: (NSArray *)someQualities;
+- (NSDictionary *)shows;
+- (void)setShows: (NSDictionary *)someShows;
+- (NSArray *)details;
+- (void)setDetails: (NSArray *)someDetails;
+
+// Preferences
+- (IBAction)openPreferences: (id)sender;
+- (IBAction)closePreferences: (id)sender;
+- (IBAction)enableDisable: (id)sender;
+- (IBAction)changeSaveFolder: (id)sender;
+
+// Show list
+- (IBAction)subscribe: (id)sender;
+- (IBAction)cancelSubscription: (id)sender;
+- (IBAction)okSubscription: (id)sender;
+- (IBAction)okSubscriptionToNextAiredEpisode: (id)sender;
+- (void)getShowDetailsDidFinish: (NSNotification *)notification;
+- (void) tableView:(NSTableView*)tableView willDisplayCell:(id)cell forTableColumn:(NSTableColumn*)tableColumn row:(int)row;
+- (IBAction)filterShows: (id)sender;
+
+// Launchd
+- (void)saveLaunchdPlist;
+- (void)unloadFromLaunchd;
+- (void)loadIntoLaunchd;
+
+// Menu handlers
+- (IBAction)find: (id)sender;
+- (IBAction)help: (id)sender;
+- (IBAction)sendFeedback: (id)sender;
+
+// Misc
+- (void)applicationWillTerminate: (NSNotification *)aNotification;
+- (IBAction)test: (id)sender;
+- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication;
+- (void)checkForBittorrentClient;
+- (void)checkForBittorrentClientAlertDidEnd:(NSAlert *)alert returnCode:(int)returnCode contextInfo:(void *)contextInfo;
+@end
Oops, something went wrong.

0 comments on commit 3716a9c

Please sign in to comment.