Added more properties to account and buddy.
[python-purple] / libpurple / account.pxd
index 11f00a3..d72b8de 100644 (file)
@@ -94,14 +94,40 @@ cdef extern from "libpurple/account.h":
 
     PurpleAccount *c_purple_account_new "purple_account_new" \
             (char *username, char *protocol_id)
-    void c_purple_account_set_password "purple_account_set_password" \
-            (PurpleAccount *account, char *password)
+
+    glib.gboolean c_purple_account_get_enabled "purple_account_get_enabled" \
+            (PurpleAccount *account, char *ui)
+    char *c_purple_account_get_username "purple_account_get_username" \
+            (PurpleAccount *account)
     char *c_purple_account_get_password "purple_account_get_password" \
             (PurpleAccount *account)
+    char *c_purple_account_get_alias "purple_account_get_alias" \
+            (PurpleAccount *account)
+    char *c_purple_account_get_user_info "purple_account_get_user_info" \
+            (PurpleAccount *account)
+    char *c_purple_account_get_protocol_id "purple_account_get_protocol_id" \
+            (PurpleAccount *account)
+    char *c_purple_account_get_protocol_name \
+            "purple_account_get_protocol_name" (PurpleAccount *account)
+    glib.gboolean c_purple_account_get_remember_password \
+            "purple_account_get_remember_password" (PurpleAccount *account)
+
     void c_purple_account_set_enabled "purple_account_set_enabled" \
             (PurpleAccount *account, char *ui, glib.gboolean value)
-    char *c_purple_account_get_username "purple_account_get_username" \
-            (PurpleAccount *account)
+    void c_purple_account_set_username "purple_account_set_username" \
+            (PurpleAccount *account, char *username)
+    void c_purple_account_set_password "purple_account_set_password" \
+            (PurpleAccount *account, char *password)
+    void c_purple_account_set_alias "purple_account_set_alias" \
+            (PurpleAccount *account, char *alias)
+    void c_purple_account_set_user_info "purple_account_set_user_info" \
+            (PurpleAccount *account, char *user_info)
+    void c_purple_account_set_protocol_id "purple_account_set_protocol_id" \
+            (PurpleAccount *account, char *protocol_id)
+    void c_purple_account_set_remember_password \
+            "purple_account_set_remember_password" (PurpleAccount *account, \
+                                                    glib.gboolean value)
+
     glib.GList *c_purple_accounts_get_all_active \
             "purple_accounts_get_all_active" ()
     void c_purple_accounts_set_ui_ops "purple_accounts_set_ui_ops" \
@@ -112,3 +138,17 @@ cdef extern from "libpurple/account.h":
             "purple_account_get_proxy_info" (PurpleAccount *account)
     void c_purple_account_set_proxy_info "purple_account_set_proxy_info" \
             (PurpleAccount *account, PurpleProxyInfo *info)
+    char *c_purple_account_get_string "purple_account_get_string" \
+            (PurpleAccount *account, char *name, char *default_value)
+    int c_purple_account_get_int "purple_account_get_int" \
+            (PurpleAccount *account, char *name, int default_value)
+    glib.gboolean c_purple_account_get_bool "purple_account_get_bool" \
+            (PurpleAccount *account, char *name, glib.gboolean default_value)
+    void c_purple_account_clear_settings "purple_account_clear_settings" \
+            (PurpleAccount *account)
+    void c_purple_account_set_int "purple_account_set_int" \
+            (PurpleAccount *account, char *name, int value)
+    void c_purple_account_set_string "purple_account_set_string" \
+            (PurpleAccount *account, char *name, char *value)
+    void c_purple_account_set_bool "purple_account_set_bool" \
+            (PurpleAccount *account, char *name, glib.gboolean value)