Permalink
Browse files

Initial Commit

  • Loading branch information...
michaelvillar committed Jan 11, 2013
0 parents commit 5b1e45bc151548984b1213df2d78b001e498e243
Showing with 20,127 additions and 0 deletions.
  1. +86 −0 DDHotKeyCenter.h
  2. +313 −0 DDHotKeyCenter.m
  3. +175 −0 EMKeychainItem.h
  4. +542 −0 EMKeychainItem.m
  5. +496 −0 FileShuttle.xcodeproj/project.pbxproj
  6. +7 −0 FileShuttle.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  7. +47 −0 FileShuttle/AppController.h
  8. +694 −0 FileShuttle/AppController.m
  9. +73 −0 FileShuttle/FileShuttle-Info.plist
  10. +7 −0 FileShuttle/FileShuttle-Prefix.pch
  11. +27 −0 FileShuttle/Growl Registration Ticket.growlRegDict
  12. +3,968 −0 FileShuttle/MainMenu.xib
  13. +4,301 −0 FileShuttle/MainMenu.xib.original
  14. +2 −0 FileShuttle/en.lproj/InfoPlist.strings
  15. +13 −0 FileShuttle/main.m
  16. BIN FileShuttle/status_item.png
  17. BIN FileShuttle/status_item_completed.png
  18. BIN FileShuttle/status_item_empty.png
  19. BIN FileShuttle/status_item_error.png
  20. BIN FileShuttle/status_item_highlighted.png
  21. BIN FileShuttle/status_item_mask.png
  22. +1 −0 Growl.framework/Growl
  23. +1 −0 Growl.framework/Headers
  24. +1 −0 Growl.framework/Resources
  25. BIN Growl.framework/Versions/A/Growl
  26. +5 −0 Growl.framework/Versions/A/Headers/Growl.h
  27. +551 −0 Growl.framework/Versions/A/Headers/GrowlApplicationBridge.h
  28. +341 −0 Growl.framework/Versions/A/Headers/GrowlDefines.h
  29. +40 −0 Growl.framework/Versions/A/Resources/Info.plist
  30. +34 −0 Growl.framework/Versions/A/_CodeSignature/CodeResources
  31. +1 −0 Growl.framework/Versions/Current
  32. +12 −0 MVDictionaryKeyCombo.h
  33. +26 −0 MVDictionaryKeyCombo.m
  34. +41 −0 MVDirectoryListener.h
  35. +88 −0 MVDirectoryListener.m
  36. +30 −0 MVDockImage.h
  37. +119 −0 MVDockImage.m
  38. +26 −0 MVFTPFileUpload.h
  39. +244 −0 MVFTPFileUpload.m
  40. +36 −0 MVFileUpload.h
  41. +70 −0 MVFileUpload.m
  42. +25 −0 MVFileUploadDelegate.h
  43. +51 −0 MVFileUploader.h
  44. +217 −0 MVFileUploader.m
  45. +36 −0 MVPreferencesController.h
  46. +406 −0 MVPreferencesController.m
  47. +19 −0 MVSFTPFileUpload.h
  48. +243 −0 MVSFTPFileUpload.m
  49. +58 −0 MVStatusItemView.h
  50. +206 −0 MVStatusItemView.m
  51. +18 −0 MVURLShortener.h
  52. +30 −0 MVURLShortener.m
  53. +17 −0 MVZipFiles.h
  54. +67 −0 MVZipFiles.m
  55. +24 −0 NAFTPStream.h
  56. +242 −0 NAFTPStream.m
  57. +11 −0 NSBezierPath-RoundedRect.h
  58. +43 −0 NSBezierPath-RoundedRect.m
  59. +15 −0 NSPasteboard+Files.h
  60. +52 −0 NSPasteboard+Files.m
  61. +18 −0 NSString+MD5.h
  62. +31 −0 NSString+MD5.m
  63. +8 −0 README
  64. +74 −0 RegexKit.framework/Headers/NSArray.h
  65. +66 −0 RegexKit.framework/Headers/NSData.h
  66. +74 −0 RegexKit.framework/Headers/NSDictionary.h
  67. +68 −0 RegexKit.framework/Headers/NSObject.h
  68. +70 −0 RegexKit.framework/Headers/NSSet.h
  69. +103 −0 RegexKit.framework/Headers/NSString.h
  70. +110 −0 RegexKit.framework/Headers/RKCache.h
  71. +91 −0 RegexKit.framework/Headers/RKEnumerator.h
  72. +104 −0 RegexKit.framework/Headers/RKRegex.h
  73. +60 −0 RegexKit.framework/Headers/RKUtility.h
  74. +86 −0 RegexKit.framework/Headers/RegexKit.h
  75. +175 −0 RegexKit.framework/Headers/RegexKitDefines.h
  76. +226 −0 RegexKit.framework/Headers/RegexKitTypes.h
  77. +303 −0 RegexKit.framework/Headers/pcre.h
  78. BIN RegexKit.framework/RegexKit
  79. BIN RegexKit.framework/Resources/English.lproj/InfoPlist.strings
  80. BIN RegexKit.framework/Resources/English.lproj/Localizable.strings
  81. BIN RegexKit.framework/Resources/English.lproj/pcre.strings
  82. +41 −0 RegexKit.framework/Resources/Info.plist
  83. +79 −0 RegexKit.framework/Resources/LICENSE
  84. +74 −0 RegexKit.framework/Versions/A/Headers/NSArray.h
  85. +66 −0 RegexKit.framework/Versions/A/Headers/NSData.h
  86. +74 −0 RegexKit.framework/Versions/A/Headers/NSDictionary.h
  87. +68 −0 RegexKit.framework/Versions/A/Headers/NSObject.h
  88. +70 −0 RegexKit.framework/Versions/A/Headers/NSSet.h
  89. +103 −0 RegexKit.framework/Versions/A/Headers/NSString.h
  90. +110 −0 RegexKit.framework/Versions/A/Headers/RKCache.h
  91. +91 −0 RegexKit.framework/Versions/A/Headers/RKEnumerator.h
  92. +104 −0 RegexKit.framework/Versions/A/Headers/RKRegex.h
  93. +60 −0 RegexKit.framework/Versions/A/Headers/RKUtility.h
  94. +86 −0 RegexKit.framework/Versions/A/Headers/RegexKit.h
  95. +175 −0 RegexKit.framework/Versions/A/Headers/RegexKitDefines.h
  96. +226 −0 RegexKit.framework/Versions/A/Headers/RegexKitTypes.h
  97. +303 −0 RegexKit.framework/Versions/A/Headers/pcre.h
  98. BIN RegexKit.framework/Versions/A/RegexKit
  99. BIN RegexKit.framework/Versions/A/Resources/English.lproj/InfoPlist.strings
  100. BIN RegexKit.framework/Versions/A/Resources/English.lproj/Localizable.strings
  101. BIN RegexKit.framework/Versions/A/Resources/English.lproj/pcre.strings
  102. +41 −0 RegexKit.framework/Versions/A/Resources/Info.plist
  103. +79 −0 RegexKit.framework/Versions/A/Resources/LICENSE
  104. +74 −0 RegexKit.framework/Versions/Current/Headers/NSArray.h
  105. +66 −0 RegexKit.framework/Versions/Current/Headers/NSData.h
  106. +74 −0 RegexKit.framework/Versions/Current/Headers/NSDictionary.h
  107. +68 −0 RegexKit.framework/Versions/Current/Headers/NSObject.h
  108. +70 −0 RegexKit.framework/Versions/Current/Headers/NSSet.h
  109. +103 −0 RegexKit.framework/Versions/Current/Headers/NSString.h
  110. +110 −0 RegexKit.framework/Versions/Current/Headers/RKCache.h
  111. +91 −0 RegexKit.framework/Versions/Current/Headers/RKEnumerator.h
  112. +104 −0 RegexKit.framework/Versions/Current/Headers/RKRegex.h
  113. +60 −0 RegexKit.framework/Versions/Current/Headers/RKUtility.h
  114. +86 −0 RegexKit.framework/Versions/Current/Headers/RegexKit.h
  115. +175 −0 RegexKit.framework/Versions/Current/Headers/RegexKitDefines.h
  116. +226 −0 RegexKit.framework/Versions/Current/Headers/RegexKitTypes.h
  117. +303 −0 RegexKit.framework/Versions/Current/Headers/pcre.h
  118. BIN RegexKit.framework/Versions/Current/RegexKit
  119. BIN RegexKit.framework/Versions/Current/Resources/English.lproj/InfoPlist.strings
  120. BIN RegexKit.framework/Versions/Current/Resources/English.lproj/Localizable.strings
  121. BIN RegexKit.framework/Versions/Current/Resources/English.lproj/pcre.strings
  122. +41 −0 RegexKit.framework/Versions/Current/Resources/Info.plist
  123. +79 −0 RegexKit.framework/Versions/Current/Resources/LICENSE
  124. +1 −0 ShortcutRecorder.framework/Headers
  125. +1 −0 ShortcutRecorder.framework/Resources
  126. +1 −0 ShortcutRecorder.framework/ShortcutRecorder
  127. +185 −0 ShortcutRecorder.framework/Versions/A/Headers/SRCommon.h
  128. +16 −0 ShortcutRecorder.framework/Versions/A/Headers/SRKeyCodeTransformer.h
  129. +137 −0 ShortcutRecorder.framework/Versions/A/Headers/SRRecorderCell.h
  130. +79 −0 ShortcutRecorder.framework/Versions/A/Headers/SRRecorderControl.h
  131. +34 −0 ShortcutRecorder.framework/Versions/A/Headers/SRValidator.h
  132. +15 −0 ShortcutRecorder.framework/Versions/A/Headers/SR_LeopardView.h
  133. +17 −0 ShortcutRecorder.framework/Versions/A/Headers/ShortcutRecorder.h
  134. +36 −0 ShortcutRecorder.framework/Versions/A/Resources/Info.plist
  135. BIN ShortcutRecorder.framework/Versions/A/ShortcutRecorder
  136. +1 −0 ShortcutRecorder.framework/Versions/Current
  137. BIN fileshuttle.icns
  138. +147 −0 sshversion.c
  139. +12 −0 sshversion.h
@@ -0,0 +1,86 @@
+/*
+ DDHotKey -- DDHotKeyCenter.h
+
+ Copyright (c) 2010, Dave DeLong <http://www.davedelong.com>
+
+ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
+
+ The software is provided "as is", without warranty of any kind, including all implied warranties of merchantability and fitness. In no event shall the author(s) or copyright holder(s) be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.
+ */
+
+#import <Cocoa/Cocoa.h>
+
+#if NS_BLOCKS_AVAILABLE
+//a convenient typedef for the required signature of a hotkey block callback
+typedef void (^DDHotKeyTask)(NSEvent*);
+#endif
+
+@interface DDHotKey : NSObject
+
+@property (nonatomic, readonly, retain) id target;
+@property (nonatomic, readonly) SEL action;
+@property (nonatomic, readonly, retain) id object;
+#if NS_BLOCKS_AVAILABLE
+@property (nonatomic, readonly, copy) DDHotKeyTask task;
+#endif
+
+@property (nonatomic, readonly) unsigned short keyCode;
+@property (nonatomic, readonly) NSUInteger modifierFlags;
+
+@end
+
+#pragma mark -
+
+@interface DDHotKeyCenter : NSObject {
+
+}
+
+/**
+ Register a target/action hotkey.
+ The modifierFlags must be a bitwise OR of NSCommandKeyMask, NSAlternateKeyMask, NSControlKeyMask, or NSShiftKeyMask;
+ Returns YES if the hotkey was registered; NO otherwise.
+ */
+- (BOOL) registerHotKeyWithKeyCode:(unsigned short)keyCode modifierFlags:(NSUInteger)flags target:(id)target action:(SEL)action object:(id)object;
+
+#if NS_BLOCKS_AVAILABLE
+/**
+ Register a block callback hotkey.
+ The modifierFlags must be a bitwise OR of NSCommandKeyMask, NSAlternateKeyMask, NSControlKeyMask, or NSShiftKeyMask;
+ Returns YES if the hotkey was registered; NO otherwise.
+ */
+- (BOOL) registerHotKeyWithKeyCode:(unsigned short)keyCode modifierFlags:(NSUInteger)flags task:(DDHotKeyTask)task;
+#endif
+
+/**
+ See if a hotkey exists with the specified keycode and modifier flags.
+ NOTE: this will only check among hotkeys you have explicitly registered with DDHotKeyCenter. This does not check all globally registered hotkeys.
+ */
+- (BOOL) hasRegisteredHotKeyWithKeyCode:(unsigned short)keyCode modifierFlags:(NSUInteger)flags;
+
+/**
+ Unregister a specific hotkey
+ */
+- (void) unregisterHotKey:(DDHotKey *)hotKey;
+
+/**
+ Unregister all hotkeys with a specific target
+ */
+- (void) unregisterHotKeysWithTarget:(id)target;
+
+/**
+ Unregister all hotkeys with a specific target and action
+ */
+- (void) unregisterHotKeysWithTarget:(id)target action:(SEL)action;
+
+/**
+ Unregister a hotkey with a specific keycode and modifier flags
+ */
+- (void) unregisterHotKeyWithKeyCode:(unsigned short)keyCode modifierFlags:(NSUInteger)flags;
+
+/**
+ Returns a set of currently registered hotkeys
+ **/
+- (NSSet *) registeredHotKeys;
+
+@end
+
Oops, something went wrong.

0 comments on commit 5b1e45b

Please sign in to comment.