elocation: Hide also generated headers behind the BETA API define

This commit is contained in:
Stefan Schmidt 2015-01-27 16:05:41 +01:00
parent 803daba423
commit cc17bb7fbf
7 changed files with 26 additions and 3 deletions

View File

@ -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

View File

@ -1,3 +1,5 @@
#define EFL_BETA_API_SUPPORT
#include "eldbus_geo_clue2_client.h"
static int _log_main = -1;

View File

@ -1,6 +1,8 @@
#ifndef ELDBUS_GEO_CLUE2_CLIENT_H
#define ELDBUS_GEO_CLUE2_CLIENT_H
#ifdef EFL_BETA_API_SUPPORT
#include <Eina.h>
#include <Ecore.h>
#include <Eldbus.h>
@ -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
#endif /* BETA API */
#endif

View File

@ -1,3 +1,5 @@
#define EFL_BETA_API_SUPPORT
#include "eldbus_geo_clue2_location.h"
static int _log_main = -1;

View File

@ -1,6 +1,8 @@
#ifndef ELDBUS_GEO_CLUE2_LOCATION_H
#define ELDBUS_GEO_CLUE2_LOCATION_H
#ifdef EFL_BETA_API_SUPPORT
#include <Eina.h>
#include <Ecore.h>
#include <Eldbus.h>
@ -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
#endif /* BETA API */
#endif

View File

@ -1,3 +1,5 @@
#define EFL_BETA_API_SUPPORT
#include "eldbus_geo_clue2_manager.h"
static int _log_main = -1;

View File

@ -1,6 +1,8 @@
#ifndef ELDBUS_GEO_CLUE2_MANAGER_H
#define ELDBUS_GEO_CLUE2_MANAGER_H
#ifdef EFL_BETA_API_SUPPORT
#include <Eina.h>
#include <Ecore.h>
#include <Eldbus.h>
@ -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
#endif /* BETA API */
#endif