move evas to private - it should be removed entirely though :) c++ thingies...
SVN revision: 14205
This commit is contained in:
parent
93e100825c
commit
67ce5e1c1f
|
@ -54,6 +54,10 @@
|
||||||
|
|
||||||
#include <Ecore_Data.h>
|
#include <Ecore_Data.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef TRUE
|
#ifndef TRUE
|
||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
#endif
|
#endif
|
||||||
|
@ -66,10 +70,6 @@
|
||||||
#define PATH_MAX 4096
|
#define PATH_MAX 4096
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef MIN
|
#ifndef MIN
|
||||||
#define MIN(x, y) (((x) > (y)) ? (y) : (x))
|
#define MIN(x, y) (((x) > (y)) ? (y) : (x))
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -26,9 +26,27 @@
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <Evas.h>
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
typedef struct _Ecore_File_Monitor Ecore_File_Monitor;
|
||||||
|
typedef struct _Ecore_File_Monitor_Event Ecore_File_Monitor_Event;
|
||||||
|
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
ECORE_FILE_EVENT_NONE,
|
||||||
|
ECORE_FILE_EVENT_CREATED_FILE,
|
||||||
|
ECORE_FILE_EVENT_CREATED_DIRECTORY,
|
||||||
|
ECORE_FILE_EVENT_DELETED_FILE,
|
||||||
|
ECORE_FILE_EVENT_DELETED_DIRECTORY,
|
||||||
|
ECORE_FILE_EVENT_DELETED_SELF,
|
||||||
|
ECORE_FILE_EVENT_MODIFIED
|
||||||
|
} Ecore_File_Event;
|
||||||
|
|
||||||
|
|
||||||
EAPI int ecore_file_init (void);
|
EAPI int ecore_file_init (void);
|
||||||
EAPI int ecore_file_shutdown (void);
|
EAPI int ecore_file_shutdown (void);
|
||||||
EAPI time_t ecore_file_mod_time (const char *file);
|
EAPI time_t ecore_file_mod_time (const char *file);
|
||||||
|
@ -45,19 +63,6 @@ EAPI int ecore_file_can_exec (const char *file);
|
||||||
EAPI char *ecore_file_readlink (const char *link);
|
EAPI char *ecore_file_readlink (const char *link);
|
||||||
EAPI Ecore_List *ecore_file_ls (const char *dir);
|
EAPI Ecore_List *ecore_file_ls (const char *dir);
|
||||||
|
|
||||||
typedef struct _Ecore_File_Monitor Ecore_File_Monitor;
|
|
||||||
typedef struct _Ecore_File_Monitor_Event Ecore_File_Monitor_Event;
|
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
ECORE_FILE_EVENT_NONE,
|
|
||||||
ECORE_FILE_EVENT_CREATED_FILE,
|
|
||||||
ECORE_FILE_EVENT_CREATED_DIRECTORY,
|
|
||||||
ECORE_FILE_EVENT_DELETED_FILE,
|
|
||||||
ECORE_FILE_EVENT_DELETED_DIRECTORY,
|
|
||||||
ECORE_FILE_EVENT_DELETED_SELF,
|
|
||||||
ECORE_FILE_EVENT_MODIFIED
|
|
||||||
} Ecore_File_Event;
|
|
||||||
|
|
||||||
EAPI Ecore_File_Monitor *ecore_file_monitor_add(const char *path,
|
EAPI Ecore_File_Monitor *ecore_file_monitor_add(const char *path,
|
||||||
void (*func) (void *data,
|
void (*func) (void *data,
|
||||||
Ecore_File_Monitor *ecore_file_monitor,
|
Ecore_File_Monitor *ecore_file_monitor,
|
||||||
|
@ -67,5 +72,7 @@ EAPI Ecore_File_Monitor *ecore_file_monitor_add(const char *path,
|
||||||
EAPI void ecore_file_monitor_del(Ecore_File_Monitor *ecore_file_monitor);
|
EAPI void ecore_file_monitor_del(Ecore_File_Monitor *ecore_file_monitor);
|
||||||
EAPI const char *ecore_file_monitor_path_get(Ecore_File_Monitor *ecore_file_monitor);
|
EAPI const char *ecore_file_monitor_path_get(Ecore_File_Monitor *ecore_file_monitor);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
/* FIXME: ecore_file's internals shouldnt use evas imho */
|
||||||
|
#include <Evas.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "Ecore.h"
|
#include "Ecore.h"
|
||||||
|
|
Loading…
Reference in New Issue