From cc17bb7fbf2651c3ed51691d646be72335e1faec Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Tue, 27 Jan 2015 16:05:41 +0100 Subject: [PATCH] elocation: Hide also generated headers behind the BETA API define --- src/lib/elocation/elocation_private.h | 5 +++++ src/lib/elocation/gen/eldbus_geo_clue2_client.c | 2 ++ src/lib/elocation/gen/eldbus_geo_clue2_client.h | 6 +++++- src/lib/elocation/gen/eldbus_geo_clue2_location.c | 2 ++ src/lib/elocation/gen/eldbus_geo_clue2_location.h | 6 +++++- src/lib/elocation/gen/eldbus_geo_clue2_manager.c | 2 ++ src/lib/elocation/gen/eldbus_geo_clue2_manager.h | 6 +++++- 7 files changed, 26 insertions(+), 3 deletions(-) diff --git a/src/lib/elocation/elocation_private.h b/src/lib/elocation/elocation_private.h index e65df42a45..b0d48657a9 100644 --- a/src/lib/elocation/elocation_private.h +++ b/src/lib/elocation/elocation_private.h @@ -1,6 +1,8 @@ #ifndef _ELOCATION_PRIVATE_H #define _ELOCATION_PRIVATE_H +#ifdef EFL_BETA_API_SUPPORT + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -178,4 +180,7 @@ typedef struct _Elocation_Provider char *path; GeoclueStatus status; } Elocation_Provider; + +#endif /* BETA API */ + #endif diff --git a/src/lib/elocation/gen/eldbus_geo_clue2_client.c b/src/lib/elocation/gen/eldbus_geo_clue2_client.c index 12dcf51ce1..f341c5e24d 100644 --- a/src/lib/elocation/gen/eldbus_geo_clue2_client.c +++ b/src/lib/elocation/gen/eldbus_geo_clue2_client.c @@ -1,3 +1,5 @@ +#define EFL_BETA_API_SUPPORT + #include "eldbus_geo_clue2_client.h" static int _log_main = -1; diff --git a/src/lib/elocation/gen/eldbus_geo_clue2_client.h b/src/lib/elocation/gen/eldbus_geo_clue2_client.h index 2895e7047b..3626e6df16 100644 --- a/src/lib/elocation/gen/eldbus_geo_clue2_client.h +++ b/src/lib/elocation/gen/eldbus_geo_clue2_client.h @@ -1,6 +1,8 @@ #ifndef ELDBUS_GEO_CLUE2_CLIENT_H #define ELDBUS_GEO_CLUE2_CLIENT_H +#ifdef EFL_BETA_API_SUPPORT + #include #include #include @@ -29,4 +31,6 @@ Eldbus_Pending *geo_clue2_client_requested_accuracy_level_propget(Eldbus_Proxy * Eldbus_Pending *geo_clue2_client_requested_accuracy_level_propset(Eldbus_Proxy *proxy, Eldbus_Codegen_Property_Set_Cb cb, const void *data, const void *value); Eldbus_Pending *geo_clue2_client_active_propget(Eldbus_Proxy *proxy, Eldbus_Codegen_Property_Bool_Get_Cb cb, const void *data); -#endif \ No newline at end of file +#endif /* BETA API */ + +#endif diff --git a/src/lib/elocation/gen/eldbus_geo_clue2_location.c b/src/lib/elocation/gen/eldbus_geo_clue2_location.c index 53dbf3c3f6..a4fc6a9a8d 100644 --- a/src/lib/elocation/gen/eldbus_geo_clue2_location.c +++ b/src/lib/elocation/gen/eldbus_geo_clue2_location.c @@ -1,3 +1,5 @@ +#define EFL_BETA_API_SUPPORT + #include "eldbus_geo_clue2_location.h" static int _log_main = -1; diff --git a/src/lib/elocation/gen/eldbus_geo_clue2_location.h b/src/lib/elocation/gen/eldbus_geo_clue2_location.h index 38793a158b..91f2c75b4f 100644 --- a/src/lib/elocation/gen/eldbus_geo_clue2_location.h +++ b/src/lib/elocation/gen/eldbus_geo_clue2_location.h @@ -1,6 +1,8 @@ #ifndef ELDBUS_GEO_CLUE2_LOCATION_H #define ELDBUS_GEO_CLUE2_LOCATION_H +#ifdef EFL_BETA_API_SUPPORT + #include #include #include @@ -15,4 +17,6 @@ Eldbus_Pending *geo_clue2_location_accuracy_propget(Eldbus_Proxy *proxy, Eldbus_ Eldbus_Pending *geo_clue2_location_altitude_propget(Eldbus_Proxy *proxy, Eldbus_Codegen_Property_Double_Get_Cb cb, const void *data); Eldbus_Pending *geo_clue2_location_description_propget(Eldbus_Proxy *proxy, Eldbus_Codegen_Property_String_Get_Cb cb, const void *data); -#endif \ No newline at end of file +#endif /* BETA API */ + +#endif diff --git a/src/lib/elocation/gen/eldbus_geo_clue2_manager.c b/src/lib/elocation/gen/eldbus_geo_clue2_manager.c index ed9f60f7f0..408bb030c4 100644 --- a/src/lib/elocation/gen/eldbus_geo_clue2_manager.c +++ b/src/lib/elocation/gen/eldbus_geo_clue2_manager.c @@ -1,3 +1,5 @@ +#define EFL_BETA_API_SUPPORT + #include "eldbus_geo_clue2_manager.h" static int _log_main = -1; diff --git a/src/lib/elocation/gen/eldbus_geo_clue2_manager.h b/src/lib/elocation/gen/eldbus_geo_clue2_manager.h index b96323a462..572e1fac5c 100644 --- a/src/lib/elocation/gen/eldbus_geo_clue2_manager.h +++ b/src/lib/elocation/gen/eldbus_geo_clue2_manager.h @@ -1,6 +1,8 @@ #ifndef ELDBUS_GEO_CLUE2_MANAGER_H #define ELDBUS_GEO_CLUE2_MANAGER_H +#ifdef EFL_BETA_API_SUPPORT + #include #include #include @@ -16,4 +18,6 @@ Eldbus_Pending *geo_clue2_manager_add_agent_call(Eldbus_Proxy *proxy, Geo_Clue2_ Eldbus_Pending *geo_clue2_manager_in_use_propget(Eldbus_Proxy *proxy, Eldbus_Codegen_Property_Bool_Get_Cb cb, const void *data); Eldbus_Pending *geo_clue2_manager_available_accuracy_level_propget(Eldbus_Proxy *proxy, Eldbus_Codegen_Property_Uint32_Get_Cb cb, const void *data); -#endif \ No newline at end of file +#endif /* BETA API */ + +#endif