]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dbusinterface.h
Prevents showing StatJob Progress info
[dolphin.git] / src / dbusinterface.h
index baf804f68af111a70dfdcbf1fa489670c057b22a..c1029ea23c516a5dd3f92ed615224813a6c16964 100644 (file)
@@ -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