mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-17 16:02:14 -07:00
Convert structure to open-std Document P1204R0: Canonical Project Structure
Took 2 hours 50 minutes
This commit is contained in:
parent
3e0cf97dff
commit
3fb9689bbb
585 changed files with 1548 additions and 1584 deletions
16
libcockatrice_server/libcockatrice/server/user_level.h
Normal file
16
libcockatrice_server/libcockatrice/server/user_level.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue