summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/eldbus/connect-address.c5
-rw-r--r--src/examples/emotion/emotion_basic_example.c8
-rw-r--r--src/examples/emotion/emotion_border_example.c9
-rw-r--r--src/examples/emotion/emotion_generic_example.c9
-rw-r--r--src/examples/emotion/emotion_generic_subtitle_example.c8
-rw-r--r--src/examples/emotion/emotion_signals_example.c8
6 files changed, 33 insertions, 14 deletions
diff --git a/src/examples/eldbus/connect-address.c b/src/examples/eldbus/connect-address.c
index 242960ea3d..236a9b69ea 100644
--- a/src/examples/eldbus/connect-address.c
+++ b/src/examples/eldbus/connect-address.c
@@ -21,8 +21,9 @@
21 */ 21 */
22 22
23#include <stdlib.h> 23#include <stdlib.h>
24 24#ifndef _GNU_SOURCE
25#define _GNU_SOURCE 25# define _GNU_SOURCE
26#endif
26#include <signal.h> 27#include <signal.h>
27 28
28#include "Eldbus.h" 29#include "Eldbus.h"
diff --git a/src/examples/emotion/emotion_basic_example.c b/src/examples/emotion/emotion_basic_example.c
index 0badc5a34a..8f470041a7 100644
--- a/src/examples/emotion/emotion_basic_example.c
+++ b/src/examples/emotion/emotion_basic_example.c
@@ -1,8 +1,12 @@
1//Compile with: 1//Compile with:
2// gcc -o emotion_basic_example emotion_basic_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo` 2// gcc -o emotion_basic_example emotion_basic_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo`
3 3
4#define EFL_BETA_API_SUPPORT 4#ifndef EFL_EO_API_SUPPORT
5#define EFL_EO_API_SUPPORT 5# define EFL_EO_API_SUPPORT
6#endif
7#ifndef EFL_BETA_API_SUPPORT
8# define EFL_BETA_API_SUPPORT
9#endif
6#include <Eo.h> 10#include <Eo.h>
7 11
8#include <Ecore.h> 12#include <Ecore.h>
diff --git a/src/examples/emotion/emotion_border_example.c b/src/examples/emotion/emotion_border_example.c
index 12e489b046..7a24b8dae5 100644
--- a/src/examples/emotion/emotion_border_example.c
+++ b/src/examples/emotion/emotion_border_example.c
@@ -1,8 +1,11 @@
1//Compile with: 1//Compile with:
2// gcc -o emotion_border_example emotion_border_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eina eo` 2// gcc -o emotion_border_example emotion_border_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eina eo`
3 3#ifndef EFL_EO_API_SUPPORT
4#define EFL_EO_API_SUPPORT 4# define EFL_EO_API_SUPPORT
5#define EFL_BETA_API_SUPPORT 5#endif
6#ifndef EFL_BETA_API_SUPPORT
7# define EFL_BETA_API_SUPPORT
8#endif
6 9
7#include <Ecore.h> 10#include <Ecore.h>
8#include <Ecore_Evas.h> 11#include <Ecore_Evas.h>
diff --git a/src/examples/emotion/emotion_generic_example.c b/src/examples/emotion/emotion_generic_example.c
index 25e39948d5..0bd722a0cd 100644
--- a/src/examples/emotion/emotion_generic_example.c
+++ b/src/examples/emotion/emotion_generic_example.c
@@ -1,8 +1,11 @@
1//Compile with: 1//Compile with:
2// gcc -o emotion_generic_example emotion_generic_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eina eo` 2// gcc -o emotion_generic_example emotion_generic_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eina eo`
3 3#ifndef EFL_EO_API_SUPPORT
4#define EFL_EO_API_SUPPORT 4# define EFL_EO_API_SUPPORT
5#define EFL_BETA_API_SUPPORT 5#endif
6#ifndef EFL_BETA_API_SUPPORT
7# define EFL_BETA_API_SUPPORT
8#endif
6 9
7#include <Ecore.h> 10#include <Ecore.h>
8#include <Ecore_Evas.h> 11#include <Ecore_Evas.h>
diff --git a/src/examples/emotion/emotion_generic_subtitle_example.c b/src/examples/emotion/emotion_generic_subtitle_example.c
index d25fabb09f..07c8973641 100644
--- a/src/examples/emotion/emotion_generic_subtitle_example.c
+++ b/src/examples/emotion/emotion_generic_subtitle_example.c
@@ -1,8 +1,12 @@
1//Compile with: 1//Compile with:
2// gcc -o emotion_generic_subtitle_example emotion_generic_subtitle_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo` 2// gcc -o emotion_generic_subtitle_example emotion_generic_subtitle_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo`
3 3
4#define EFL_EO_API_SUPPORT 4#ifndef EFL_EO_API_SUPPORT
5#define EFL_BETA_API_SUPPORT 5# define EFL_EO_API_SUPPORT
6#endif
7#ifndef EFL_BETA_API_SUPPORT
8# define EFL_BETA_API_SUPPORT
9#endif
6 10
7#include <Ecore.h> 11#include <Ecore.h>
8#include <Ecore_Evas.h> 12#include <Ecore_Evas.h>
diff --git a/src/examples/emotion/emotion_signals_example.c b/src/examples/emotion/emotion_signals_example.c
index 5864802bef..b5dc6257c7 100644
--- a/src/examples/emotion/emotion_signals_example.c
+++ b/src/examples/emotion/emotion_signals_example.c
@@ -1,8 +1,12 @@
1//Compile with: 1//Compile with:
2// gcc -o emotion_signals_example emotion_signals_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo` 2// gcc -o emotion_signals_example emotion_signals_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo`
3 3
4#define EFL_EO_API_SUPPORT 4#ifndef EFL_EO_API_SUPPORT
5#define EFL_BETA_API_SUPPORT 5# define EFL_EO_API_SUPPORT
6#endif
7#ifndef EFL_BETA_API_SUPPORT
8# define EFL_BETA_API_SUPPORT
9#endif
6 10
7#include <Ecore.h> 11#include <Ecore.h>
8#include <Ecore_Evas.h> 12#include <Ecore_Evas.h>