diff options
author | Stefan Schmidt <stefan@osg.samsung.com> | 2016-08-03 13:48:02 +0200 |
---|---|---|
committer | Stefan Schmidt <stefan@osg.samsung.com> | 2016-08-03 15:03:37 +0200 |
commit | 9f5e5ae7326cd3bdef6675cb9ca11b86e7b416d1 (patch) | |
tree | f67c606c09f3911b4e3806bc7aebd5fc1192736c /src | |
parent | fea0c92bc98bd9b2ce85d84f1163200a7b39f830 (diff) |
elm: scrollable: add guards to include eo and legacy header only when allowed
Make sure the eo and legacy headers are only included when the matching defines
are enabled.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/elementary/elm_interface_scrollable.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_interface_scrollable.h b/src/lib/elementary/elm_interface_scrollable.h index f2167267ab..402e3069ee 100644 --- a/src/lib/elementary/elm_interface_scrollable.h +++ b/src/lib/elementary/elm_interface_scrollable.h | |||
@@ -31,7 +31,12 @@ | |||
31 | * Elm_Scrollable_Smart_Interface::extern_pan_set. | 31 | * Elm_Scrollable_Smart_Interface::extern_pan_set. |
32 | */ | 32 | */ |
33 | 33 | ||
34 | #ifdef EFL_EO_API_SUPPORT | ||
34 | #include "elm_pan.eo.h" | 35 | #include "elm_pan.eo.h" |
36 | #endif | ||
37 | #ifndef EFL_NOLEGACY_API_SUPPORT | ||
38 | #include "elm_pan.eo.legacy.h" | ||
39 | #endif | ||
35 | 40 | ||
36 | /** | 41 | /** |
37 | * Elementary scroller panning base smart data. | 42 | * Elementary scroller panning base smart data. |
@@ -57,7 +62,12 @@ typedef void (*Elm_Interface_Scrollable_Resize_Cb)(Evas_Object *obj, Evas_C | |||
57 | typedef struct _Elm_Scrollable_Smart_Interface_Data | 62 | typedef struct _Elm_Scrollable_Smart_Interface_Data |
58 | Elm_Scrollable_Smart_Interface_Data; | 63 | Elm_Scrollable_Smart_Interface_Data; |
59 | 64 | ||
65 | #ifdef EFL_EO_API_SUPPORT | ||
60 | #include "elm_interface_scrollable.eo.h" | 66 | #include "elm_interface_scrollable.eo.h" |
67 | #endif | ||
68 | #ifndef EFL_NOLEGACY_API_SUPPORT | ||
69 | #include "elm_interface_scrollable.eo.legacy.h" | ||
70 | #endif | ||
61 | 71 | ||
62 | struct _Elm_Scrollable_Smart_Interface_Data | 72 | struct _Elm_Scrollable_Smart_Interface_Data |
63 | { | 73 | { |