Add NetTiles, a new Tiles interface with online play support (v24)
[crawl/crawl-nettiles.git] / crawl-ref / source / nettiles / nettiles.h
blob01ee571583379584db548e525d2120684298210a
1 /*
2 * Copyright (C) 2010 Luca Barbieri
3 * Released under the terms of the Crawl General Public License.
4 */
6 #ifndef NETTILES_H_
7 #define NETTILES_H_
9 #include "connection.h"
10 #include "signal.h"
12 struct NetTiles
14 static NetTiles* create();
16 signal<void(const std::string&, const std::string&)> login_signal;
18 virtual void run(Connection* conn, int activity_mode) = 0; /* conn will be destroyed by this function */
21 #endif /* NETTILES_H_ */