aboutsummaryrefslogtreecommitdiffstats
path: root/ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin-irc.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-05 21:59:26 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-06 16:59:52 +0800
commit006b27d7f0c5dd6efeee83e2c7bb21a60a7a138e (patch)
tree4054c13dc6918a992fa324355ea5d33c11c20f9a /ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin-irc.c
parenta49a0e8b08ff8ad164304f0600b90178b0ff44c6 (diff)
downloadgsoc2013-empathy-006b27d7f0c5dd6efeee83e2c7bb21a60a7a138e.tar
gsoc2013-empathy-006b27d7f0c5dd6efeee83e2c7bb21a60a7a138e.tar.gz
gsoc2013-empathy-006b27d7f0c5dd6efeee83e2c7bb21a60a7a138e.tar.bz2
gsoc2013-empathy-006b27d7f0c5dd6efeee83e2c7bb21a60a7a138e.tar.lz
gsoc2013-empathy-006b27d7f0c5dd6efeee83e2c7bb21a60a7a138e.tar.xz
gsoc2013-empathy-006b27d7f0c5dd6efeee83e2c7bb21a60a7a138e.tar.zst
gsoc2013-empathy-006b27d7f0c5dd6efeee83e2c7bb21a60a7a138e.zip
Generate one GType per UOA protocol plugin
Each plugin now has its own GType inheriting from EmpathyAccountsPlugin which is cleaner. https://bugzilla.gnome.org/show_bug.cgi?id=683415
Diffstat (limited to 'ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin-irc.c')
-rw-r--r--ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin-irc.c46
1 files changed, 46 insertions, 0 deletions
diff --git a/ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin-irc.c b/ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin-irc.c
new file mode 100644
index 000000000..53c243236
--- /dev/null
+++ b/ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin-irc.c
@@ -0,0 +1,46 @@
+/* # Generated using empathy/ubuntu-online-accounts/cc-plugins/generate-plugins.py
+ * Do NOT edit manually */
+
+/*
+ * empathy-accounts-plugin-irc.c
+ *
+ * Copyright (C) 2012 Collabora Ltd. <http://www.collabora.co.uk/>
+ *
+ * This library 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.1 of the License, or (at your option) any later version.
+ *
+ * This library 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 this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include "config.h"
+
+#include "empathy-accounts-plugin-irc.h"
+
+G_DEFINE_TYPE (EmpathyAccountsPluginIrc, empathy_accounts_plugin_irc,\
+ EMPATHY_TYPE_ACCOUNTS_PLUGIN)
+
+static void
+empathy_accounts_plugin_irc_class_init (
+ EmpathyAccountsPluginIrcClass *klass)
+{
+}
+
+static void
+empathy_accounts_plugin_irc_init (EmpathyAccountsPluginIrc *self)
+{
+}
+
+GType
+ap_module_get_object_type (void)
+{
+ return EMPATHY_TYPE_ACCOUNTS_PLUGIN_IRC;
+} \ No newline at end of file