anotherim-desktop/main/src/main.vala

21 lines
462 B
Vala
Raw Normal View History

2017-03-10 18:34:56 +00:00
using Dino.Entities;
using Dino.Ui;
namespace Dino {
void main(string[] args) {
Gtk.init(ref args);
Application app = new Application();
Plugins.Loader loader = new Plugins.Loader();
2017-03-10 18:34:56 +00:00
foreach(string plugin in new string[]{}) {
try {
loader.load(plugin, app);
} catch (Plugins.Error e) {
2017-03-10 18:34:56 +00:00
print(@"Error loading plugin $plugin: $(e.message)\n");
}
}
app.run(args);
loader.shutdown();
2017-03-10 18:34:56 +00:00
}
}