summaryrefslogtreecommitdiff
path: root/screen_connector_remote_surface_evas/image_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'screen_connector_remote_surface_evas/image_internal.h')
-rw-r--r--screen_connector_remote_surface_evas/image_internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/screen_connector_remote_surface_evas/image_internal.h b/screen_connector_remote_surface_evas/image_internal.h
index 09c9b0e..ef94fa1 100644
--- a/screen_connector_remote_surface_evas/image_internal.h
+++ b/screen_connector_remote_surface_evas/image_internal.h
@@ -17,6 +17,7 @@
#ifndef SCREEN_CONNECTOR_REMOTE_SURFACE_EVAS_IMAGE_INTERNAL_H_
#define SCREEN_CONNECTOR_REMOTE_SURFACE_EVAS_IMAGE_INTERNAL_H_
+#include <memory>
#include <string>
#include "screen_connector_remote_surface_evas/evas_object.h"
@@ -45,7 +46,7 @@ class Image : public EvasObject {
int pid, void* tag);
virtual ~Image();
- virtual void Update(const WlBuffer& tbm);
+ virtual void Update(std::shared_ptr<WlBuffer> tbm);
private:
static void MouseInCB(void* data, Evas* e, Evas_Object* obj, void* eventInfo);
@@ -69,6 +70,7 @@ class Image : public EvasObject {
private:
IEventListener* listener_;
+ std::shared_ptr<WlBuffer> prev_buf_;
};
} // namespace screen_connector