]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dbusinterface.h
Switch to generated MainWindow dbus interface
[dolphin.git] / src / dbusinterface.h
index baf804f68af111a70dfdcbf1fa489670c057b22a..391916d6271998150ed9566aa27bc12eeec6b708 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 --deamon.
+     */
+    void setAsDaemon();
+
+    /**
+     * @return Whether this interface has been created by dolphin --deamon.
+     */
+    bool isDaemon() const;
+
+private:
+    bool m_isDaemon = false;
 };
 
 #endif // DBUSINTERFACE_H