setting dialog
diff --git a/demo/chatdialog.h b/demo/chatdialog.h
index 7a837dc..e30c05e 100644
--- a/demo/chatdialog.h
+++ b/demo/chatdialog.h
@@ -6,6 +6,8 @@
#include "ui_chatdialog.h"
#include "chatbuf.pb.h"
#include <sync-app-socket.h>
+#include <sync-logic.h>
+#include <sync-seq-no.h>
class ChatDialog : public QDialog, private Ui::ChatDialog
{
@@ -14,13 +16,14 @@
public:
ChatDialog(QWidget *parent = 0);
void appendMessage(const SyncDemo::ChatMessage &msg);
- void processData(const std::vector<MissingDataInfo> &, SyncAppSocket *);
+ void processData(const std::vector<Sync::MissingDataInfo> &, Sync::SyncAppSocket *);
private:
void formChatMessage(const QString &text, SyncDemo::ChatMessage &msg);
private slots:
void returnPressed();
+ void buttonPressed();
private:
QString m_nick;