summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/karambainterface.h
blob: 8f4b2aed40780d08ea48e5e906061a3f1a0496e5 (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
/***************************************************************************
 *   Copyright (C) 2004 by Petri Damsten                                   *
 *   petri.damsten@iki.fi                                                  *
 *                                                                         *
 *   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; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 ***************************************************************************/

#ifndef KARAMBAINTERFACE_H
#define KARAMBAINTERFACE_H

#include "dcopinterface.h"

class karamba;
class ThemeListWindow;

class KarambaIface: virtual public dcopIface
{
public:
  KarambaIface();
  ~KarambaIface();
  karamba* getKaramba(TQString name);
  ThemesDlg* getThemeWnd();

public slots:
  virtual void openTheme(TQString filename);
  virtual void openNamedTheme(TQString filename, TQString name, bool is_sub_theme);
  virtual void closeTheme(TQString name);
  virtual void quit();
  virtual void hideSystemTray(bool show);
  virtual void showThemeDialog();

  virtual int themeAdded(TQString appId, TQString file);
  virtual void themeClosed(TQString appId, TQString file, int instance);
  virtual void themeNotify(TQString name, TQString text);
  virtual void setIncomingData(TQString name, TQString text);
  virtual bool isMainKaramba();
};

#endif // KARAMBAINTERFACE_H