diff options
author | Marvin W <git@larma.de> | 2017-03-11 01:25:45 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2017-03-11 02:04:38 +0100 |
commit | 4c48bdc07291f55d7320721a5b0a29c092f7daa0 (patch) | |
tree | 2b7debd52adbbf25ebceb2721014e5dc6c61679f /main | |
parent | 1ccad732b9a783d8f0140373602b7c1b84d04198 (diff) | |
download | dino-4c48bdc07291f55d7320721a5b0a29c092f7daa0.tar.gz dino-4c48bdc07291f55d7320721a5b0a29c092f7daa0.zip |
Improve Plugin API (allow to move encryption into plugin)
Diffstat (limited to 'main')
-rw-r--r-- | main/src/main.vala | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/main/src/main.vala b/main/src/main.vala index 80f9bea5..21e45bf4 100644 --- a/main/src/main.vala +++ b/main/src/main.vala @@ -5,16 +5,17 @@ namespace Dino { void main(string[] args) { Gtk.init(ref args); - Dino.Ui.Application app = new Dino.Ui.Application(); - PluginLoader loader = new PluginLoader(); + Application app = new Application(); + Plugins.Loader loader = new Plugins.Loader(); foreach(string plugin in new string[]{}) { try { loader.load(plugin, app); - } catch (Dino.PluginError e) { + } catch (Plugins.Error e) { print(@"Error loading plugin $plugin: $(e.message)\n"); } } app.run(args); + loader.shutdown(); } }
\ No newline at end of file |