qnetdice
view src/main.h @ 2:ad12da657c00
removed the unused dice dialog
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 22 Dec 2013 04:09:23 +0200 |
parents | |
children |
line source
1 #ifndef MAIN_H_
2 #define MAIN_H_
4 #include <vector>
5 #include <QtNetwork/QTcpServer>
6 #include <QtNetwork/QTcpSocket>
7 #include "roll.h"
9 extern std::vector<Roll*> dice;
11 extern QTcpServer *server;
12 extern QTcpSocket *sock;
14 void start_server(int port, const char *passwd);
15 void start_client(const char *host, int port, const char *passwd);
17 #endif // MAIN_H_