Replace tbm to screen-connector for dali
[platform/core/uifw/widget-viewer-dali.git] / internal / widget_view / widget_view_impl.h
index 651e6b4..a9eaf7c 100644 (file)
@@ -28,7 +28,7 @@
 #include <dali-toolkit/public-api/controls/image-view/image-view.h>
 #include <wayland-extension/tizen-remote-surface-client-protocol.h>
 #include <tbm_surface.h>
-#include <bundle.h>
+#include <screen_connector_watcher.h>
 
 namespace Dali
 {
@@ -141,6 +141,8 @@ public: // Internal API
 
   bool OnWheelEvent( Dali::Actor actor, const Dali::WheelEvent& event );
 
+  void CloseRemoteSurface();
+
 public: //Signals
 
   /**
@@ -247,8 +249,6 @@ private:
   std::string mContentInfo;
   std::string mTitle;
 
-  bundle* mBundle;
-
   int mWidth;
   int mHeight;
   int mPid;
@@ -257,7 +257,7 @@ private:
   bool mPreviewVisible;
   bool mStateTextVisible;
   bool mPermanentDelete;
-
+  screen_connector_watcher_h mWatcherHandle;
   tizen_remote_surface* mRemoteSurface;
 
   // Signals