adium/adium
Clone
Summary
Browse
Changes
Graph
Update version number in Info.plist. Add a ticket number to Changes.txt.
adium-1.5.10.3
2017-03-24, Robert Vehse
6194bf1c1f66
Update version number in Info.plist. Add a ticket number to Changes.txt.
//
// SGHotKeyCenter.h
// SGHotKeyCenter
//
// Created by Justin Williams on 7/26/09.
// Copyright 2009 Second Gear. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class
SGHotKey
;
@interface
SGHotKeyCenter
:
NSObject
{
NSMutableDictionary
*
hotKeys
;
// Keys are NSValue of EventHotKeyRef
BOOL
eventHandlerInstalled
;
BOOL
hasInited
;
}
+
(
SGHotKeyCenter
*
)
sharedCenter
;
-
(
BOOL
)
registerHotKey:
(
SGHotKey
*
)
theHotKey
;
-
(
void
)
unregisterHotKey:
(
SGHotKey
*
)
theHotKey
;
-
(
NSArray
*
)
allHotKeys
;
-
(
SGHotKey
*
)
hotKeyWithIdentifier:
(
id
)
theIdentifier
;
@end