forked from enlightenment/efl
build: fix elm header usage
.c files in src/lib/elementary should only include elm_priv.h to ensure that all the include ordering is correct and that all necessary headers are pulled in .c files outside of src/lib/elementary should include either/both Efl_Ui.h, Elementary.h as needed Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D9978
This commit is contained in:
parent
038b546414
commit
ca86b98e40
|
@ -2,6 +2,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
#include <Efl_Ui.h>
|
||||
#include <Elementary.h>
|
||||
|
||||
void
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
#define EFL_ACCESS_ACTION_PROTECTED
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_widget.h"
|
||||
#include "elm_priv.h"
|
||||
|
||||
EOLIAN const char *
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
#define EFL_ACCESS_COMPONENT_PROTECTED
|
||||
#define EFL_ACCESS_OBJECT_PROTECTED
|
||||
|
||||
#include <Elementary.h>
|
||||
|
||||
#include "elm_priv.h"
|
||||
|
||||
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
#define EFL_ACCESS_EDITABLE_TEXT_PROTECTED
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_widget.h"
|
||||
#include "elm_priv.h"
|
||||
|
||||
#include "efl_access_editable_text.eo.c"
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
#define EFL_ACCESS_OBJECT_PROTECTED
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_widget.h"
|
||||
#include "elm_priv.h"
|
||||
|
||||
const char* Access_Name[] = {
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_widget.h"
|
||||
#include "elm_priv.h"
|
||||
|
||||
#include "efl_access_selection.eo.c"
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
#define EFL_ACCESS_TEXT_PROTECTED
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_widget.h"
|
||||
#include "elm_priv.h"
|
||||
|
||||
void
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
#define EFL_ACCESS_VALUE_PROTECTED
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_widget.h"
|
||||
#include "elm_priv.h"
|
||||
|
||||
#include "efl_access_value.eo.c"
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
#define EFL_ACCESS_ACTION_PROTECTED
|
||||
#define EFL_ACCESS_WIDGET_ACTION_PROTECTED
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_widget.h"
|
||||
#include "elm_priv.h"
|
||||
|
||||
extern Eina_Hash *_elm_key_bindings;
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
#include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_widget.h"
|
||||
#include "elm_priv.h"
|
||||
|
||||
#include "efl_access_window.eo.c"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_priv.h"
|
||||
#include "efl_ui_internal_text_interactive.h"
|
||||
|
||||
#define MY_CLASS EFL_UI_INTERNAL_TEXT_INTERACTIVE_CLASS
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#define EFL_UI_FOCUS_COMPOSITION_PROTECTED
|
||||
#define EFL_UI_WIDGET_FOCUS_MANAGER_PROTECTED
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_priv.h"
|
||||
#include "efl_ui_list_view_private.h"
|
||||
#include "efl_ui_list_view_precise_layouter.eo.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Efl.h>
|
||||
#include "elm_priv.h"
|
||||
#include <assert.h>
|
||||
|
||||
#include "efl_ui_list_view_private.h"
|
||||
|
|
|
@ -2,16 +2,13 @@
|
|||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Emotion.h>
|
||||
|
||||
#define EFL_ACCESS_OBJECT_PROTECTED
|
||||
#define EFL_ACCESS_WIDGET_ACTION_PROTECTED
|
||||
|
||||
#include <Elementary.h>
|
||||
|
||||
#include "elm_priv.h"
|
||||
#include "elm_widget_layout.h"
|
||||
#include "efl_ui_video_private.h"
|
||||
#include "elm_priv.h"
|
||||
|
||||
/* TODO: add buffering support to Emotion and display buffering
|
||||
* progress in the theme when needed */
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
#define EFL_ACCESS_OBJECT_PROTECTED
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_widget.h"
|
||||
#include "elm_priv.h"
|
||||
|
||||
extern Eina_List *_elm_win_list;
|
||||
|
|
Loading…
Reference in New Issue