forked from enlightenment/edi
Remove circular include of the elm_code_file.h header
This commit is contained in:
parent
de9b02ae6e
commit
ed4560dbaa
|
@ -5,6 +5,7 @@
|
|||
#include <Eina.h>
|
||||
|
||||
typedef struct _Elm_Code Elm_Code;
|
||||
typedef struct _Elm_Code_File Elm_Code_File;
|
||||
|
||||
EAPI extern const Eo_Event_Description ELM_CODE_EVENT_LINE_SET_DONE;
|
||||
EAPI extern const Eo_Event_Description ELM_CODE_EVENT_FILE_LOAD_DONE;
|
||||
|
@ -36,8 +37,6 @@ typedef enum {
|
|||
ELM_CODE_TOKEN_TYPE_COUNT
|
||||
} Elm_Code_Token_Type;
|
||||
|
||||
#include "elm_code_file.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
@ -35,7 +35,7 @@ typedef struct _Elm_Code_Line
|
|||
|
||||
} Elm_Code_Line;
|
||||
|
||||
typedef struct _Elm_Code_File
|
||||
struct _Elm_Code_File
|
||||
{
|
||||
void *parent;
|
||||
|
||||
|
@ -43,7 +43,7 @@ typedef struct _Elm_Code_File
|
|||
Eina_File *file;
|
||||
void *map;
|
||||
|
||||
} Elm_Code_File;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief File handling functions.
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
# define ELM_CODE_WIDGET_H_
|
||||
|
||||
#include <Evas.h>
|
||||
|
||||
#include "elm_code_common.h"
|
||||
#include "elm_code_file.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
Loading…
Reference in New Issue