forked from enlightenment/enlightenment
much cleaner. Remove mode icon from illume2 edj. Remove gadcon files from illume2 (in own gadget now). Modify illume2 e.cfg to include illume-mode-toggle gadget and reorder gadgets. SVN revision: 44671devs/princeamd/enlightenment-0.17-elive
parent
e7cb1a5f48
commit
8ff96c07d1
13 changed files with 106 additions and 119 deletions
@ -0,0 +1,29 @@ |
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
MODULE = illume-mode-toggle
|
||||
|
||||
# data files for the module
|
||||
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
||||
files_DATA = \
|
||||
e-module-$(MODULE).edj module.desktop |
||||
|
||||
EXTRA_DIST = $(files_DATA)
|
||||
|
||||
# the module .so file
|
||||
INCLUDES = -I. \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/src/modules/$(MODULE) \
|
||||
-I$(top_srcdir)/src/bin \
|
||||
-I$(top_srcdir)/src/lib \
|
||||
-I$(top_srcdir)/src/modules \
|
||||
@e_cflags@
|
||||
pkgdir = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
|
||||
pkg_LTLIBRARIES = module.la
|
||||
module_la_SOURCES = e_mod_main.c \
|
||||
e_mod_main.h
|
||||
|
||||
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
||||
module_la_LDFLAGS = -module -avoid-version
|
||||
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
||||
|
||||
uninstall: |
||||
rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)
|
Binary file not shown.
@ -0,0 +1,10 @@ |
||||
#ifndef E_MOD_MAIN_H |
||||
#define E_MOD_MAIN_H |
||||
|
||||
EAPI extern E_Module_Api e_modapi; |
||||
|
||||
EAPI void *e_modapi_init(E_Module *m); |
||||
EAPI int e_modapi_shutdown(E_Module *m); |
||||
EAPI int e_modapi_save(E_Module *m); |
||||
|
||||
#endif |
@ -0,0 +1,6 @@ |
||||
[Desktop Entry] |
||||
Type=Link |
||||
Name=Illume-Mode-Toggle |
||||
Icon=e-module-illume-mode-toggle |
||||
X-Enlightenment-ModuleType=system |
||||
Comment=<title>Illume Mode Toggle for Embedded</title> |
Binary file not shown.
@ -1,7 +0,0 @@ |
||||
#ifndef E_MOD_GADCON_H |
||||
#define E_MOD_GADCON_H |
||||
|
||||
int e_mod_gadcon_init(void); |
||||
int e_mod_gadcon_shutdown(void); |
||||
|
||||
#endif |
Loading…
Reference in new issue