X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/d9649564199a7220e70716aa0999c6fddb0efadc..abdb0712ef9e62ff570497eb0e7072eb92b23722:/ITKeyCombo.h diff --git a/ITKeyCombo.h b/ITKeyCombo.h old mode 100755 new mode 100644 index e6d1be0..130d675 --- a/ITKeyCombo.h +++ b/ITKeyCombo.h @@ -1,27 +1,30 @@ -// -// ITKeyCombo.h -// -// Created by Quentin Carnicelli on Sat Aug 02 2003. -// Copyright (c) 2003 iThink Software. All rights reserved. -// - -#import - - -@interface ITKeyCombo : NSObject -{ - int mKeyCode; - int mModifiers; +/* + * ITKit + * ITKeyCombo.h + * + * Copyright (c) 2005 by iThink Software. + * All Rights Reserved. + * + * $Id$ + * + */ + +#import + +@interface ITKeyCombo : NSObject { + int mKeyCode; + int mModifiers; } + (id)clearKeyCombo; -+ (id)keyComboWithKeyCode: (int)keyCode modifiers: (int)modifiers; -- (id)initWithKeyCode: (int)keyCode modifiers: (int)modifiers; ++ (id)keyComboWithKeyCode:(int)keyCode modifiers:(int)modifiers; ++ (id)keyComboWithPlistRepresentation:(id)plist; +- (id)initWithKeyCode:(int)keyCode modifiers:(int)modifiers; -- (id)initWithPlistRepresentation: (id)plist; +- (id)initWithPlistRepresentation:(id)plist; - (id)plistRepresentation; -- (BOOL)isEqual: (ITKeyCombo*)combo; +- (BOOL)isEqual:(ITKeyCombo *)combo; - (int)keyCode; - (int)modifiers; @@ -33,6 +36,6 @@ @interface ITKeyCombo (UserDisplayAdditions) -- (NSString*)description; +- (NSString *)description; @end \ No newline at end of file