26 #include "nsISupports.idl"
38 [scriptable,
uuid(b021d970-1dd1-11b2-9c4e-8c3e3cfe9b88)]
45 attribute AString
key;
74 [scriptable,
uuid(99c883d0-1dd1-11b2-88fc-a67455e77067)]
119 void setHotkeys(in nsIArray aHotkeyConfigList);
155 #define SB_HOTKEY_SERVICE_CONTRACTID \
156 "@songbirdnest.com/Songbird/HotkeyService;1"
158 #define SB_HOTKEY_CONFIGURATION_CONTRACTID \
159 "@songbirdnest.com/Songbird/HotkeyConfiguration;1"
attribute AString action
Hotkey action string.
void removeHotkeysByAction(in AString aAction)
Remove all hotkeys with the action specified by aAction.
void removeHotkeyByKey(in AString aKey)
Remove the hotkey with the key specified by aKey.
nsIArray getHotkeys()
Return the set of hot key configurations as an nsIArray of sbIHotkeyConfiguration objects...
void addHotkey(in sbIHotkeyConfiguration aHotkeyConfig)
Add the hotkey specified by aHotkeyConfig.
sbIHotkeyConfiguration getHotkey(in AString aKey)
Return the hotkey configuration for the key specified by aKey.
attribute AString key
Hotkey key.
attribute boolean hotkeysEnabled
If true, hotkeys are enabled.
void setHotkeys(in nsIArray aHotkeyConfigList)
Set the hot key configuration to the nsIArray of sbIHotkeyConfiguration objects specified by aHotkeyC...
readonly attribute AString hotkeysEnabledDRKey
Key string for data remote used to enable or disable hot keys.
attribute AString keyReadable
Human readable key name.