web_service: stop using std::future + callback style async
This commit is contained in:
parent
0a4d338ffa
commit
77c1f647cb
23 changed files with 329 additions and 457 deletions
|
@ -54,7 +54,7 @@ public:
|
|||
* @param func A function that gets executed when the async get finished, e.g. a signal
|
||||
* @return a list of rooms received from the web service
|
||||
*/
|
||||
std::future<AnnounceMultiplayerRoom::RoomList> GetRoomList(std::function<void()> func);
|
||||
AnnounceMultiplayerRoom::RoomList GetRoomList();
|
||||
|
||||
private:
|
||||
Common::Event shutdown_event;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue