Add APIs to send/receive edit done 76/224676/14
authorhyunho <hhstark.kang@samsung.com>
Wed, 12 Feb 2020 07:54:53 +0000 (16:54 +0900)
committerHyunho Kang <hhstark.kang@samsung.com>
Wed, 19 Feb 2020 00:51:39 +0000 (00:51 +0000)
commitdb231310ee5c809ebe780b120dfdbd394240af1e
tree18f385630548f32a1b42bc1c5d7611cd4959d7f4
parent5bd2e9718569c2d49c5dde65fc1cf530275bacb2
Add APIs to send/receive edit done

int watchface_editor_edit_preview_with_result(const watchface_editable_h handle,
        int cur_data_idx, watchface_editor_edit_result_cb result_cb,
int timeout, bool auto, void *user_data);

typedef void (*watchface_editor_edit_result_cb)(const watchface_editable_h handle,
        watchface_complication_error_e result, void *user_data);

int watchface_editable_edit_done(watchface_editable_h handle);
int watchface_editable_dup(const watchface_editable_h handle,
watchface_editable_h *dup_handle);
int watchface_editable_destroy(watchface_editable_h handle);

Change-Id: I5be804d33b9f38c28dc6fb11002d794d8ba2ea65
Signed-off-by: hyunho <hhstark.kang@samsung.com>
20 files changed:
unittest/src/test-editables-container.cc
unittest/src/test-editor.cc
unittest/src/test-watchface-editable.cc
unittest/src/test-watchface-editor.cc
watchface-common/shared-handle.h [moved from watchface-complication/shared-handle.h with 86% similarity]
watchface-common/watchface-util.cc
watchface-common/watchface-util.h
watchface-complication/editable-interface.h
watchface-complication/editables-container-event-interface.h
watchface-complication/editables-container.cc
watchface-complication/editables-container.h
watchface-complication/include/watchface-editable-internal.h
watchface-complication/watchface-complication.cc
watchface-complication/watchface-editable.cc
watchface-editor/editables-editor-event-interface.h
watchface-editor/editables-editor-implementation.h
watchface-editor/editables-editor.cc
watchface-editor/editables-editor.h
watchface-editor/include/watchface-editor.h
watchface-editor/watchface-editor.cc