lib/pione/global/system-variable.rb in pione-0.3.2 vs lib/pione/global/system-variable.rb in pione-0.4.0
- old
+ new
@@ -12,33 +12,28 @@
#
# PIONE's process model
#
- # This is the command object of this process.
- define_internal_item(:command) do |item|
- item.desc = "command object of this process"
+ define_internal_item(:parent) do |item|
+ item.desc = "front of parent process"
end
- # This is the front server of this process.
- define_internal_item(:front) do |item|
- item.desc = "front object of this process"
+ define_internal_item(:notification_recipient) do |item|
+ item.desc = "notification recipient of this process"
end
- # This process exits with this status.
- define_internal_item(:exit_status) do |item|
- item.desc = "exit status of this process"
- item.init = true
- end
-
#
# user interface
#
define_external_item(:color_enabled) do |item|
item.desc = "availability of color mode"
item.init = true
+ item.post do |val|
+ Sickill::Rainbow.enabled = val
+ end
end
#
# misc
#
@@ -49,8 +44,13 @@
end
define_computed_item(:expressional_features, [:features]) do |item|
item.desc = "expression of features for this system"
item.define_updater {Util.parse_features(Global.features)}
+ end
+
+ define_external_item(:file_sliding) do |item|
+ item.desc = "enable/disable to slide files in file server"
+ item.init = true
end
end
end