adium/adium
Clone
Summary
Browse
Changes
Graph
Remove cyclic import... I really don't know why this is necessary suddently.
adium-1.5.10.2
2016-03-09, Thijs Alkemade
6a6c6afdafc6
Remove cyclic import... I really don't know why this is necessary suddently.
//
// SGKeyCombo.h
// SGHotKeyCenter
//
// Created by Justin Williams on 7/26/09.
// Copyright 2009 Second Gear. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface
SGKeyCombo
:
NSObject
{
signed
short
keyCode
;
NSUInteger
modifiers
;
}
@property
(
nonatomic
,
assign
)
signed
short
keyCode
;
@property
(
nonatomic
,
assign
)
NSUInteger
modifiers
;
+
(
id
)
clearKeyCombo
;
+
(
id
)
keyComboWithKeyCode:
(
signed
short
)
theKeyCode
modifiers:
(
NSUInteger
)
theModifiers
;
-
(
id
)
initWithKeyCode:
(
signed
short
)
theKeyCode
modifiers:
(
NSUInteger
)
theModifiers
;
-
(
id
)
initWithPlistRepresentation:
(
id
)
thePlist
;
-
(
id
)
plistRepresentation
;
-
(
BOOL
)
isEqual:
(
SGKeyCombo
*
)
theCombo
;
-
(
BOOL
)
isClearCombo
;
-
(
BOOL
)
isValidHotKeyCombo
;
@end
@interface
SGKeyCombo
(UserDisplayAdditions)
-
(
NSString
*
)
description
;
-
(
NSString
*
)
keyCodeString
;
-
(
NSUInteger
)
modifierMask
;
@end