mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Fix pbs and some other stuff.
Took 1 hour 5 minutes
This commit is contained in:
parent
01378b8314
commit
408b732854
84 changed files with 181 additions and 172 deletions
15
libs/server/include/server/debug_pb_message.h
Normal file
15
libs/server/include/server/debug_pb_message.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef DEBUG_PB_MESSAGE_H
|
||||
#define DEBUG_PB_MESSAGE_H
|
||||
|
||||
class QString;
|
||||
namespace google
|
||||
{
|
||||
namespace protobuf
|
||||
{
|
||||
class Message;
|
||||
}
|
||||
} // namespace google
|
||||
|
||||
QString getSafeDebugString(const ::google::protobuf::Message &message);
|
||||
|
||||
#endif // DEBUG_PB_MESSAGE_H
|
||||
14
libs/server/include/server/get_pb_extension.h
Normal file
14
libs/server/include/server/get_pb_extension.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#ifndef GET_PB_EXTENSION_H
|
||||
#define GET_PB_EXTENSION_H
|
||||
|
||||
namespace google
|
||||
{
|
||||
namespace protobuf
|
||||
{
|
||||
class Message;
|
||||
}
|
||||
} // namespace google
|
||||
|
||||
int getPbExtension(const ::google::protobuf::Message &message);
|
||||
|
||||
#endif
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
#ifndef SERVER_ROOM_H
|
||||
#define SERVER_ROOM_H
|
||||
|
||||
#include "../serverinfo_user_container.h"
|
||||
#include "pb/response.pb.h"
|
||||
#include "pb/serverinfo_chat_message.pb.h"
|
||||
#include "serverinfo_user_container.h"
|
||||
|
||||
#include <QList>
|
||||
#include <QMap>
|
||||
Loading…
Add table
Add a link
Reference in a new issue