Start work on busycover.

SVN revision: 43747
This commit is contained in:
Christopher Michael 2009-11-17 12:36:12 +00:00
parent 26a7c77137
commit 411dd5f8bc
2 changed files with 31 additions and 1 deletions

View File

@ -19,7 +19,8 @@ INCLUDES = -I. \
pkgdir = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
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_LDFLAGS = -module -avoid-version

View File

@ -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