From 7aadb476376db1d23ad333abb439639552bb6e19 Mon Sep 17 00:00:00 2001 From: Tannin Date: Fri, 7 Feb 2014 21:05:48 +0100 Subject: - archives.txt is now written using the "safe"-write mechanism - added the whole boss fork to the repository - bugfix: boss db is now always re-initialised because otherwise there might have been differing results between runs - bugfix: locked load order was ignored by integrated boss - bugfix: archive list wasn't written back on all changes that affected it - bugfix: CreateFile-hook didn't reroute files created with OPEN_ALWAYS to overwrite directory - bugfix: NtQueryDirectoryFile-hook didn't return the correct status code when searching for a file that doesn't exist --- src/pluginlist.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/pluginlist.h') diff --git a/src/pluginlist.h b/src/pluginlist.h index 95f90e09..e45746f2 100644 --- a/src/pluginlist.h +++ b/src/pluginlist.h @@ -202,7 +202,7 @@ public: // implementation of the QAbstractTableModel interface virtual Qt::DropActions supportedDropActions() const { return Qt::MoveAction; } virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); - void applyBOSSSorting(uint8_t **pluginList, size_t size, int &priority, bool recognized, const char *extension); + void applyBOSSSorting(boss_db db, std::map &lockedLoadOrder, uint8_t **pluginList, size_t size, int &priority, int &loadOrder, bool recognized, const char *extension); public slots: /** @@ -351,8 +351,8 @@ private: void testMasters(); - void initBoss(); - void convertPluginListForBoss(boost::ptr_vector &inputPlugins, std::vector &activePlugins); + boss_db initBoss(); + void convertPluginListForBoss(boss_db db, boost::ptr_vector &inputPlugins, std::vector &activePlugins); private: @@ -380,7 +380,6 @@ private: SignalRefreshed m_Refreshed; BossDLL *m_BOSS; - boss_db m_BOSSDB; QTemporaryFile m_TempFile; }; -- cgit v1.3.1