evas: prevent people from including header directly.
authorCedric Bail <cedric.bail@samsung.com>
Thu, 27 Jun 2013 06:27:30 +0000 (15:27 +0900)
committerCedric Bail <cedric.bail@samsung.com>
Fri, 28 Jun 2013 01:18:39 +0000 (10:18 +0900)
src/lib/evas/Evas_Common.h
src/lib/evas/Evas_Eo.h
src/lib/evas/Evas_Legacy.h

index ba3fc82..35a6735 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _EVAS_H
+# error You shall not include this header directly
+#endif
 
 #define EVAS_VERSION_MAJOR 1
 #define EVAS_VERSION_MINOR 8
index 9a2fa92..4a6c08d 100644 (file)
@@ -1,4 +1,6 @@
-#include <Eo.h>
+#ifndef _EVAS_H
+# error You shall not include this header directly
+#endif
 
 EAPI extern const Eo_Event_Description _EVAS_OBJECT_EVENT_MOUSE_IN;
 EAPI extern const Eo_Event_Description _EVAS_OBJECT_EVENT_MOUSE_OUT;
index f359b02..c86cc77 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _EVAS_H
+# error You shall not include this header directly
+#endif
 
 /**
  * @ingroup Evas_Canvas