aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/modules/Makefile.am4
-rw-r--r--src/modules/Makefile_contact.am17
-rw-r--r--src/modules/contact/e-module-contact.edjbin0 -> 9866 bytes
-rw-r--r--src/modules/contact/e_mod_main.c21
-rw-r--r--src/modules/contact/e_mod_main.h6
-rw-r--r--src/modules/contact/module.desktop.in6
7 files changed, 56 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 958e08dcf..602e13369 100644
--- a/configure.ac
+++ b/configure.ac
@@ -877,6 +877,7 @@ AC_E_OPTIONAL_MODULE([xkbswitch], true)
AC_E_OPTIONAL_MODULE([tiling], true)
AC_E_OPTIONAL_MODULE([access], true)
AC_E_OPTIONAL_MODULE([music_control], true, [CHECK_MODULE_MUSIC_CONTROL])
+AC_E_OPTIONAL_MODULE([contact], true)
SUSPEND=""
HIBERNATE=""
@@ -985,6 +986,7 @@ src/modules/xkbswitch/module.desktop
src/modules/tiling/module.desktop
src/modules/access/module.desktop
src/modules/music-control/module.desktop
+src/modules/contact/module.desktop
data/Makefile
data/images/Makefile
data/flags/Makefile
diff --git a/src/modules/Makefile.am b/src/modules/Makefile.am
index b61bb5a12..e2ef88a1b 100644
--- a/src/modules/Makefile.am
+++ b/src/modules/Makefile.am
@@ -234,6 +234,10 @@ if USE_MODULE_MUSIC_CONTROL
include Makefile_music_control.am
endif
+if USE_MODULE_CONTACT
+include Makefile_contact.am
+endif
+
#if HAVE_WAYLAND_DRM
#include Makefile_wl_drm.am
#endif
diff --git a/src/modules/Makefile_contact.am b/src/modules/Makefile_contact.am
new file mode 100644
index 000000000..e02243973
--- /dev/null
+++ b/src/modules/Makefile_contact.am
@@ -0,0 +1,17 @@
+contactdir = $(MDIR)/contact
+contact_DATA = contact/e-module-contact.edj \
+ contact/module.desktop
+
+EXTRA_DIST += contact/e-module-contact.edj \
+ contact/module.desktop.in
+
+contactpkgdir = $(MDIR)/contact/$(MODULE_ARCH)
+contactpkg_LTLIBRARIES = contact/module.la
+
+contact_module_la_SOURCES = contact/e_mod_main.c \
+ contact/e_mod_main.h
+
+# TODO: incomplete
+.PHONY: contact install-contact
+contact: $(contactpkg_LTLIBRARIES) $(contact_DATA)
+install-contact: install-contactDATA install-contactpkgLTLIBRARIES
diff --git a/src/modules/contact/e-module-contact.edj b/src/modules/contact/e-module-contact.edj
new file mode 100644
index 000000000..43d815081
--- /dev/null
+++ b/src/modules/contact/e-module-contact.edj
Binary files differ
diff --git a/src/modules/contact/e_mod_main.c b/src/modules/contact/e_mod_main.c
new file mode 100644
index 000000000..342597718
--- /dev/null
+++ b/src/modules/contact/e_mod_main.c
@@ -0,0 +1,21 @@
+#include "e_mod_main.h"
+
+EAPI E_Module_Api e_modapi = { E_MODULE_API_VERSION, "Contact" };
+
+EAPI void *
+e_modapi_init(E_Module *m __UNUSED__)
+{
+ return m;
+}
+
+EAPI int
+e_modapi_shutdown(E_Module *m __UNUSED__)
+{
+ return 1;
+}
+
+EAPI int
+e_modapi_save(E_Module *m __UNUSED__)
+{
+ return 1;
+}
diff --git a/src/modules/contact/e_mod_main.h b/src/modules/contact/e_mod_main.h
new file mode 100644
index 000000000..945f46ff8
--- /dev/null
+++ b/src/modules/contact/e_mod_main.h
@@ -0,0 +1,6 @@
+#ifndef E_MOD_MAIN_H
+# define E_MOD_MAIN_H
+
+# include "e.h"
+
+#endif
diff --git a/src/modules/contact/module.desktop.in b/src/modules/contact/module.desktop.in
new file mode 100644
index 000000000..3143264eb
--- /dev/null
+++ b/src/modules/contact/module.desktop.in
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Type=Link
+Name=Contact
+Icon=e-module-contact
+X-Enlightenment-ModuleType=mobile
+Comment=