diff options
| author | Tannin <devnull@localhost> | 2014-09-08 20:37:23 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-09-08 20:37:23 +0200 |
| commit | 9daeb9479bd2675d0feef1e1f7bffb3f73361e30 (patch) | |
| tree | 7c6190555677aee74366d1541ad6f2c8b4d50bd9 /src/mainwindow.h | |
| parent | 07bae15d7cdb831f97719c940c411ba40dba8929 (diff) | |
- re-enabled building of loot_cli and started developing against the new api
- extended set of default categories
- more tolerand bbcode parser
- added a few colors for the bbcode parser
- more fixes to qt5 compatibility
- started work on ability to unloading (and thus re-loading) of plugins
- names of plugins are no longer localizable (because those names are also used to store settings)
- added settings to disable individual diagnosis settings
- path of dependencies is now configured in a .pri file instead of environment variablees
- bugfix: if the modid-input is canceled, the id was saved as -1 and wasn't re-requested from the user
- bugfix: moving files with the SHFileOperation-Api didn't update the vfs correctly (still not perfect but better)
- bugfix: attempt to remove the deleter-file seems to have caused error messages for some users
- bugfix: fixed a couple of cases that might have caused the tutorial to hang
Diffstat (limited to 'src/mainwindow.h')
| -rw-r--r-- | src/mainwindow.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index e43feb89..65e0b264 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -29,6 +29,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <QThread>
#include <QProgressBar>
#include <QTranslator>
+#include <QPluginLoader>
#include "executableslist.h"
#include "modlist.h"
#include "pluginlist.h"
@@ -53,7 +54,9 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include "browserdialog.h"
#include <guessedvalue.h>
#include <directoryentry.h>
+#ifndef Q_MOC_RUN
#include <boost/signals2.hpp>
+#endif
namespace Ui {
class MainWindow;
@@ -138,6 +141,8 @@ public: void updateModInDirectoryStructure(unsigned int index, ModInfo::Ptr modInfo);
+ QString getOriginDisplayName(int originID);
+ void unloadPlugins();
public slots:
void refreshLists();
@@ -190,6 +195,7 @@ private: void registerPluginTool(MOBase::IPluginTool *tool);
void registerModPage(MOBase::IPluginModPage *modPage);
bool registerPlugin(QObject *pluginObj, const QString &fileName);
+ bool unregisterPlugin(QObject *pluginObj, const QString &fileName);
void updateToolBar();
void activateSelectedProfile();
@@ -371,8 +377,10 @@ private: MOBase::IGameInfo *m_GameInfo;
std::vector<MOBase::IPluginDiagnose*> m_DiagnosisPlugins;
+ std::vector<boost::signals2::connection> m_DiagnosisConnections;
std::vector<MOBase::IPluginModPage*> m_ModPages;
std::vector<QString> m_UnloadedPlugins;
+ std::vector<QPluginLoader*> m_PluginLoaders;
QFile m_PluginsCheck;
|
