add_window (window);
}
- public void register_plugins () {
+ public void register_plugins (Osso.Context context) {
string plugin_path = Config.PKGLIBDIR;
try {
var directory = File.new_for_path (plugin_path);
plugin = registrar.new_object ();
plugins.append (plugin);
- plugin.hello (window);
+ plugin.hello (window, context);
}
}
}
public void run () {
- register_plugins ();
// FIXME - always start with the first plugin's first source for now
if (plugins != null) {
var plugin = plugins.first ().data;
}
CinaestProgram app = new CinaestProgram ();
+ app.register_plugins (osso_context);
app.run ();
return 0;