summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/karambainterface.h
blob: 1202cc53e184755fc9b306869ef5fac7da24e05a (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(QString name);
  ThemesDlg* getThemeWnd();

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

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

#endif // KARAMBAINTERFACE_H