47 |
load_properties |
load_properties |
48 |
load_setup |
load_setup |
49 |
@bus["/log/info"] << "--- #{@properties['config/product_name']} Started on #{Time.now.to_s}" |
@bus["/log/info"] << "--- #{@properties['config/product_name']} Started on #{Time.now.to_s}" |
50 |
|
# default to a do-nothing message pump |
51 |
|
@bus["/system/ui/messagepump"].set_proc do sleep(0.5) end |
52 |
load_plugins |
load_plugins |
53 |
|
while true do |
54 |
|
@bus["/system/ui/messagepump"].call() |
55 |
|
sleep(0.1) |
56 |
|
end |
57 |
end |
end |
58 |
|
|
59 |
## |
## |
151 |
end |
end |
152 |
STARTUP_STATES.each {|state| @bus["/plugins"].data = state} |
STARTUP_STATES.each {|state| @bus["/plugins"].data = state} |
153 |
end |
end |
154 |
|
puts "################## load_plugins" |
155 |
end |
end |
156 |
|
|
157 |
end |
end |