summaryrefslogtreecommitdiffstats
path: root/src/krecipesiface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/krecipesiface.h')
-rw-r--r--src/krecipesiface.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/krecipesiface.h b/src/krecipesiface.h
new file mode 100644
index 0000000..fe9173f
--- /dev/null
+++ b/src/krecipesiface.h
@@ -0,0 +1,31 @@
+/***************************************************************************
+* Copyright (C) 2003 by *
+* Unai Garro (ugarro@users.sourceforge.net) *
+* *
+* 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 _KRECIPESIFACE_H_
+#define _KRECIPESIFACE_H_
+
+#include <dcopobject.h>
+#include <dcopref.h>
+
+#include <tqvaluelist.h>
+
+class KrecipesIface : virtual public DCOPObject
+{
+ K_DCOP
+public:
+
+k_dcop:
+ virtual DCOPRef currentDatabase() const = 0;
+ virtual void reload() = 0;
+
+ virtual void exportRecipes( const TQValueList<int> &ids ) = 0;
+};
+
+#endif // _KRECIPESIFACE_H_