X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/fa806d48dafec0c47141381740a5d7604293d32d..2fc117703f304ba053e2b58b692609f9632535d7:/src/global.h diff --git a/src/global.h b/src/global.h index 7ee564581..daf86134e 100644 --- a/src/global.h +++ b/src/global.h @@ -24,6 +24,8 @@ #include #include +class OrgKdeDolphinMainWindowInterface; + namespace Dolphin { QList validateUris(const QStringList& uriList); @@ -51,6 +53,11 @@ namespace Dolphin { */ bool attachToExistingInstance(const QList& inputUrls, bool openFiles, bool splitView, const QString& preferredService = QString()); + /** + * Returns a QVector with all GUI-capable Dolphin instances + */ + QVector, QStringList>> dolphinGuiInstances(const QString& preferredService); + /** * TODO: Move this somewhere global to all KDE apps, not just Dolphin */