move the structure of mmi_struct_s to header of mmi-core 90/281590/1
authordyamy-lee <dyamy.lee@samsung.com>
Mon, 5 Sep 2022 04:24:20 +0000 (13:24 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Tue, 20 Sep 2022 04:45:01 +0000 (13:45 +0900)
this structure doesn't need exposure for app developer.
so, it moved location for exposure only the definition of related API

Change-Id: Id5453d6e64e20f379190399dbc99920822d8edb8

src/mmi-common.h
src/mmi-core.c
src/mmi-core.h

index 9c75979..b6a8bec 100644 (file)
@@ -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__
index 1b53919..35b8e3a 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "mmi-ipc.h"
 #include "mmi-dbg.h"
+#include "mmi-core.h"
 
 static mmi_handle mmi_h = NULL;
 
index b41f359..2d86325 100644 (file)
 
 #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