forked from enlightenment/edi
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:
parent
bf17d7c8af
commit
6e461200c6
|
@ -2,9 +2,6 @@
|
||||||
# define EDI_H_
|
# define EDI_H_
|
||||||
|
|
||||||
#include <Eina.h>
|
#include <Eina.h>
|
||||||
#include <Eio.h>
|
|
||||||
#include <Ecore.h>
|
|
||||||
#include <Ecore_File.h>
|
|
||||||
|
|
||||||
#ifdef EAPI
|
#ifdef EAPI
|
||||||
# undef EAPI
|
# undef EAPI
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#include <Ecore_File.h>
|
||||||
|
|
||||||
#include "Edi.h"
|
#include "Edi.h"
|
||||||
|
|
||||||
#include "edi_private.h"
|
#include "edi_private.h"
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <Ecore.h>
|
||||||
|
|
||||||
#include "Edi.h"
|
#include "Edi.h"
|
||||||
|
|
||||||
#include "edi_private.h"
|
#include "edi_private.h"
|
||||||
|
|
|
@ -2,10 +2,25 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <Eio.h>
|
||||||
|
#include <Ecore.h>
|
||||||
|
#include <Ecore_File.h>
|
||||||
|
|
||||||
#include "Edi.h"
|
#include "Edi.h"
|
||||||
|
|
||||||
#include "edi_private.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 Edi_Create *_edi_create_data;
|
||||||
|
|
||||||
static const char *
|
static const char *
|
||||||
|
|
|
@ -12,17 +12,6 @@ extern "C" {
|
||||||
|
|
||||||
typedef void (*Edi_Create_Cb)(const char *path, Eina_Bool success);
|
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
|
* @brief Main builder management
|
||||||
* @defgroup Creation
|
* @defgroup Creation
|
||||||
|
|
Loading…
Reference in New Issue