2 # Copyright (c) 2008 INdT - Instituto Nokia de Tecnologia
4 # This file is part of python-purple.
6 # python-purple is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
11 # python-purple is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23 ctypedef char const_char "const char"
27 cdef void notify_added (account.PurpleAccount *account,
28 const_char *remote_user, const_char *id,
29 const_char *alias, const_char *message):
30 debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "account",
33 (<object>account_cbs["notify-added"])("notify-added: TODO")
37 cdef void status_changed (account.PurpleAccount *account,
38 status.PurpleStatus *status):
39 debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "account",
42 (<object>account_cbs["status-changed"])("status-changed: TODO")
46 cdef void request_add (account.PurpleAccount *account,
47 const_char *remote_user, const_char *id,
48 const_char *alias, const_char *message):
49 debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "account",
52 (<object>account_cbs["request-add"])("request-add: TODO")
56 cdef void *request_authorize (account.PurpleAccount *account,
57 const_char *remote_user, const_char *id,
58 const_char *alias, const_char *message,
59 glib.gboolean on_list,
60 account.PurpleAccountRequestAuthorizationCb authorize_cb,
61 account.PurpleAccountRequestAuthorizationCb deny_cb,
63 debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "account",
64 "request-authorize\n")
66 (<object>account_cbs["request-authorize"])("request-authorize: TODO")
71 cdef void close_account_request (void *ui_handle):
72 debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "account",
73 "close-account-request\n")
75 (<object>account_cbs["close-account-request"])("close-account-request: TODO")