forked from enlightenment/enlightenment
parent
26a7c77137
commit
411dd5f8bc
|
@ -19,7 +19,8 @@ INCLUDES = -I. \
|
||||||
pkgdir = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
|
pkgdir = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
|
||||||
pkg_LTLIBRARIES = module.la
|
pkg_LTLIBRARIES = module.la
|
||||||
module_la_SOURCES = e_mod_main.c \
|
module_la_SOURCES = e_mod_main.c \
|
||||||
e_mod_main.h
|
e_mod_main.h \
|
||||||
|
e_busycover.h
|
||||||
|
|
||||||
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
||||||
module_la_LDFLAGS = -module -avoid-version
|
module_la_LDFLAGS = -module -avoid-version
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
#ifndef E_BUSYCOVER_H
|
||||||
|
#define E_BUSYCOVER_H
|
||||||
|
|
||||||
|
#define E_BUSYCOVER_TYPE 0xE1b0782
|
||||||
|
|
||||||
|
typedef struct _E_Busycover E_Busycover;
|
||||||
|
typedef struct _E_Busycover_Handle E_Busycover_Handle;
|
||||||
|
|
||||||
|
struct _E_Busycover
|
||||||
|
{
|
||||||
|
E_Object e_obj_inherit;
|
||||||
|
E_Zone *zone;
|
||||||
|
Evas_Object *o_base;
|
||||||
|
Eina_List *handlers, *handles;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct _E_Busycover_Handle
|
||||||
|
{
|
||||||
|
E_Busycover *busycover;
|
||||||
|
const char *msg, *icon;
|
||||||
|
};
|
||||||
|
|
||||||
|
EAPI int e_busycover_init(void);
|
||||||
|
EAPI int e_busycover_shutdown(void);
|
||||||
|
EAPI E_Busycover *e_busycover_new(E_Zone *zone, const char *themedir);
|
||||||
|
EAPI E_Busycover_Handle *e_busycover_push(E_Busycover *esw, const char *msg, const char *icon);
|
||||||
|
EAPI void e_busycover_pop(E_Busycover *esw, E_Busycover_Handle *handle);
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue