e_process: move the definition to internal file 37/318537/2
authorSooChan Lim <sc1.lim@samsung.com>
Sun, 19 Jan 2025 05:18:22 +0000 (14:18 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 20 Jan 2025 06:29:29 +0000 (06:29 +0000)
The process definition which does not use move to the e_process_intern.h.

Change-Id: I7af9ded280cf4101c705fc7db55ffd58cb6b47c9

src/bin/windowmgr/e_process_intern.h
src/include/e_process.h

index 688e0a6a50baa767f9ebc0ff46118f629c34dd7b..588c24c294a07da9ebd6c8fd3e485fce70d8a30d 100644 (file)
@@ -4,6 +4,8 @@
 #include "e_intern.h"
 #include "e_process.h"
 
+typedef struct _E_Process_Manager E_Process_Manager;
+
 struct _E_Process_Hook
 {
    EINA_INLIST;
@@ -20,6 +22,14 @@ struct _E_Process_Manager
    E_Client          *active_win;
 };
 
+struct _E_Process
+{
+   EINA_INLIST;
+   pid_t            pid;
+   Eina_List       *ec_list;
+   E_Process_State  state;
+};
+
 EINTERN Eina_Bool  e_process_init(void);
 EINTERN int        e_process_shutdown(void);
 
index 75bd34167df057d5fe9f3317d6b499938eff424d..dd97d139fbe592cc73b0afa52d4efef89029a9f8 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <e_types.h>
 
-typedef struct _E_Process_Manager E_Process_Manager;
 typedef struct _E_Process         E_Process;
 
 typedef struct _E_Process_Hook E_Process_Hook;
@@ -36,14 +35,6 @@ typedef enum _E_Process_Hook_Point
    E_PROCESS_HOOK_LAST
 } E_Process_Hook_Point;
 
-struct _E_Process
-{
-   EINA_INLIST;
-   pid_t            pid;
-   Eina_List       *ec_list;
-   E_Process_State  state;
-};
-
 E_API E_Process_Hook *e_process_hook_add(E_Process_Hook_Point hookpoint, E_Process_Hook_Cb func, const void *data);
 E_API void            e_process_hook_del(E_Process_Hook *ph);