diff options
| author | Tomáš Znamenáček | 2014-08-05 16:24:15 +0200 | 
|---|---|---|
| committer | Tomáš Znamenáček | 2015-01-07 15:27:50 +0100 | 
| commit | 6383b054190d8bc4b7e059718cded0119d25d98c (patch) | |
| tree | a54f4139029f5fff74abd6ae60b022e2325177c7 /Framework/MASShortcut.h | |
| parent | 1c801726d35e56d3bbf4a33279213bc60935c244 (diff) | |
| download | MASShortcut-6383b054190d8bc4b7e059718cded0119d25d98c.tar.bz2 | |
Introduced a standalone MASShortcutValidator class to validate shortcuts.
It’s a natural simplification of the MASShortcut class. All MASShortcutView
objects use a shared validator by default, but can be reconfigured to use a
different validator if needed through the shortcutValidator property.
Diffstat (limited to 'Framework/MASShortcut.h')
| -rw-r--r-- | Framework/MASShortcut.h | 8 | 
1 files changed, 0 insertions, 8 deletions
| diff --git a/Framework/MASShortcut.h b/Framework/MASShortcut.h index b7ed55c..123e25e 100644 --- a/Framework/MASShortcut.h +++ b/Framework/MASShortcut.h @@ -11,7 +11,6 @@  @property (nonatomic, readonly) NSString *modifierFlagsString;  @property (nonatomic, readonly) NSData *data;  @property (nonatomic, readonly) BOOL shouldBypass; -@property (nonatomic, readonly, getter = isValid) BOOL valid;  - (id)initWithKeyCode:(NSUInteger)code modifierFlags:(NSUInteger)flags; @@ -19,11 +18,4 @@  + (MASShortcut *)shortcutWithEvent:(NSEvent *)anEvent;  + (MASShortcut *)shortcutWithData:(NSData *)aData; -- (BOOL)isTakenError:(NSError **)error; - -// The following API enable hotkeys with the Option key as the only modifier -// For example, Option-G will not generate © and Option-R will not paste ® -+ (void)setAllowsAnyHotkeyWithOptionModifier:(BOOL)allow; -+ (BOOL)allowsAnyHotkeyWithOptionModifier; -  @end | 
