/ src / modules / cmdpal / CmdPalKeyboardService / KeyboardListener.idl
KeyboardListener.idl
 1  
 2  namespace CmdPalKeyboardService
 3  {
 4      [version(1.0), uuid(78ab07cd-e128-4e73-86aa-e48e6b6d01ff)] delegate void ProcessCommand(String id);
 5  
 6      [default_interface] runtimeclass KeyboardListener {
 7          KeyboardListener();
 8          void Start();
 9          void Stop();
10  
11          void SetHotkeyAction(Boolean win, Boolean ctrl, Boolean shift, Boolean alt, UInt8 key, String id);
12          void ClearHotkey(String id);
13          void ClearHotkeys();
14          void SetProcessCommand(ProcessCommand processCommand);
15      }
16  }