summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/karambainterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/src/karambainterface.h')
-rw-r--r--superkaramba/src/karambainterface.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/superkaramba/src/karambainterface.h b/superkaramba/src/karambainterface.h
new file mode 100644
index 0000000..1202cc5
--- /dev/null
+++ b/superkaramba/src/karambainterface.h
@@ -0,0 +1,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