X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/7042c6c2899a4e46a095a38ee1481b63ca4b96d8..cbb35681f51b58eb7fb20b201869138cc5d45b65:/src/dbusinterface.h diff --git a/src/dbusinterface.h b/src/dbusinterface.h index baf804f68..c1029ea23 100644 --- a/src/dbusinterface.h +++ b/src/dbusinterface.h @@ -32,6 +32,19 @@ public: Q_SCRIPTABLE void ShowFolders(const QStringList& uriList, const QString& startUpId); Q_SCRIPTABLE void ShowItems(const QStringList& uriList, const QString& startUpId); Q_SCRIPTABLE void ShowItemProperties(const QStringList& uriList, const QString& startUpId); + + /** + * Set whether this interface has been created by dolphin --daemon. + */ + void setAsDaemon(); + + /** + * @return Whether this interface has been created by dolphin --daemon. + */ + bool isDaemon() const; + +private: + bool m_isDaemon = false; }; #endif // DBUSINTERFACE_H