Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / ozone / wayland / shell / shell.h
index 41ff3ac..72760ec 100644 (file)
@@ -11,6 +11,7 @@
 #include "ozone/wayland/window.h"
 
 struct xdg_shell;
+struct ivi_application;
 namespace ozonewayland {
 
 class WaylandShellSurface;
@@ -32,15 +33,15 @@ class WaylandShell {
 
   wl_shell* GetWLShell() const { return shell_; }
   xdg_shell* GetXDGShell() const { return xdg_shell_; }
+  ivi_application* GetIVIShell() const { return ivi_application_; }
 
  private:
-#if defined(ENABLE_XDG_SHELL)
   static void XDGHandlePing(void* data,
                             struct xdg_shell* xdg_shell,
                             uint32_t serial);
-#endif
   wl_shell* shell_;
   xdg_shell* xdg_shell_;
+  ivi_application* ivi_application_;
   DISALLOW_COPY_AND_ASSIGN(WaylandShell);
 };