Module: Skype::OS

Defined in:
lib/skype/os/etc.rb,
lib/skype/os/mac.rb,
lib/skype/os/linux.rb,
lib/skype/os/windows.rb,
lib/skype/os/notifier.rb,
lib/skype/os/window_event_queue.rb,
lib/skype/os/window_messagehandler.rb

Defined Under Namespace

Classes: Abstruct, Linux, Mac, MessageHandler, Notifier, Windows, WindowsEventQueue

Constant Summary collapse

WAIT_CMD_LIMIT =

sec

30.0
PING_CYCLE =

sec

10.0
PING_LIMIT =

< PING_CYCLE

5.0
SLEEP_INTERVAL =
0.001
HWND_BROADCAST =
0xFFFF
WM_COPYDATA =
0x004A
WM_CLOSE =
0x10
WM_USER =
0x0400
WM_USER_MSG =
WM_USER + 1
SKYPECONTROLAPI_ATTACH_SUCCESS =
0
SKYPECONTROLAPI_ATTACH_PENDING_AUTHORIZATION =
1
SKYPECONTROLAPI_ATTACH_REFUSED =
2
SKYPECONTROLAPI_ATTACH_NOT_AVAILABLE =
3
SKYPECONTROLAPI_ATTACH_API_AVAILABLE =
0x8001
RegisterWindowMessage =
Win32API.new('user32','RegisterWindowMessageA', 'P', 'L')
SendMessage =
Win32API.new("user32", "SendMessageA", ['L']*4, 'L')
PostMessage =
Win32API.new("user32", "PostMessageA", 'LLLP', 'L')