adium/adium
Clone
Summary
Browse
Changes
Graph
Prompt the user to authenticate again when using the refresh_token gives an error. Also, show the error to the user.
GoogleOAuth2
2015-04-01, Thijs Alkemade
c4923ddd82bf
Prompt the user to authenticate again when using the refresh_token gives an error. Also, show the error to the user.
//
// 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