summaryrefslogtreecommitdiffstats
path: root/quanta/src/dcopwindowmanagerif.h
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/src/dcopwindowmanagerif.h')
-rw-r--r--quanta/src/dcopwindowmanagerif.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/quanta/src/dcopwindowmanagerif.h b/quanta/src/dcopwindowmanagerif.h
new file mode 100644
index 00000000..d0f8a908
--- /dev/null
+++ b/quanta/src/dcopwindowmanagerif.h
@@ -0,0 +1,46 @@
+/***************************************************************************
+ dcopwindowmanagerif.h - description
+ -------------------
+ begin : Wed Feb 5 2003
+ copyright : (C) 2003 by Andras Mantia <amantia@kde.org>
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; version 2 of the License. *
+ * *
+ ***************************************************************************/
+
+#ifndef DCOPWINDOWMANAGERIF_H
+#define DCOPWINDOWMANAGERIF_H
+
+#include <dcopobject.h>
+#include <qstringlist.h>
+
+class DCOPWindowManagerIf : virtual public DCOPObject
+{
+ K_DCOP
+
+ k_dcop:
+
+ virtual int currentEditorIfNum() const = 0;
+ virtual QString currentURL() const = 0;
+ virtual QString projectURL() const = 0;
+ virtual QStringList openedURLs() const = 0;
+ virtual QStringList tagAreas(const QString& tag, bool includeCoordinates, bool skipFoundContent) const = 0;
+ virtual void newCursorPosition(const QString &file, int lineNumber, int columnNumber) = 0;
+ virtual void newDebuggerPosition(const QString &file, int lineNumber) = 0;
+ virtual void openFile(const QString &file, int lineNumber, int columnNumber) = 0;
+ virtual QString saveCurrentFile() = 0;
+ virtual void setDtep(const QString& dtepName, bool convert) = 0;
+ virtual QString documentFolderForURL(const QString &url) = 0;
+ virtual QString urlWithPreviewPrefix(const QString &url) = 0;
+ virtual void addFileToProject(const QString &url) = 0;
+ virtual void addFolderToProject(const QString &url) = 0;
+ virtual void uploadURL(const QString &url, const QString& profile, bool markOnly) = 0;
+};
+
+#endif
+