aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gravatar/evolution-module-gravatar.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-04-26 00:30:11 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-04-26 08:17:20 +0800
commit91aee2a805d70c9f7a5f0d089139fbfc710939c1 (patch)
treebec4108805f99ca0f244a26180b0c487b9f4eaca /modules/gravatar/evolution-module-gravatar.c
parent009ac971e069ced92547800a78ab3119f733c333 (diff)
downloadgsoc2013-evolution-91aee2a805d70c9f7a5f0d089139fbfc710939c1.tar
gsoc2013-evolution-91aee2a805d70c9f7a5f0d089139fbfc710939c1.tar.gz
gsoc2013-evolution-91aee2a805d70c9f7a5f0d089139fbfc710939c1.tar.bz2
gsoc2013-evolution-91aee2a805d70c9f7a5f0d089139fbfc710939c1.tar.lz
gsoc2013-evolution-91aee2a805d70c9f7a5f0d089139fbfc710939c1.tar.xz
gsoc2013-evolution-91aee2a805d70c9f7a5f0d089139fbfc710939c1.tar.zst
gsoc2013-evolution-91aee2a805d70c9f7a5f0d089139fbfc710939c1.zip
Add a gravatar module.
This is a new EPhotoSource that obtains images from gravatar.com.
Diffstat (limited to 'modules/gravatar/evolution-module-gravatar.c')
-rw-r--r--modules/gravatar/evolution-module-gravatar.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/modules/gravatar/evolution-module-gravatar.c b/modules/gravatar/evolution-module-gravatar.c
new file mode 100644
index 0000000000..0f452babfd
--- /dev/null
+++ b/modules/gravatar/evolution-module-gravatar.c
@@ -0,0 +1,40 @@
+/*
+ * evolution-module-gravatar.c
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ *
+ */
+
+#include <gmodule.h>
+#include <glib-object.h>
+
+#include "e-gravatar-photo-source.h"
+#include "e-photo-cache-gravatar-loader.h"
+
+/* Module Entry Points */
+void e_module_load (GTypeModule *type_module);
+void e_module_unload (GTypeModule *type_module);
+
+G_MODULE_EXPORT void
+e_module_load (GTypeModule *type_module)
+{
+ e_gravatar_photo_source_type_register (type_module);
+ e_photo_cache_gravatar_loader_type_register (type_module);
+}
+
+G_MODULE_EXPORT void
+e_module_unload (GTypeModule *type_module)
+{
+}
+