Add internal candidate helper APIs 09/220509/2
authorhyunho <hhstark.kang@samsung.com>
Thu, 19 Dec 2019 04:44:10 +0000 (13:44 +0900)
committerhyunho <hhstark.kang@samsung.com>
Mon, 30 Dec 2019 07:21:06 +0000 (16:21 +0900)
commit163c69038f343fb31dd3b45ae8ea8dc86cbf54c3
treee1abb0d58b7817d50cb76f558d2d42f71aa6fb04
parent679713af972f027b47f9e7360f088718bd667ee2
Add internal candidate helper APIs

int watchface_editable_candidate_create(bundle **candidate, const char *name);
int watchface_editable_candidate_get_name(bundle* candidate, char** name);
int watchface_editable_candidate_set_color(bundle *candidate, watchface_editable_color_h color);
int watchface_editable_candidate_get_color(bundle *candidate, watchface_editable_color_h *color);
int watchface_editable_candidate_color_create(watchface_editable_color_h *color, int r, int g, int b, int a);
int watchface_editable_candidate_color_get(watchface_editable_color_h color, int *r, int *g, int *b, int *a);
int watchface_editable_candidate_color_destroy(watchface_editable_color_h color);
int watchface_editable_candidate_set_preview_image(bundle *candidate, const char *path);
int watchface_editable_candidate_get_preview_image(bundle *candidate, char **path);

Change-Id: If646190039135ac6b5962877ade974deb58e46c4
Signed-off-by: hyunho <hhstark.kang@samsung.com>
unittest/src/test-watchface-editable.cc
watchface-complication/include/watchface-editable-internal.h
watchface-complication/watchface-editable.cc