22 lines
436 B
C++
22 lines
436 B
C++
#ifndef YDI_SERVER_H
|
|
#define YDI_SERVER_H
|
|
|
|
#include <cassert>
|
|
#include <core/io/image.h>
|
|
#include <string/ustring.h>
|
|
#include <templates/vector.h>
|
|
#include "ydi_networking.h"
|
|
|
|
namespace ydi::server {
|
|
void open(int port);
|
|
void close();
|
|
namespace receive {
|
|
bool isRevealed(ClueID id);
|
|
Ref<Image> clueImage(ClueID id);
|
|
}
|
|
namespace send {
|
|
void announceConclusion(ClueID method, ClueID motive, ClueID murderer);
|
|
}
|
|
}
|
|
|
|
#endif // !YDI_SERVER_H
|