e_comp_cfdata: make an internal header 52/304952/1
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 15 Jan 2024 07:46:00 +0000 (16:46 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 26 Jan 2024 00:59:17 +0000 (09:59 +0900)
Move the internal resources and the function declaration
to the internal header

Change-Id: I9d03a4555521b2916a913804f16c1ddd756447a1

src/bin/e_comp.c
src/bin/e_comp_cfdata.c
src/bin/e_comp_cfdata.h
src/bin/e_comp_cfdata_intern.h [new file with mode: 0644]
src/bin/e_comp_object.c

index dea50b7..5460f9a 100644 (file)
@@ -2,6 +2,7 @@
 #include "e_bg_intern.h"
 #include "e_utils_intern.h"
 #include "e_comp_canvas_intern.h"
+#include "e_comp_cfdata_intern.h"
 
 #include <sys/xattr.h>
 #include "services/e_service_quickpanel.h"
index c296248..12a8967 100644 (file)
@@ -1,5 +1,5 @@
 #include "e.h"
-#include "e_comp_cfdata.h"
+#include "e_comp_cfdata_intern.h"
 
 EINTERN void
 e_comp_cfdata_edd_init(E_Config_DD **conf_edd, E_Config_DD **match_edd)
index 25bb225..adb6857 100644 (file)
@@ -1,11 +1,12 @@
 #ifdef E_TYPEDEFS
+
 typedef struct _E_Comp_Config E_Comp_Config;
 typedef struct _E_Comp_Match  E_Comp_Match;
+
 #else
 #ifndef E_COMP_CFDATA_H
 #define E_COMP_CFDATA_H
 
-#define E_COMP_VERSION 1
 struct _E_Comp_Config
 {
    int           version;
@@ -108,10 +109,5 @@ struct _E_Comp_Match
    char        no_shadow; // set whether shadow is disabled
 };
 
-EINTERN void           e_comp_cfdata_edd_init(E_Config_DD **conf_edd, E_Config_DD **match_edd);
-EINTERN E_Comp_Config *e_comp_cfdata_config_new(void);
-EINTERN void           e_comp_cfdata_config_free(E_Comp_Config *cfg);
-EINTERN void           e_comp_cfdata_match_free(E_Comp_Match *m);
-
 #endif
 #endif
diff --git a/src/bin/e_comp_cfdata_intern.h b/src/bin/e_comp_cfdata_intern.h
new file mode 100644 (file)
index 0000000..8b336bc
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef E_COMP_CFDATA_INTERN_H
+#define E_COMP_CFDATA_INTERN_H
+
+#define E_COMP_VERSION 1
+
+EINTERN void           e_comp_cfdata_edd_init(E_Config_DD **conf_edd, E_Config_DD **match_edd);
+EINTERN E_Comp_Config *e_comp_cfdata_config_new(void);
+EINTERN void           e_comp_cfdata_config_free(E_Comp_Config *cfg);
+EINTERN void           e_comp_cfdata_match_free(E_Comp_Match *m);
+
+#endif
index 5bac3bc..504f8fc 100644 (file)
@@ -9,6 +9,8 @@
 #include "e_comp_canvas_intern.h"
 #endif
 
+#include "e_comp_cfdata_intern.h"
+
 /* data keys:
 
    = keys that return objects =