summaryrefslogtreecommitdiffstats
path: root/quanta/src/dcopwindowmanagerif.h
blob: d0f8a908cc48bb548d2b11e5895bd4eb8d8bd94d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/***************************************************************************
                    dcopwindowmanagerif.h  -  description
                             -------------------
    begin                : Wed Feb 5 2003
    copyright            : (C) 2003 by Andras Mantia <[email protected]>
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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