aboutsummaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
Diffstat (limited to 'main/src')
-rw-r--r--main/src/main.vala20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/src/main.vala b/main/src/main.vala
new file mode 100644
index 00000000..80f9bea5
--- /dev/null
+++ b/main/src/main.vala
@@ -0,0 +1,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);
+}
+
+} \ No newline at end of file