eo-classes: Use a single header from all c files

This commit is contained in:
Andy Williams 2017-11-10 12:16:54 +00:00
parent 782edcff12
commit bbad6e9923
5 changed files with 14 additions and 10 deletions

View File

@ -1,9 +1,17 @@
#ifndef _EO_CLASSES_H
#define _EO_CLASSES_H 1
#define EFL_EO_API_SUPPORT 1
#ifndef EFL_BETA_API_SUPPORT
#define EFL_BETA_API_SUPPORT 1
#endif
#include <Eina.h>
#include <Efl.h>
#include <Elementary.h>
#include "example_shape.eo.h"
#include "example_rectangle.eo.h"
#include "example_square.eo.h"
#endif

View File

@ -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"
Example_Shape *

View File

@ -1,7 +1,8 @@
#define EFL_BETA_API_SUPPORT
#include <Eo.h>
#include "example_rectangle.eo.h"
#include "example_shape.eo.h"
#include "eo_classes.h"
typedef struct
{

View File

@ -2,4 +2,6 @@
#include <Eo.h>
#include "example_shape.eo.h"
#include "eo_classes.h"
#include "example_shape.eo.c"

View File

@ -1,8 +1,8 @@
#define EFL_BETA_API_SUPPORT
#include <Eo.h>
#include "example_square.eo.h"
#include "example_rectangle.eo.h"
#include "example_shape.eo.h"
#include "eo_classes.h"
typedef struct
{