aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-auto-salut-account-helper.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-19 22:40:57 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-20 00:11:11 +0800
commit452df1568e0a3e74a49c92c00840e15c788215ce (patch)
tree148946799418b52570340e6d94a5be394976379a /src/empathy-auto-salut-account-helper.h
parentc4f65286eb3b7f82d25afa63c5204a98bd85408a (diff)
downloadgsoc2013-empathy-452df1568e0a3e74a49c92c00840e15c788215ce.tar
gsoc2013-empathy-452df1568e0a3e74a49c92c00840e15c788215ce.tar.gz
gsoc2013-empathy-452df1568e0a3e74a49c92c00840e15c788215ce.tar.bz2
gsoc2013-empathy-452df1568e0a3e74a49c92c00840e15c788215ce.tar.lz
gsoc2013-empathy-452df1568e0a3e74a49c92c00840e15c788215ce.tar.xz
gsoc2013-empathy-452df1568e0a3e74a49c92c00840e15c788215ce.tar.zst
gsoc2013-empathy-452df1568e0a3e74a49c92c00840e15c788215ce.zip
move create_salut_account_if_needed and should_create_salut_account to a new file
Diffstat (limited to 'src/empathy-auto-salut-account-helper.h')
-rw-r--r--src/empathy-auto-salut-account-helper.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/empathy-auto-salut-account-helper.h b/src/empathy-auto-salut-account-helper.h
new file mode 100644
index 000000000..6e934500b
--- /dev/null
+++ b/src/empathy-auto-salut-account-helper.h
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2007-2010 Collabora Ltd.
+ *
+ * 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
+ *
+ * Authors: Xavier Claessens <xclaesse@gmail.com>
+ * Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
+ */
+
+/* Helper functions to automatically create a Salut account */
+
+#ifndef __AUTO_SALUT_ACCOUNT_HELPER_H__
+#define __AUTO_SALUT_ACCOUNT_HELPER_H__
+
+#include <telepathy-glib/account-manager.h>
+
+#include <libempathy/empathy-connection-managers.h>
+
+void create_salut_account_if_needed (EmpathyConnectionManagers *managers);
+
+gboolean should_create_salut_account (TpAccountManager *manager);
+
+#endif