GUIApplicationServer.h 630 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #if !defined(Q_MOC_RUN)
  10. #include <native/utilities/ApplicationServer.h>
  11. #endif
  12. /** This Class is responsible for listening and getting new connections
  13. */
  14. class GUIApplicationServer
  15. : public ApplicationServer
  16. {
  17. Q_OBJECT
  18. public:
  19. explicit GUIApplicationServer(QObject* parent = 0);
  20. ~GUIApplicationServer() override;
  21. bool startListening(unsigned short port = 0) override;
  22. };