From: dyamy-lee Date: Mon, 5 Sep 2022 04:24:20 +0000 (+0900) Subject: move the structure of mmi_struct_s to header of mmi-core X-Git-Tag: accepted/tizen/unified/20220927.132357~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73f36dd3e7fa8f464f27a3857baa14ccf11ac260;p=platform%2Fcore%2Fuifw%2Fmmi-framework.git move the structure of mmi_struct_s to header of mmi-core this structure doesn't need exposure for app developer. so, it moved location for exposure only the definition of related API Change-Id: Id5453d6e64e20f379190399dbc99920822d8edb8 --- diff --git a/src/mmi-common.h b/src/mmi-common.h index 9c75979..b6a8bec 100644 --- a/src/mmi-common.h +++ b/src/mmi-common.h @@ -28,8 +28,6 @@ #define MMI_API __attribute__ ((visibility("default"))) -typedef void* mmi_rpc_h; - typedef enum { MMI_RESULT_NONE, MMI_RESULT_FAIL, @@ -51,12 +49,4 @@ typedef enum { MMI_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< MMI NOT supported */ } mmi_error_e; -typedef struct { - mmi_rpc_h rpc_h; - const char *stub_appid; - int state; -} mmi_struct_s; - -typedef mmi_struct_s* mmi_handle; - #endif //__MMI_COMMON_H__ diff --git a/src/mmi-core.c b/src/mmi-core.c index 1b53919..35b8e3a 100644 --- a/src/mmi-core.c +++ b/src/mmi-core.c @@ -23,6 +23,7 @@ #include "mmi-ipc.h" #include "mmi-dbg.h" +#include "mmi-core.h" static mmi_handle mmi_h = NULL; diff --git a/src/mmi-core.h b/src/mmi-core.h index b41f359..2d86325 100644 --- a/src/mmi-core.h +++ b/src/mmi-core.h @@ -26,6 +26,16 @@ #include "mmi-common.h" +typedef void* mmi_rpc_h; + +typedef struct { + mmi_rpc_h rpc_h; + const char *stub_appid; + int state; +} mmi_struct_s; + +typedef mmi_struct_s* mmi_handle; + #ifdef __cplusplus extern "C" { #endif