summaryrefslogtreecommitdiff
path: root/src/info_gui.h
diff options
context:
space:
mode:
authordeva <deva>2005-05-03 09:22:12 +0000
committerdeva <deva>2005-05-03 09:22:12 +0000
commit2bef4cb3d3230915e5e673f10910ff8f520a0c19 (patch)
treecb027efa35cc46c63ece8b60116b70e6680516c3 /src/info_gui.h
parentfc6b6c4981bfeb94055a43c4b9eebc979f0370b8 (diff)
Implemented the gui part of the info object.
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;
};