scoped_wl.h 495 B

12345678910111213141516171819202122
  1. // Copyright 2015 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_SCOPED_WL_H_
  5. #define COMPONENTS_EXO_WAYLAND_SCOPED_WL_H_
  6. extern "C" {
  7. struct wl_display;
  8. }
  9. namespace exo {
  10. namespace wayland {
  11. struct WlDisplayDeleter {
  12. void operator()(wl_display* display) const;
  13. };
  14. } // namespace wayland
  15. } // namespace exo
  16. #endif // COMPONENTS_EXO_WAYLAND_SCOPED_WL_H_