diff options
author | Andrew <forkk@forkk.net> | 2013-02-20 08:32:26 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-02-20 08:32:59 -0600 |
commit | f71479ec33562c9a0ebbdb335bef5e2824a12710 (patch) | |
tree | 198479995279a2a9eaa04fce405ee05b0c7df482 /main.cpp | |
parent | 6e5017e48b633e20bbba61ac2e7cd58e693aec4e (diff) | |
download | MultiMC-f71479ec33562c9a0ebbdb335bef5e2824a12710.tar MultiMC-f71479ec33562c9a0ebbdb335bef5e2824a12710.tar.gz MultiMC-f71479ec33562c9a0ebbdb335bef5e2824a12710.tar.lz MultiMC-f71479ec33562c9a0ebbdb335bef5e2824a12710.tar.xz MultiMC-f71479ec33562c9a0ebbdb335bef5e2824a12710.zip |
Added stdinstance plugin and a ton of plugin stuff.
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -18,9 +18,12 @@ #include <QApplication> #include "data/appsettings.h" - #include "data/loginresponse.h" +#include "data/plugin/pluginmanager.h" + +#include "util/pathutils.h" + int main(int argc, char *argv[]) { QApplication app(argc, argv); @@ -32,6 +35,11 @@ int main(int argc, char *argv[]) // Register meta types. qRegisterMetaType<LoginResponse>("LoginResponse"); + + // Initialize plugins. + PluginManager::get().loadPlugins(PathCombine(qApp->applicationDirPath(), "plugins")); + PluginManager::get().initInstanceTypes(); + MainWindow mainWin; mainWin.show(); |