aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASShortcutMonitor.h
diff options
context:
space:
mode:
authorTomáš Znamenáček2015-01-16 12:57:08 +0100
committerTomáš Znamenáček2015-01-16 12:57:08 +0100
commitbf3a032c4b9205437003a7decca66bd6533fc8bb (patch)
tree7919d16edbd74676c6f30d89c9428ed70b2a8820 /Framework/MASShortcutMonitor.h
parent3ebbb7efde52d97abf9d215e5446e10a30223057 (diff)
downloadMASShortcut-bf3a032c4b9205437003a7decca66bd6533fc8bb.tar.bz2
Decrease headerdoc indenting to appease appledoc (see #55).
I think I have finally found out the reason for CocoaDocs ignoring our markup: I have indented the documentation by four spaces, which was interpreted as “code” by appledoc. Trying now without the indent, that should finally help.
Diffstat (limited to 'Framework/MASShortcutMonitor.h')
-rw-r--r--Framework/MASShortcutMonitor.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Framework/MASShortcutMonitor.h b/Framework/MASShortcutMonitor.h
index a1aaaa8..dc3d458 100644
--- a/Framework/MASShortcutMonitor.h
+++ b/Framework/MASShortcutMonitor.h
@@ -1,11 +1,11 @@
#import "MASShortcut.h"
/**
- Executes action when a shortcut is pressed.
+ Executes action when a shortcut is pressed.
- There can only be one instance of this class, otherwise things
- will probably not work. (There’s a Carbon event handler inside
- and there can only be one Carbon event handler of a given type.)
+ There can only be one instance of this class, otherwise things
+ will probably not work. (There’s a Carbon event handler inside
+ and there can only be one Carbon event handler of a given type.)
*/
@interface MASShortcutMonitor : NSObject
@@ -13,10 +13,10 @@
+ (instancetype) sharedMonitor;
/**
- Register a shortcut along with an action.
+ Register a shortcut along with an action.
- Attempting to insert an already registered shortcut probably won’t work.
- It may burn your house or cut your fingers. You have been warned.
+ Attempting to insert an already registered shortcut probably won’t work.
+ It may burn your house or cut your fingers. You have been warned.
*/
- (BOOL) registerShortcut: (MASShortcut*) shortcut withAction: (dispatch_block_t) action;
- (BOOL) isShortcutRegistered: (MASShortcut*) shortcut;