]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-account-settings.h
Updated Polish translation
[empathy.git] / libempathy / empathy-account-settings.h
index c0f21a31ce090539e78c7471913de9d78e8b7fae..419476b3ef5b4df1c0693826b47a6ad5af2ec169 100644 (file)
@@ -24,7 +24,7 @@
 #include <glib-object.h>
 #include <gio/gio.h>
 
-#include <libempathy/empathy-account.h>
+#include <telepathy-glib/account.h>
 #include <telepathy-glib/connection-manager.h>
 
 G_BEGIN_DECLS
@@ -41,11 +41,11 @@ struct _EmpathyAccountSettings {
     gpointer priv;
 };
 
-GType empathy_account_settings_get_type(void);
+GType empathy_account_settings_get_type (void);
 
 /* TYPE MACROS */
 #define EMPATHY_TYPE_ACCOUNT_SETTINGS \
-  (empathy_account_settings_get_type())
+  (empathy_account_settings_get_type ())
 #define EMPATHY_ACCOUNT_SETTINGS(obj) \
   (G_TYPE_CHECK_INSTANCE_CAST((obj), \
     EMPATHY_TYPE_ACCOUNT_SETTINGS, EmpathyAccountSettings))
@@ -66,7 +66,7 @@ EmpathyAccountSettings * empathy_account_settings_new (
     const char *display_name);
 
 EmpathyAccountSettings * empathy_account_settings_new_for_account (
-    EmpathyAccount *account);
+    TpAccount *account);
 
 gboolean empathy_account_settings_is_ready (EmpathyAccountSettings *settings);
 
@@ -74,20 +74,26 @@ const gchar *empathy_account_settings_get_cm (EmpathyAccountSettings *settings);
 const gchar *empathy_account_settings_get_protocol (
     EmpathyAccountSettings *settings);
 
-EmpathyAccount *empathy_account_settings_get_account (
+TpAccount *empathy_account_settings_get_account (
     EmpathyAccountSettings *settings);
 
+gboolean empathy_account_settings_has_account (
+    EmpathyAccountSettings *settings, TpAccount *account);
+
 TpConnectionManagerParam *empathy_account_settings_get_tp_params (
     EmpathyAccountSettings *settings);
 
 void empathy_account_settings_unset (EmpathyAccountSettings *settings,
     const gchar *param);
 
+void empathy_account_settings_discard_changes (
+    EmpathyAccountSettings *settings);
+
 const GValue *empathy_account_settings_get (EmpathyAccountSettings *settings,
   const gchar *param);
 
 const gchar *
-empathy_settings_get_dbus_signature (EmpathyAccountSettings *setting,
+empathy_account_settings_get_dbus_signature (EmpathyAccountSettings *setting,
   const gchar *param);
 
 const GValue *
@@ -124,9 +130,20 @@ void empathy_account_settings_set_uint64 (EmpathyAccountSettings *settings,
 void empathy_account_settings_set_boolean (EmpathyAccountSettings *settings,
     const gchar *param, gboolean value);
 
-const gchar *empathy_account_settings_get_icon_name (
+gchar *empathy_account_settings_get_icon_name (
   EmpathyAccountSettings *settings);
 
+void empathy_account_settings_set_icon_name_async (
+  EmpathyAccountSettings *settings,
+  const gchar *name,
+  GAsyncReadyCallback callback,
+  gpointer user_data);
+
+gboolean empathy_account_settings_set_icon_name_finish (
+  EmpathyAccountSettings *settings,
+  GAsyncResult *result,
+  GError **error);
+
 const gchar *empathy_account_settings_get_display_name (
   EmpathyAccountSettings *settings);
 
@@ -150,6 +167,10 @@ gboolean empathy_account_settings_apply_finish (
   GAsyncResult *result,
   GError **error);
 
+gboolean empathy_account_settings_is_valid (EmpathyAccountSettings *settings);
+
+const TpConnectionManagerProtocol * empathy_account_settings_get_tp_protocol (
+    EmpathyAccountSettings *settings);
 
 G_END_DECLS