Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
user_level.h
Go to the documentation of this file.
1#ifndef USER_LEVEL_H
2#define USER_LEVEL_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/serverinfo_user.pb.h>
11
12Q_DECLARE_FLAGS(UserLevelFlags, ServerInfo_User::UserLevelFlag)
13Q_DECLARE_OPERATORS_FOR_FLAGS(UserLevelFlags)
14
15#endif