Clang was not able to build project as LC_ALL was not defined.
Remove _GNU_SOURCE from headers.
Internal structures must be moved to headers to compile mockups.
Change-Id: Ife532459f128a46e804c655741a10f1bf111aa29
#include <stdbool.h>
typedef struct _FlatNaviContext FlatNaviContext;
+typedef enum { SEARCH_FORWARD = 1, SEARCH_BACKWARD = 2 } search_direction;
+typedef Eina_Bool(*StopConditionCb)(AtspiAccessible *);
/**
* @brief Allocates new FlatNaviContext.
#include <flat_navi.h>
+typedef enum {
+ HIGHLIGHT_POINT,
+ HIGHLIGHT_FIRST,
+ HIGHLIGHT_LAST,
+ HIGHLIGHT_NEXT,
+ HIGHLIGHT_PREV,
+ HIGHLIGHT_POINT_AGAIN
+} Highlight_Type;
+
typedef struct _NavigatorData NavigatorData;
/**
#include <atspi/atspi.h>
typedef struct SpiDataImpl SpiData;
+typedef struct SignalHandlingTimerDataImpl SignalHandlingTimerData;
SpiData* spi_init(void);
void spi_shutdown(SpiData *spi_data);
#ifndef SYMBOLS_H_
#define SYMBOLS_H_
-#define _GNU_SOURCE
#include <glib.h>
/**
* @brief Gets descriptive value of text symbol
*/
-extern const gchar *symbol_lookup(const gchar *text);
+const gchar *symbol_lookup(const gchar *text);
#endif /* SYMBOLS_H_ */
}
#endif
-typedef enum { SEARCH_FORWARD = 1, SEARCH_BACKWARD = 2 } search_direction;
-typedef Eina_Bool(*StopConditionCb)(AtspiAccessible *);
-
AtspiAccessible *_directional_depth_first_search(AtspiAccessible *root,
AtspiAccessible *start,
search_direction direction,
/* The Highlight_Type will be used for access object working for embedded
toolkit such as Dali does not support at-spi interface. This kind of work
will make screen-reader be slow. They have to implement the interface */
-typedef enum {
- HIGHLIGHT_POINT,
- HIGHLIGHT_FIRST,
- HIGHLIGHT_LAST,
- HIGHLIGHT_NEXT,
- HIGHLIGHT_PREV,
- HIGHLIGHT_POINT_AGAIN
-} Highlight_Type;
struct _NavigatorData {
point_t gesture_start_p;
#define SIGNAL_HANDLING_TIMEOUT 0.3
-typedef struct {
+struct SignalHandlingTimerDataImpl {
AtspiAccessible *obj;
char *text_to_read, *desc_to_read;
Eina_Bool want_discard_previous_reading;
Eina_Bool discardable;
Eina_Bool inside_cb;
SpiData *spi;
-} SignalHandlingTimerData;
+};
struct SpiDataImpl {
Eina_Bool ignore_next_caret_move;
*/
#include <appcore-efl.h>
+#include <locale.h>
#include <vconf.h>
#include <logger.h>