QTfrontend/chatwidget.h
changeset 2775 3445ce5e9c79
parent 2773 e94f240a8a41
child 2776 9572aae13d49
--- a/QTfrontend/chatwidget.h	Tue Feb 09 01:50:36 2010 +0000
+++ b/QTfrontend/chatwidget.h	Tue Feb 09 02:03:31 2010 +0000
@@ -24,6 +24,8 @@
 #include <QString>
 #include <QGridLayout>
 
+#include "SDLs.h"
+
 class QTextBrowser;
 class QLineEdit;
 class QListWidget;
@@ -35,8 +37,7 @@
   Q_OBJECT
 
  public:
-//  HWChatWidget(QWidget* parent=0);
-    HWChatWidget(QWidget* parent, QSettings * gameSettings, SDLInteraction * sdli);
+    HWChatWidget(QWidget* parent, QSettings * gameSettings, SDLInteraction * sdli, bool notify);
 
  public slots:
   void onChatString(const QString& str);
@@ -66,7 +67,8 @@
   QAction * acFollow;
   QSettings * gameSettings;
   SDLInteraction * sdli;
-
+  Mix_Chunk *sound;
+  bool notify;
 
  private slots:
   void returnPressed();