]> git.0d.be Git - empathy.git/blobdiff - src/empathy-auto-salut-account-helper.h
move create_salut_account_if_needed and should_create_salut_account to a new file
[empathy.git] / src / empathy-auto-salut-account-helper.h
diff --git a/src/empathy-auto-salut-account-helper.h b/src/empathy-auto-salut-account-helper.h
new file mode 100644 (file)
index 0000000..6e93450
--- /dev/null
@@ -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