lib/framework/rho/rhoapplication.rb in rhodes-2.0.3 vs lib/framework/rho/rhoapplication.rb in rhodes-2.1.0
- old
+ new
@@ -32,16 +32,24 @@
NativeBar.switch_tab(0)
elsif @@toolbar
NativeBar.create(TOOLBAR_TYPE, @@toolbar)
else
NativeBar.create(NOBAR_TYPE, [])
- end
+ end
- ::Rho::RHO.get_instance().check_source_migration(self)
-
+ ::Rho::RHO.get_instance().check_source_migration(self)
+
+ @initialized = true
end
+
+ def initialized?
+ @initialized
+ end
def on_activate_app
+ end
+
+ def on_deactivate_app
end
# works for schema sources
#return true to run script creating table
def on_migrate_source(old_version, new_src)