mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 06:52:15 -07:00
16 lines
394 B
C
16 lines
394 B
C
#ifndef USER_LEVEL_H
|
|
#define USER_LEVEL_H
|
|
|
|
#ifdef Q_OS_MACOS
|
|
// avoid collision from Mac OS X's ConditionalMacros.h
|
|
// https://github.com/protocolbuffers/protobuf/issues/119
|
|
#undef TYPE_BOOL
|
|
#endif
|
|
#include <libcockatrice/protocol/pb/serverinfo_user.pb.h>
|
|
|
|
#include <QFlags>
|
|
|
|
Q_DECLARE_FLAGS(UserLevelFlags, ServerInfo_User::UserLevelFlag)
|
|
Q_DECLARE_OPERATORS_FOR_FLAGS(UserLevelFlags)
|
|
|
|
#endif
|