//
//  NSEvent+Additions.h
//  MPServices
//
//  Created by Dmitry Gaponenko on 10/20/14.
//  Copyright (c) 2014 MacPhun. All rights reserved.
//

#import <Cocoa/Cocoa.h>

typedef NS_ENUM(NSUInteger, MPEventKeyCode) {
    MPEventKeyCodeArrowLeft = 123,
    MPEventKeyCodeArrowRight,
    MPEventKeyCodeArrowDown,
    MPEventKeyCodeArrowUp,
};

@interface NSEvent (Additions)

- (NSString *)keyEquivalent;

- (BOOL)equalsToKeyEquivalent:(NSString *)keyEquivalent withModifiersFlags:(NSUInteger)modifiersFlags;
- (BOOL)equalsToKeyCode:(NSUInteger)keyCode withModifiersFlags:(NSUInteger)modifiersFlags;

@end
