Permalink
Browse files

initial version 1.2.1 RCs

git-svn-id: http://cubelogic.org/stimer/trunk@1 fa0c4368-bda5-4905-ba7e-4925181232a2
  • Loading branch information...
ettore committed Nov 26, 2009
0 parents commit ca98268ca08856a6e5b9c32d2de3ac69129bb350
Showing with 26,498 additions and 0 deletions.
  1. +99 −0 AppController.h
  2. +1,617 −0 AppController.m
  3. +70 −0 CLSimpleTimerGlobals.h
  4. +137 −0 CLSimpleTimerModel.h
  5. +512 −0 CLSimpleTimerModel.m
  6. +83 −0 CLTimerSummary.h
  7. +589 −0 CLTimerSummary.m
  8. +19 −0 CLTimerSummaryTvController.h
  9. +77 −0 CLTimerSummaryTvController.m
  10. +340 −0 COPYING.txt
  11. +2 −0 English.lproj/CLCommonLocalizable.strings
  12. +53 −0 English.lproj/Credits.html
  13. BIN English.lproj/Help/Help idx
  14. +43 −0 English.lproj/Help/donations.html
  15. +46 −0 English.lproj/Help/index.html
  16. +353 −0 English.lproj/Help/license.html
  17. +1 −0 English.lproj/Help/style.css
  18. BIN English.lproj/Help/timer02-16x16.gif
  19. +88 −0 English.lproj/Help/use.html
  20. BIN English.lproj/HelpOnline/HelpOnline idx
  21. +43 −0 English.lproj/HelpOnline/donations.html
  22. +46 −0 English.lproj/HelpOnline/index.html
  23. +353 −0 English.lproj/HelpOnline/license.html
  24. +1 −0 English.lproj/HelpOnline/style.css
  25. BIN English.lproj/HelpOnline/timer02-16x16.gif
  26. +80 −0 English.lproj/HelpOnline/use.html
  27. +43 −0 English.lproj/HelpUnindexed/donations.html
  28. +46 −0 English.lproj/HelpUnindexed/index.html
  29. +353 −0 English.lproj/HelpUnindexed/license.html
  30. +1 −0 English.lproj/HelpUnindexed/style.css
  31. BIN English.lproj/HelpUnindexed/timer02-16x16.gif
  32. +84 −0 English.lproj/HelpUnindexed/use.html
  33. BIN English.lproj/InfoPlist.strings
  34. +110 −0 English.lproj/Localizable.strings
  35. +94 −0 English.lproj/MainMenu.nib/classes.nib
  36. +18 −0 English.lproj/MainMenu.nib/info.nib
  37. BIN English.lproj/MainMenu.nib/keyedobjects.nib
  38. +8,867 −0 English.lproj/MyDocument.nib/designable.nib
  39. BIN English.lproj/MyDocument.nib/keyedobjects.nib
  40. +107 −0 English.lproj/MyDocumentAlt.nib/classes.nib
  41. +18 −0 English.lproj/MyDocumentAlt.nib/info.nib
  42. BIN English.lproj/MyDocumentAlt.nib/keyedobjects.nib
  43. +79 −0 English.lproj/OldCredits.rtf
  44. +30 −0 English.lproj/Preferences.nib/classes.nib
  45. +26 −0 English.lproj/Preferences.nib/info.nib
  46. BIN English.lproj/Preferences.nib/keyedobjects.nib
  47. +53 −0 Info.plist
  48. +162 −0 MyDocument.h
  49. +1,240 −0 MyDocument.m
  50. +46 −0 PreferenceController.h
  51. +202 −0 PreferenceController.m
  52. +41 −0 SimpleTimer-README.txt
  53. +52 −0 SimpleTimer-change-log.txt
  54. +1,383 −0 SimpleTimer.xcode/ep.mode1
  55. +2,472 −0 SimpleTimer.xcode/ep.pbxuser
  56. +1,507 −0 SimpleTimer.xcode/project.pbxproj
  57. +1,391 −0 SimpleTimer.xcodeproj/ep.mode1
  58. +1,501 −0 SimpleTimer.xcodeproj/ep.mode1v3
  59. +1,286 −0 SimpleTimer.xcodeproj/ep.pbxuser
  60. +532 −0 SimpleTimer.xcodeproj/project.pbxproj
  61. BIN SimpleTimerIcon.icns
  62. BIN SimpleTimerIcon.png
  63. +8 −0 SimpleTimer_Prefix.pch
  64. +78 −0 main.m
  65. +16 −0 version.plist
@@ -0,0 +1,99 @@
+// AppController.h
+// Created by ep on $Date: 2005/10/21 11:22:58 $Revision: 1.2 $
+// Copyright (c) 2003 Ettore Pasquini.
+
+/*
+ This file is part of SimpleTimer.
+
+ SimpleTimer is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ SimpleTimer is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with SimpleTimer; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#import <Cocoa/Cocoa.h>
+@class PreferenceController;
+@class CLTimerSummaryTvController;
+@class MyDocument;
+
+@interface AppController : NSDocumentController {
+ PreferenceController *preferenceController;/*"Owner of Preferences.nib"*/
+ IBOutlet NSWindow *sumTableAllWindow;
+ IBOutlet NSTableView *sumTableAll;
+ IBOutlet CLTimerSummaryTvController *sumAllController;
+ IBOutlet NSMenu *dockMenu;
+ int currentOperation;
+ NSFont *countdownFont;
+ NSFont *countdownEndedFont;
+ BOOL didReviewChanges;
+ NSString *samedayDateFormat;
+ NSString *sameyearDateFormat;
+ NSString *fullDateFormat;
+ NSString *defaultSoundDir;
+}
+
+// actions
+- (IBAction) showPreferencePanel:(id)sender;
+- (IBAction) showSummaryOfAllTimers:(id)sender;
+- (IBAction) newDoc:(id)sender;
+- (IBAction) editTimer:(id)sender;
+- (IBAction) removeTimer:(id)sender;
+- (IBAction) makeDonation:(id)sender;
+- (IBAction) emailFeedback:(id)sender;
+- (IBAction) bugReport:(id)sender;
+
+// notification methods
+- (void)handleNewSimpleTimerDocument:(NSNotification *)note;
+
+// timer methods
+- (void)recomputeTimerIdsFromId:(int)tid;
+- (void)startTimer:(int)timerId;
+- (void)invalidateTimer:(int)timerId code:(int)code;
+
+// document controller methods
+- (void)docOnClose:(NSDocument *)doc
+ didSave:(BOOL)didSave
+ contextInfo:(void *)contextInfo;
+- (void) doc:(NSDocument *)d shouldClose:(BOOL)b contextInfo:(void *)c;
+- (void)handleClosingSimpleTimerDocument:(MyDocument *)doc
+ contextInfo:(void *)contextInfo;
+
+// utility methods
+- (MyDocument *)reopenDoc:(int)timerId;
+- (void)removeTimerWithId:(int)timerId;
+- (void)updateDoc:(MyDocument *)d withTimerId:(int)timerId;
+- (NSString *)formattedStringForDate:(NSDate *)date;
+- (BOOL) loadPreferencesNib;
+- (id)openUntitledDoc:(int)operation;
+
+// termination methods
+- (int)openTerminationAlertWithActive:(int)numActive unsaved:(int)numUnsaved;
+- (void) invalidateAllTimers;
+- (int)reviewDocs;
+// - (void)reviewAllDocsOnQuit;
+// - (void)restoreDirtyStatusForIndexes:(NSSet *)set;
+
+// delegate methods
+- (void)applicationDidFinishLaunching:(NSNotification *)aNotification;
+- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)app;
+
+// getter and setter methods
+- (PreferenceController *)preferenceController;
+- (void)setPreferenceController:(PreferenceController *)controller;
+- (CLTimerSummaryTvController *)sumAllController;
+- (NSString *)defaultSoundDir;
+- (NSFont *)countdownFont;
+- (void)setCountdownFont:(NSFont *)_t_m_p_;
+- (NSFont *)countdownEndedFont;
+- (void)setCountdownEndedFont:(NSFont *)_t_m_p_;
+
+@end
Oops, something went wrong.

0 comments on commit ca98268

Please sign in to comment.