summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-09-15 15:20:00 +0200
committerTannin <devnull@localhost>2013-09-15 15:20:00 +0200
commit98e5e57a845541acddf519a81957261f58008cb9 (patch)
treece3c8f9c5b7c4b48e46b5d825f49a752ad62d10d /src/mainwindow.h
parentdce78b62b839c17f41a0fcd2890ffc0005be7a3b (diff)
- added support for mod page plugins
- re-introduced the integrated browser - added a plugin to download from the tes alliance page - the download list now contains the file description - nexus interface now stores cookies persistently to reduce number of required log-ins
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 152c0a27..6ce64cb2 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -39,6 +39,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include <imoinfo.h>
#include <iplugintool.h>
#include <iplugindiagnose.h>
+#include <ipluginmodpage.h>
#include "settings.h"
#include "downloadmanager.h"
#include "installationmanager.h"
@@ -48,6 +49,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include "pluginlistsortproxy.h"
#include "tutorialcontrol.h"
#include "savegameinfowidgetgamebryo.h"
+#include "browserdialog.h"
#include <guessedvalue.h>
#include <directoryentry.h>
@@ -130,6 +132,7 @@ public slots:
void directory_refreshed();
void toolPluginInvoke();
+ void modPagePluginInvoke();
signals:
@@ -165,6 +168,7 @@ private:
void actionToToolButton(QAction *&sourceAction);
bool verifyPlugin(MOBase::IPlugin *plugin);
void registerPluginTool(MOBase::IPluginTool *tool);
+ void registerModPage(MOBase::IPluginModPage *modPage);
bool registerPlugin(QObject *pluginObj);
void updateToolBar();
@@ -241,6 +245,8 @@ private:
static void setupNetworkProxy(bool activate);
void activateProxy(bool activate);
+ void setBrowserGeometry(const QByteArray &geometry);
+
private:
static const unsigned int PROBLEM_PLUGINSNOTLOADED = 1;
@@ -313,8 +319,11 @@ private:
MOBase::IGameInfo *m_GameInfo;
std::vector<MOBase::IPluginDiagnose*> m_DiagnosisPlugins;
+ std::vector<MOBase::IPluginModPage*> m_ModPages;
std::vector<QString> m_UnloadedPlugins;
+ BrowserDialog m_IntegratedBrowser;
+
private slots:
void showMessage(const QString &message);
@@ -459,6 +468,8 @@ private slots:
void toolBar_customContextMenuRequested(const QPoint &point);
void removeFromToolbar();
+ void requestDownload(const QUrl &url, QNetworkReply *reply);
+
private slots: // ui slots
// actions
void on_actionAdd_Profile_triggered();