From: hyunho Date: Thu, 5 Mar 2020 03:05:55 +0000 (+0900) Subject: Return result in terminate function X-Git-Tag: submit/tizen/20200305.032544~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a85816767c79c837e393a2aec71f6aeb0af4933e;p=platform%2Fcore%2Fappfw%2Fwidget-viewer.git Return result in terminate function Change-Id: If6e86fe5552d588980b2ecc710ecc644763b4b04 Signed-off-by: hyunho --- diff --git a/watch-holder/src/watch.cc b/watch-holder/src/watch.cc index 57461283..0ed3f94f 100644 --- a/watch-holder/src/watch.cc +++ b/watch-holder/src/watch.cc @@ -69,8 +69,8 @@ void Watch::Pause() { RemoteSurfaceEvas::SendVisibility(false); } -void Watch::Terminate() { - aul_terminate_pid(pid_); +int Watch::Terminate() { + return aul_terminate_pid(pid_); } void Watch::OnAuxMsg(void *data, Evas_Object *o, void *ev_info) { diff --git a/watch-holder/src/watch.hh b/watch-holder/src/watch.hh index f4adb149..6173e8d6 100644 --- a/watch-holder/src/watch.hh +++ b/watch-holder/src/watch.hh @@ -49,7 +49,7 @@ class EXPORT_API Watch : private screen_connector::RemoteSurfaceEvas, void Resume() override; void Pause() override; - void Terminate(); + int Terminate(); void Bind(Evas_Object* win); void Unbind(); void CancelTouch();