aboutsummaryrefslogtreecommitdiff
path: root/main/src/main.vala
blob: 80f9bea50e7c382ca44c8773fb9f5d8044a29bb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using Dino.Entities;
using Dino.Ui;

namespace Dino {

void main(string[] args) {
    Gtk.init(ref args);
    Dino.Ui.Application app = new Dino.Ui.Application();
    PluginLoader loader = new PluginLoader();
    foreach(string plugin in new string[]{}) {
        try {
            loader.load(plugin, app);
        } catch (Dino.PluginError e) {
            print(@"Error loading plugin $plugin: $(e.message)\n");
        }
    }
    app.run(args);
}

}