headers: remove includes if they are not needed

Put them in the code that needs them unless they are part of the API
This commit is contained in:
Andy Williams 2015-05-16 10:05:54 +01:00
parent bf17d7c8af
commit 6e461200c6
5 changed files with 20 additions and 14 deletions

View File

@ -2,9 +2,6 @@
# define EDI_H_
#include <Eina.h>
#include <Eio.h>
#include <Ecore.h>
#include <Ecore_File.h>
#ifdef EAPI
# undef EAPI

View File

@ -6,6 +6,8 @@
#include <sys/stat.h>
#include <unistd.h>
#include <Ecore_File.h>
#include "Edi.h"
#include "edi_private.h"

View File

@ -2,6 +2,9 @@
# include "config.h"
#endif
#include <unistd.h>
#include <Ecore.h>
#include "Edi.h"
#include "edi_private.h"

View File

@ -2,10 +2,25 @@
# include "config.h"
#endif
#include <Eio.h>
#include <Ecore.h>
#include <Ecore_File.h>
#include "Edi.h"
#include "edi_private.h"
typedef struct _Edi_Create
{
char *path, *temp, *name;
char *url, *user, *email;
Edi_Create_Cb callback;
Ecore_Event_Handler *handler;
int filters;
} Edi_Create;
static Edi_Create *_edi_create_data;
static const char *

View File

@ -12,17 +12,6 @@ extern "C" {
typedef void (*Edi_Create_Cb)(const char *path, Eina_Bool success);
typedef struct _Edi_Create
{
char *path, *temp, *name;
char *url, *user, *email;
Edi_Create_Cb callback;
Ecore_Event_Handler *handler;
int filters;
} Edi_Create;
/**
* @brief Main builder management
* @defgroup Creation