Mercurial > pidgin.yaz
annotate pidgin/plugins/perl/common/GtkConv.xs @ 18476:400f322a4da9
merge of '872f027c46dce251e1ce50a76817a0d7c609147d'
and 'fc616f53d39fe13a82b7286115a742887690e104'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 11 Jul 2007 17:45:41 +0000 |
parents | e622745f6f42 |
children |
rev | line source |
---|---|
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 #include "gtkmodule.h" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
2 |
15526
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
3 MODULE = Pidgin::Conversation PACKAGE = Pidgin::Conversation PREFIX = pidgin_conv_ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
4 PROTOTYPES: ENABLE |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
5 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
6 void |
15526
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
7 pidgin_conv_update_buddy_icon(conv) |
15838
e622745f6f42
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15650
diff
changeset
|
8 Purple::Conversation conv |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
9 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
10 void |
15526
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
11 pidgin_conv_switch_active_conversation(conv) |
15838
e622745f6f42
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15650
diff
changeset
|
12 Purple::Conversation conv |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
13 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
14 void |
15526
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
15 pidgin_conv_update_buttons_by_protocol(conv) |
15838
e622745f6f42
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15650
diff
changeset
|
16 Purple::Conversation conv |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
17 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
18 void |
15526
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
19 pidgin_conv_present_conversation(conv) |
15838
e622745f6f42
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15650
diff
changeset
|
20 Purple::Conversation conv |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 |
15526
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
22 Pidgin::Conversation::Window |
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
23 pidgin_conv_get_window(conv) |
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
24 Pidgin::Conversation conv |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
25 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
26 void |
15526
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
27 pidgin_conv_new(class, conv) |
15838
e622745f6f42
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15650
diff
changeset
|
28 Purple::Conversation conv |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
29 C_ARGS: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
30 conv |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
31 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
32 gboolean |
15526
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
33 pidgin_conv_is_hidden(gtkconv) |
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
34 Pidgin::Conversation gtkconv |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
35 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
36 void |
15526
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
37 pidgin_conv_get_gtkconv(conv) |
15838
e622745f6f42
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15650
diff
changeset
|
38 Purple::Conversation conv |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
39 PPCODE: |
15650
e9a87896557e
I like being able to compile :-)
Luke Schierer <lschiere@pidgin.im>
parents:
15526
diff
changeset
|
40 if (conv != NULL && PIDGIN_IS_PIDGIN_CONVERSATION(conv)) |
15838
e622745f6f42
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15650
diff
changeset
|
41 XPUSHs(sv_2mortal(purple_perl_bless_object( |
15526
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
42 PIDGIN_CONVERSATION(conv), |
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
43 "Pidgin::Conversation"))); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
44 |
15526
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
45 MODULE = Pidgin::Conversation PACKAGE = Pidgin::Conversations PREFIX = pidgin_conversations_ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
46 PROTOTYPES: ENABLE |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
47 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
48 void |
15526
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
49 pidgin_conversations_find_unseen_list(type, min_state, hidden_only, max_count) |
15838
e622745f6f42
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15650
diff
changeset
|
50 Purple::ConversationType type |
e622745f6f42
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15650
diff
changeset
|
51 Pidgin::UnseenState min_state |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
52 gboolean hidden_only |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
53 guint max_count |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
54 |
15838
e622745f6f42
Pidgin perl fixes for s/gaim/purple/.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15650
diff
changeset
|
55 Purple::Handle |
15526
cb0750152bf6
Partial fix for pidgin perl support. Fixing fully is going to require a decision on splitting from some of the core perl support - more than I want to deal with right now.
Daniel Atallah <daniel.atallah@gmail.com>
parents:
15374
diff
changeset
|
56 pidgin_conversations_get_handle() |