summaryrefslogtreecommitdiff
path: root/client/macrowindow.h
diff options
context:
space:
mode:
authordeva <deva>2008-06-03 14:45:48 +0000
committerdeva <deva>2008-06-03 14:45:48 +0000
commit0febf6ea9cbd1a6e04e41339fc46d2e6b07da5e7 (patch)
treeda9cee1a15609b8aa2ed556160c5660819621db2 /client/macrowindow.h
parentbb3fad646f94739a876869464a484c99795bce61 (diff)
LUA rocks
Diffstat (limited to 'client/macrowindow.h')
-rw-r--r--client/macrowindow.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/client/macrowindow.h b/client/macrowindow.h
index cad6124..7138464 100644
--- a/client/macrowindow.h
+++ b/client/macrowindow.h
@@ -27,12 +27,15 @@
#ifndef __PRACRO_MACROWINDOW_H__
#define __PRACRO_MACROWINDOW_H__
-#include "widgets/widget.h"
#include <QDomDocument>
#include <QWidget>
#include <QDomNode>
#include <QObject>
#include <QVector>
+#include <QMap>
+
+class LUA;
+class Widget;
class MacroWindow : public QObject
{
@@ -42,7 +45,14 @@ public:
~MacroWindow();
bool isClosed();
+
+ QMap< QString, QString > luaprograms;
+ LUA *lua;
+
+ QString getValue(QString name);
+ void setValue(QString name, QString value);
+
public slots:
void commit();
void reset();