adium/adium
Clone
Summary
Browse
Changes
Graph
Add a short delay to the contentAdded event, to ensure it's run after the content has been appended.
JSXtras
2013-04-16, Thijs Alkemade
30446d4b7b9f
Add a short delay to the contentAdded event, to ensure it's run after the content has been appended.
//
// SGKeyCodeTranslator.h
// SGHotKeyCenter
//
// Created by Justin Williams on 7/26/09.
// Copyright 2009 Second Gear. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#include
<Carbon/Carbon.h>
#include
<CoreServices/CoreServices.h>
@interface
SGKeyCodeTranslator
:
NSObject
{
TISInputSourceRef
keyboardLayout
;
const
UCKeyboardLayout
*
keyboardLayoutData
;
NSUInteger
keyTranslateState
;
UInt32
deadKeyState
;
}
@property
(
nonatomic
,
assign
)
TISInputSourceRef
keyboardLayout
;
+
(
id
)
currentTranslator
;
-
(
id
)
initWithKeyboardLayout:
(
TISInputSourceRef
)
theLayout
;
-
(
NSString
*
)
translateKeyCode:
(
short
)
theKeyCode
;
@end