Sha256: 5ec99e20782270ff7bd1fee8c505898c0610aade9ee626e55d31eb2d9e677548
Contents?: true
Size: 515 Bytes
Versions: 2
Compression:
Stored size: 515 Bytes
Contents
require_relative 'windows' module ManabuDesktop class Sessions @@active_sessions = [] def self.get_sessions() @@active_sessions end def self.session_count @@active_sessions.length end def self.add_session(session_handle) @@active_sessions << session_handle main_menu = ManabuDesktop::Windows.get_main_menu() main_menu.set_connections_status(session_count) unless main_menu == nil end def self.remove_session(session_identifier) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
manabu-desktop-0.0.4 | lib/sessions.rb |
manabu-desktop-0.0.3 | lib/sessions.rb |