1234567891011121314151617181920212223 |
- #ifndef ENET_H
- #define ENET_H
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
- #pragma GCC diagnostic ignored "-Wpragmas"
- #pragma GCC diagnostic ignored "-Wextra"
- #pragma GCC diagnostic ignored "-Wpedantic"
- #include "enet/include/enet.h"
- #pragma GCC diagnostic pop
- struct ENet final {
- ENet() = default;
- ENet(const ENet&) = delete;
- ENet(ENet&&) = delete;
- ~ENet();
- ENet& operator=(const ENet&) = delete;
- ENet& operator=(ENet&&) = delete;
- bool init();
- };
- #endif
|