ENet.h 528 B

1234567891011121314151617181920212223
  1. #ifndef ENET_H
  2. #define ENET_H
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
  5. #pragma GCC diagnostic ignored "-Wpragmas"
  6. #pragma GCC diagnostic ignored "-Wextra"
  7. #pragma GCC diagnostic ignored "-Wpedantic"
  8. #include "enet/include/enet.h"
  9. #pragma GCC diagnostic pop
  10. struct ENet final {
  11. ENet() = default;
  12. ENet(const ENet&) = delete;
  13. ENet(ENet&&) = delete;
  14. ~ENet();
  15. ENet& operator=(const ENet&) = delete;
  16. ENet& operator=(ENet&&) = delete;
  17. bool init();
  18. };
  19. #endif