diff options
Diffstat (limited to 'src/organizerproxy.cpp')
| -rw-r--r-- | src/organizerproxy.cpp | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/src/organizerproxy.cpp b/src/organizerproxy.cpp index 367ae001..2ce5b3ee 100644 --- a/src/organizerproxy.cpp +++ b/src/organizerproxy.cpp @@ -102,11 +102,6 @@ HANDLE OrganizerProxy::startApplication(const QString &executable, const QString bool OrganizerProxy::waitForApplication(HANDLE handle, LPDWORD exitCode) const
{
- return m_Proxied->waitForProcessOrJob(handle, exitCode);
-}
-
-bool OrganizerProxy::waitForApplication(HANDLE handle, LPDWORD exitCode) const
-{
return m_Proxied->waitForApplication(handle, exitCode);
}
@@ -125,16 +120,14 @@ bool OrganizerProxy::onModInstalled(const std::function<void (const QString &)> return m_Proxied->onModInstalled(func);
}
-
void OrganizerProxy::refreshModList(bool saveChanges)
{
m_Proxied->refreshModList(saveChanges);
}
-
IModInterface *OrganizerProxy::installMod(const QString &fileName)
{
- return m_Proxied->installMod(fileName);
+ return m_Proxied->installMod(fileName, QString());
}
QString OrganizerProxy::resolvePath(const QString &fileName) const
@@ -157,22 +150,6 @@ QStringList OrganizerProxy::getFileOrigins(const QString &fileName) const return m_Proxied->getFileOrigins(fileName);
}
-QStringList OrganizerProxy::getFileOrigins(const QString &fileName) const
-{
- QStringList result;
- const FileEntry::Ptr file = m_Proxied->m_DirectoryStructure->searchFile(ToWString(QFileInfo(fileName).fileName()), NULL);
-
- if (file.get() != NULL) {
- result.append(ToQString(m_Proxied->m_DirectoryStructure->getOriginByID(file->getOrigin()).getName()));
- foreach (int i, file->getAlternatives()) {
- result.append(ToQString(m_Proxied->m_DirectoryStructure->getOriginByID(i).getName()));
- }
- } else {
- qDebug("%s not found", qPrintable(fileName));
- }
- return result;
-}
-
QList<MOBase::IOrganizer::FileInfo> OrganizerProxy::findFileInfos(const QString &path, const std::function<bool (const MOBase::IOrganizer::FileInfo &)> &filter) const
{
return m_Proxied->findFileInfos(path, filter);
|
