weston_test.h 752 B

1234567891011121314151617181920212223242526272829303132
  1. // Copyright 2021 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_EXO_WAYLAND_WESTON_TEST_H_
  5. #define COMPONENTS_EXO_WAYLAND_WESTON_TEST_H_
  6. #include <memory>
  7. #include "base/component_export.h"
  8. namespace exo {
  9. namespace wayland {
  10. class Server;
  11. class COMPONENT_EXPORT(WESTON_TEST) WestonTest {
  12. public:
  13. explicit WestonTest(Server* server);
  14. WestonTest(const WestonTest&) = delete;
  15. WestonTest& operator=(const WestonTest&) = delete;
  16. ~WestonTest();
  17. struct WestonTestState;
  18. private:
  19. std::unique_ptr<WestonTestState> data_;
  20. };
  21. } // namespace wayland
  22. } // namespace exo
  23. #endif // COMPONENTS_EXO_WAYLAND_WESTON_TEST_H_