summaryrefslogtreecommitdiff
path: root/src/info_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/info_gui.h')
-rw-r--r--src/info_gui.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/info_gui.h b/src/info_gui.h
index 28860b6..269f827 100644
--- a/src/info_gui.h
+++ b/src/info_gui.h
@@ -37,14 +37,22 @@
#ifndef __MIAV_INFO_GUI_H__
#define __MIAV_INFO_GUI_H__
+#define TXT_ERROR_TITLE "Der er opstået en fejl!"
+#define TXT_WARNING_TITLE "Advarsel"
+#define TXT_INFO_TITLE "Information"
+
+
#include "info.h"
+#include <qwidget.h>
+#include <qapplication.h>
+
#include <pthread.h>
#include <semaphore.h>
class InfoGui: public Info {
public:
- InfoGui();
+ InfoGui(QApplication *a, QWidget *p);
~InfoGui();
void error(char* fmt, ...);
@@ -52,6 +60,8 @@ public:
void info(char* fmt, ...);
private:
+ QApplication *qapp;
+ QWidget *parent;
pthread_mutex_t mutex;
};