summaryrefslogtreecommitdiffstats
path: root/quanta/parts/kafka/kafkaresource.h
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/parts/kafka/kafkaresource.h')
-rw-r--r--quanta/parts/kafka/kafkaresource.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/quanta/parts/kafka/kafkaresource.h b/quanta/parts/kafka/kafkaresource.h
new file mode 100644
index 00000000..e1261c14
--- /dev/null
+++ b/quanta/parts/kafka/kafkaresource.h
@@ -0,0 +1,34 @@
+/***************************************************************************
+ kafkaresource.h
+ -------------------
+
+ copyright : (C) 2003 - Nicolas Deschildre
+ email : nicolasdchd@ifrance.com
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * 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 KAFKARESOURCE_H
+#define KAFKARESOURCE_H
+
+/**
+ * A few globals variables avoiding to use the quantaApp global variables :
+ * quantaApp->view()->kafkaInterface()->getKafkaPart()...
+ * Also a (little) step torwards kafka independance from the quanta code (to be able to make it a kpart, at last!)
+ */
+
+class KafkaDocument;
+class KafkaWidget;
+
+extern KafkaWidget *kafkaWidget;
+extern KafkaDocument *kafkaDoc;
+
+#endif
+