import"sbIHotkeyService.idl";
Public Member Functions | |
nsIArray | getHotkeys () |
Return the set of hot key configurations as an nsIArray of sbIHotkeyConfiguration objects. More... | |
sbIHotkeyConfiguration | getHotkey (in AString aKey) |
Return the hotkey configuration for the key specified by aKey. More... | |
void | setHotkeys (in nsIArray aHotkeyConfigList) |
Set the hot key configuration to the nsIArray of sbIHotkeyConfiguration objects specified by aHotkeyConfigList. More... | |
void | addHotkey (in sbIHotkeyConfiguration aHotkeyConfig) |
Add the hotkey specified by aHotkeyConfig. More... | |
void | removeHotkeyByKey (in AString aKey) |
Remove the hotkey with the key specified by aKey. More... | |
void | removeHotkeysByAction (in AString aAction) |
Remove all hotkeys with the action specified by aAction. More... | |
Public Attributes | |
attribute boolean | hotkeysEnabled |
If true, hotkeys are enabled. More... | |
readonly attribute AString | hotkeysEnabledDRKey |
Key string for data remote used to enable or disable hot keys. More... | |
This interface provides services for managing global hot key settings.
"@songbirdnest.com/Songbird/HotkeyService;1" Use get service with this component.
Definition at line 75 of file sbIHotkeyService.idl.
void sbIHotkeyService::addHotkey | ( | in sbIHotkeyConfiguration | aHotkeyConfig | ) |
Add the hotkey specified by aHotkeyConfig.
aHotkeyConfig | Hotkey configuration. |
sbIHotkeyConfiguration sbIHotkeyService::getHotkey | ( | in AString | aKey | ) |
Return the hotkey configuration for the key specified by aKey.
aKey | Key for which to get hotkey configuration. |
nsIArray sbIHotkeyService::getHotkeys | ( | ) |
Return the set of hot key configurations as an nsIArray of sbIHotkeyConfiguration objects.
void sbIHotkeyService::removeHotkeyByKey | ( | in AString | aKey | ) |
Remove the hotkey with the key specified by aKey.
aKey | Hotkey to remove. |
void sbIHotkeyService::removeHotkeysByAction | ( | in AString | aAction | ) |
Remove all hotkeys with the action specified by aAction.
aAction | Action for which to remove hotkeys. |
void sbIHotkeyService::setHotkeys | ( | in nsIArray | aHotkeyConfigList | ) |
Set the hot key configuration to the nsIArray of sbIHotkeyConfiguration objects specified by aHotkeyConfigList.
aHotkeyConfigList | Hotkey configuration list. |
attribute boolean sbIHotkeyService::hotkeysEnabled |
If true, hotkeys are enabled.
Definition at line 81 of file sbIHotkeyService.idl.
readonly attribute AString sbIHotkeyService::hotkeysEnabledDRKey |
Key string for data remote used to enable or disable hot keys.
Definition at line 88 of file sbIHotkeyService.idl.