4 * Copyright (C) 2011-2013 Team XBMC
7 * This Program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
12 * This Program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with XBMC; see the file COPYING. If not, see
19 * <http://www.gnu.org/licenses/>.
22 #include <wayland-client.h>
24 #include <boost/noncopyable.hpp>
26 class IDllWaylandClient;
37 ShellSurface(IDllWaylandClient &clientLibrary,
38 struct wl_shell_surface *shellSurface);
41 struct wl_shell_surface * GetWlShellSurface();
42 void SetFullscreen(enum wl_shell_surface_fullscreen_method method,
44 struct wl_output *output);
46 static const wl_shell_surface_listener m_listener;
48 static void HandlePingCallback(void *,
49 struct wl_shell_surface *,
51 static void HandleConfigureCallback(void *,
52 struct wl_shell_surface *,
56 static void HandlePopupDoneCallback(void *,
57 struct wl_shell_surface *);
61 void HandlePing(uint32_t serial);
62 void HandleConfigure(uint32_t edges,
65 void HandlePopupDone();
67 IDllWaylandClient &m_clientLibrary;
68 struct wl_shell_surface *m_shellSurface;