eo-classes: Use a single header from all c files
This commit is contained in:
parent
782edcff12
commit
bbad6e9923
|
@ -1,9 +1,17 @@
|
||||||
|
#ifndef _EO_CLASSES_H
|
||||||
|
#define _EO_CLASSES_H 1
|
||||||
|
|
||||||
#define EFL_EO_API_SUPPORT 1
|
#define EFL_EO_API_SUPPORT 1
|
||||||
|
#ifndef EFL_BETA_API_SUPPORT
|
||||||
#define EFL_BETA_API_SUPPORT 1
|
#define EFL_BETA_API_SUPPORT 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <Eina.h>
|
#include <Eina.h>
|
||||||
|
#include <Efl.h>
|
||||||
|
#include <Elementary.h>
|
||||||
|
|
||||||
#include "example_shape.eo.h"
|
#include "example_shape.eo.h"
|
||||||
#include "example_rectangle.eo.h"
|
#include "example_rectangle.eo.h"
|
||||||
#include "example_square.eo.h"
|
#include "example_square.eo.h"
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,10 +1,3 @@
|
||||||
#define EFL_EO_API_SUPPORT 1
|
|
||||||
#define EFL_BETA_API_SUPPORT 1
|
|
||||||
|
|
||||||
#include <Eina.h>
|
|
||||||
#include <Efl.h>
|
|
||||||
#include <Elementary.h>
|
|
||||||
|
|
||||||
#include "eo_classes.h"
|
#include "eo_classes.h"
|
||||||
|
|
||||||
Example_Shape *
|
Example_Shape *
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#define EFL_BETA_API_SUPPORT
|
#define EFL_BETA_API_SUPPORT
|
||||||
#include <Eo.h>
|
#include <Eo.h>
|
||||||
#include "example_rectangle.eo.h"
|
#include "example_rectangle.eo.h"
|
||||||
#include "example_shape.eo.h"
|
|
||||||
|
#include "eo_classes.h"
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,4 +2,6 @@
|
||||||
#include <Eo.h>
|
#include <Eo.h>
|
||||||
#include "example_shape.eo.h"
|
#include "example_shape.eo.h"
|
||||||
|
|
||||||
|
#include "eo_classes.h"
|
||||||
|
|
||||||
#include "example_shape.eo.c"
|
#include "example_shape.eo.c"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#define EFL_BETA_API_SUPPORT
|
#define EFL_BETA_API_SUPPORT
|
||||||
#include <Eo.h>
|
#include <Eo.h>
|
||||||
#include "example_square.eo.h"
|
#include "example_square.eo.h"
|
||||||
#include "example_rectangle.eo.h"
|
|
||||||
#include "example_shape.eo.h"
|
#include "eo_classes.h"
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue