Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
room_message_type.h
Go to the documentation of this file.
1#ifndef ROOM_MESSAGE_TYPE_H
2#define ROOM_MESSAGE_TYPE_H
3
4#ifdef Q_OS_MACOS
5// avoid collision from Mac OS X's ConditionalMacros.h
6// https://github.com/protocolbuffers/protobuf/issues/119
7#undef TYPE_BOOL
8#endif
9#include <QFlags>
10#include <libcockatrice/protocol/pb/event_room_say.pb.h>
11
12Q_DECLARE_FLAGS(RoomMessageTypeFlags, Event_RoomSay::RoomMessageType)
13Q_DECLARE_OPERATORS_FOR_FLAGS(RoomMessageTypeFlags)
14
15#endif