Sun, 17 Sep 2006 05:35:46 +0000
[gaim-migrate @ 17291]
This is a really huge commit for basically nothing, I decided that Gaim::Gtk
should really be Gaim::GtkUI (which will line up better with any eventual
Gaim::GntUI that might exist, etc.). So that's what this is, I think I got
everything, it builds here at least.
| 14478 | 1 | #include "gtkmodule.h" |
| 2 | ||
| 3 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 4 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 5 | * about doing that. | |
| 6 | guint | |
| 7 | gaim_gtk_conversations_fill_menu(menu, convs) | |
| 8 | Gtk::Widget menu | |
| 9 | SV *convs | |
| 10 | PREINIT: | |
| 11 | GList *t_GL; | |
| 12 | int i, t_len; | |
| 13 | PPCODE: | |
| 14 | t_GL = NULL; | |
| 15 | t_len = av_len((AV *)SvRV(convs)); | |
| 16 | ||
| 17 | for (i = 0; i < t_len; i++) { | |
| 18 | STRLEN t_sl; | |
| 19 | t_GL = g_list_append(t_GL, SvPV(*av_fetch((AV *)SvRV(convs), i, 0), t_sl)); | |
| 20 | } | |
| 21 | gaim_gtk_conversations_fill_menu(menu, t_GL); | |
| 22 | */ | |
| 23 | ||
| 24 | /* This can't work at the moment since I don't have a typemap for Gtk::Widget. | |
| 25 | * I thought about using the one from libgtk2-perl but wasn't sure how to go | |
| 26 | * about doing that. | |
| 27 | GdkPixbuf | |
| 28 | gaim_gtkconv_get_tab_icon(conv, small_icon) | |
| 29 | Gaim::Conversation conv | |
| 30 | gboolean small_icon | |
| 31 | */ | |
| 32 | ||
| 33 | /* This can't work at the moment since I don't have a typemap for gboolean *. | |
| 34 | int | |
| 35 | gaim_gtkconv_get_tab_at_xy(win, x, y, to_right) | |
| 14629 | 36 | Gaim::GtkUI::Conversation::Window win |
| 14478 | 37 | int x |
| 38 | int y | |
| 39 | gboolean * to_right | |
| 40 | */ | |
| 41 | ||
| 14629 | 42 | MODULE = Gaim::GtkUI::Conversation PACKAGE = Gaim::GtkUI::Conversation PREFIX = gaim_gtkconv_ |
| 14478 | 43 | PROTOTYPES: ENABLE |
| 44 | ||
| 45 | void | |
| 46 | gaim_gtkconv_update_buddy_icon(conv) | |
| 47 | Gaim::Conversation conv | |
| 48 | ||
| 49 | void | |
| 50 | gaim_gtkconv_switch_active_conversation(conv) | |
| 51 | Gaim::Conversation conv | |
| 52 | ||
| 53 | void | |
| 54 | gaim_gtkconv_update_buttons_by_protocol(conv) | |
| 55 | Gaim::Conversation conv | |
| 56 | ||
| 57 | void | |
| 58 | gaim_gtkconv_present_conversation(conv) | |
| 59 | Gaim::Conversation conv | |
| 60 | ||
| 14629 | 61 | Gaim::GtkUI::Conversation::Window |
| 14478 | 62 | gaim_gtkconv_get_window(conv) |
| 14629 | 63 | Gaim::GtkUI::Conversation conv |
| 14478 | 64 | |
| 65 | void | |
| 66 | gaim_gtkconv_new(conv) | |
| 67 | Gaim::Conversation conv | |
| 68 | ||
| 69 | gboolean | |
| 70 | gaim_gtkconv_is_hidden(gtkconv) | |
| 14629 | 71 | Gaim::GtkUI::Conversation gtkconv |
| 14478 | 72 | |
| 14629 | 73 | MODULE = Gaim::GtkUI::Conversation PACKAGE = Gaim::GtkUI::Conversations PREFIX = gaim_gtk_conversations_ |
| 14478 | 74 | PROTOTYPES: ENABLE |
| 75 | ||
| 76 | void | |
| 77 | gaim_gtk_conversations_find_unseen_list(type, min_state, hidden_only, max_count) | |
| 78 | Gaim::ConversationType type | |
| 79 | Gaim::UnseenState min_state | |
| 80 | gboolean hidden_only | |
| 81 | guint max_count | |
| 82 | ||
| 83 | void * | |
| 84 | gaim_gtk_conversations_get_handle() |