annotate libpurple/plugins/perl/common/Request.xs @ 29217:a158ef76d340

perl: Fix the package names for some types. Closes #10973. committer: Paul Aurich <paul@darkrain42.org>
author cafoote@yahoo.com
date Thu, 31 Dec 2009 05:32:08 +0000
parents f8d3447235b1
children 5391094529c6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
1 #include "module.h"
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
2
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
3 /* This breaks on faceprint's amd64 box
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
4 void *
20605
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
5 purple_request_action_varg(handle, title, primary, secondary, default_action, user_data, action_count, actions)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
6 void * handle
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
7 const char *title
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
8 const char *primary
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
9 const char *secondary
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
10 unsigned int default_action
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
11 void *user_data
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
12 size_t action_count
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
13 va_list actions
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
14 */
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
15
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
16
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
17 typedef struct {
22679
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
18 SV *ok_fun;
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
19 SV *cancel_fun;
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
20 } PurplePerlRequestData;
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
21
22679
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
22 static void
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
23 purple_perl_request_data_free(PurplePerlRequestData *ppr)
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
24 {
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
25 if (ppr->ok_fun)
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
26 SvREFCNT_dec(ppr->ok_fun);
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
27 if (ppr->cancel_fun)
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
28 SvREFCNT_dec(ppr->cancel_fun);
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
29 g_free(ppr);
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
30 }
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
31
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
32 /********************************************************/
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
33 /* */
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
34 /* Callback function that calls a perl subroutine */
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 /* The void * field data is being used as a way to hide */
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
37 /* the perl sub's name in a PurplePerlRequestData */
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
38 /* */
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
39 /********************************************************/
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
40 static void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
41 purple_perl_request_ok_cb(void * data, PurpleRequestFields *fields)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
42 {
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
43 PurplePerlRequestData *gpr = (PurplePerlRequestData *)data;
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
44
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
45 dSP;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
46 ENTER;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
47 SAVETMPS;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
48 PUSHMARK(sp);
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
49
23717
e3f30a73a793 Remove various opaque UiOps functions from the perl loader as they aren't useable.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 22679
diff changeset
50 XPUSHs(sv_2mortal(purple_perl_bless_object(fields, "Purple::Request::Fields")));
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
51 PUTBACK;
22679
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
52 call_sv(gpr->ok_fun, G_EVAL | G_SCALAR);
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
53 SPAGAIN;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
54
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
55 PUTBACK;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
56 FREETMPS;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
57 LEAVE;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
58
22679
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
59 purple_perl_request_data_free(gpr);
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
60 }
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
61
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
62 static void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
63 purple_perl_request_cancel_cb(void * data, PurpleRequestFields *fields)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
64 {
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
65 PurplePerlRequestData *gpr = (PurplePerlRequestData *)data;
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
66
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
67 dSP;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
68 ENTER;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
69 SAVETMPS;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
70 PUSHMARK(sp);
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
71
23717
e3f30a73a793 Remove various opaque UiOps functions from the perl loader as they aren't useable.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 22679
diff changeset
72 XPUSHs(sv_2mortal(purple_perl_bless_object(fields, "Purple::Request::Fields")));
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
73 PUTBACK;
22679
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
74 call_sv(gpr->cancel_fun, G_EVAL | G_SCALAR);
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
75 SPAGAIN;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
76
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
77 PUTBACK;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
78 FREETMPS;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
79 LEAVE;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
80
22679
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
81 purple_perl_request_data_free(gpr);
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
82 }
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
83
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
84 MODULE = Purple::Request PACKAGE = Purple::Request PREFIX = purple_request_
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
85 PROTOTYPES: ENABLE
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
86
16750
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
87 BOOT:
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
88 {
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
89 HV *request_stash = gv_stashpv("Purple::RequestType", 1);
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
90 HV *request_field_stash = gv_stashpv("Purple::RequestFieldType", 1);
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
91
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
92 static const constiv *civ, request_const_iv[] = {
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
93 #define const_iv(name) {#name, (IV)PURPLE_REQUEST_##name}
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
94 const_iv(INPUT),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
95 const_iv(CHOICE),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
96 const_iv(ACTION),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
97 const_iv(FIELDS),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
98 const_iv(FILE),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
99 const_iv(FOLDER),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
100 };
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
101 static const constiv request_field_const_iv[] = {
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
102 #undef const_iv
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
103 #define const_iv(name) {#name, (IV)PURPLE_REQUEST_FIELD_##name}
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
104 const_iv(NONE),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
105 const_iv(STRING),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
106 const_iv(INTEGER),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
107 const_iv(BOOLEAN),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
108 const_iv(CHOICE),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
109 const_iv(LIST),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
110 const_iv(LABEL),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
111 const_iv(IMAGE),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
112 const_iv(ACCOUNT),
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
113 };
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
114
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
115 for (civ = request_const_iv + sizeof(request_const_iv) / sizeof(request_const_iv[0]); civ-- > request_const_iv; )
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
116 newCONSTSUB(request_stash, (char *)civ->name, newSViv(civ->iv));
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
117
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
118 for (civ = request_field_const_iv + sizeof(request_field_const_iv) / sizeof(request_field_const_iv[0]); civ-- > request_field_const_iv; )
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
119 newCONSTSUB(request_field_stash, (char *)civ->name, newSViv(civ->iv));
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
120 }
39c7bb133a9f Remove the const-c and const-xs stuff and replace it with real constants
Etan Reisner <pidgin@unreliablesource.net>
parents: 16442
diff changeset
121
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
122 void *
20605
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
123 purple_request_input(handle, title, primary, secondary, default_value, multiline, masked, hint, ok_text, ok_cb, cancel_text, cancel_cb)
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
124 Purple::Plugin handle
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
125 const char * title
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
126 const char * primary
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
127 const char * secondary
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
128 const char * default_value
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
129 gboolean multiline
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
130 gboolean masked
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
131 gchar * hint
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
132 const char * ok_text
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
133 SV * ok_cb
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
134 const char * cancel_text
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
135 SV * cancel_cb
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
136 CODE:
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
137 PurplePerlRequestData *gpr;
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
138 char *basename;
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
139
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
140 basename = g_path_get_basename(handle->path);
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
141 purple_perl_normalize_script_name(basename);
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
142 gpr = g_new(PurplePerlRequestData, 1);
22679
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
143 gpr->ok_fun = purple_perl_sv_from_fun(handle, ok_cb);
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
144 gpr->cancel_fun = purple_perl_sv_from_fun(handle, cancel_cb);
20605
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
145 g_free(basename);
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
146
21570
dccfd999ffe7 merge of '76c07fcb434a2a7aa289734bb221c171a376d73b'
Evan Schoenberg <evan.s@dreskin.net>
parents: 21246
diff changeset
147 RETVAL = purple_request_input(handle, title, primary, secondary, default_value, multiline, masked, hint, ok_text, G_CALLBACK(purple_perl_request_ok_cb), cancel_text, G_CALLBACK(purple_perl_request_cancel_cb), NULL, NULL, NULL, gpr);
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
148 OUTPUT:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
149 RETVAL
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
150
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
151 void *
20605
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
152 purple_request_file(handle, title, filename, savedialog, ok_cb, cancel_cb)
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
153 Purple::Plugin handle
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
154 const char * title
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
155 const char * filename
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
156 gboolean savedialog
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
157 SV * ok_cb
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
158 SV * cancel_cb
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
159 CODE:
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
160 PurplePerlRequestData *gpr;
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
161 char *basename;
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
162
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
163 basename = g_path_get_basename(handle->path);
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
164 purple_perl_normalize_script_name(basename);
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
165 gpr = g_new(PurplePerlRequestData, 1);
22679
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
166 gpr->ok_fun = purple_perl_sv_from_fun(handle, ok_cb);
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
167 gpr->cancel_fun = purple_perl_sv_from_fun(handle, cancel_cb);
20605
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
168 g_free(basename);
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
169
21570
dccfd999ffe7 merge of '76c07fcb434a2a7aa289734bb221c171a376d73b'
Evan Schoenberg <evan.s@dreskin.net>
parents: 21246
diff changeset
170 RETVAL = purple_request_file(handle, title, filename, savedialog, G_CALLBACK(purple_perl_request_ok_cb), G_CALLBACK(purple_perl_request_cancel_cb), NULL, NULL, NULL, gpr);
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
171 OUTPUT:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
172 RETVAL
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
173
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
174 void *
20605
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
175 purple_request_fields(handle, title, primary, secondary, fields, ok_text, ok_cb, cancel_text, cancel_cb)
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
176 Purple::Plugin handle
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
177 const char * title
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
178 const char * primary
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
179 const char * secondary
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
180 Purple::Request::Fields fields
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
181 const char * ok_text
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
182 SV * ok_cb
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
183 const char * cancel_text
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
184 SV * cancel_cb
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
185 CODE:
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
186 PurplePerlRequestData *gpr;
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
187 char *basename;
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
188
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
189 basename = g_path_get_basename(handle->path);
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
190 purple_perl_normalize_script_name(basename);
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
191 gpr = g_new(PurplePerlRequestData, 1);
22679
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
192 gpr->ok_fun = purple_perl_sv_from_fun(handle, ok_cb);
3a41eb457605 Use the same fix for Purple::Util::fetch_url (from 4b6378d5e) for
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 21570
diff changeset
193 gpr->cancel_fun = purple_perl_sv_from_fun(handle, cancel_cb);
20605
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
194 g_free(basename);
9baac8e81b3e Fixed perl bindings
Gabriel Schulhof <nix@go-nix.ca>
parents: 19953
diff changeset
195
21570
dccfd999ffe7 merge of '76c07fcb434a2a7aa289734bb221c171a376d73b'
Evan Schoenberg <evan.s@dreskin.net>
parents: 21246
diff changeset
196 RETVAL = purple_request_fields(handle, title, primary, secondary, fields, ok_text, G_CALLBACK(purple_perl_request_ok_cb), cancel_text, G_CALLBACK(purple_perl_request_cancel_cb), NULL, NULL, NULL, gpr);
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
197 OUTPUT:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
198 RETVAL
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
199
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
200 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
201 purple_request_close(type, uihandle)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
202 Purple::RequestType type
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
203 void * uihandle
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
204
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
205 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
206 purple_request_close_with_handle(handle)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
207 void * handle
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
208
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
209
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
210 MODULE = Purple::Request PACKAGE = Purple::Request::Field PREFIX = purple_request_field_
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
211 PROTOTYPES: ENABLE
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
212
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
213 Purple::Request::Field
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
214 purple_request_field_account_new(class, id, text, account = NULL)
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
215 const char *id
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
216 const char *text
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
217 Purple::Account account
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
218 C_ARGS: id, text, account
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
219
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
220 Purple::Account
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
221 purple_request_field_account_get_default_value(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
222 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
223
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
224 IV
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
225 purple_request_field_account_get_filter(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
226 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
227 CODE:
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
228 RETVAL = PTR2IV(purple_request_field_account_get_filter(field));
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
229 OUTPUT:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
230 RETVAL
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
231
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
232 gboolean
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
233 purple_request_field_account_get_show_all(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
234 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
235
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
236 Purple::Account
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
237 purple_request_field_account_get_value(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
238 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
239
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
240 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
241 purple_request_field_account_set_default_value(field, default_value)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
242 Purple::Request::Field field
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
243 Purple::Account default_value
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
244
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
245 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
246 purple_request_field_account_set_show_all(field, show_all)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
247 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
248 gboolean show_all
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
249
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
250 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
251 purple_request_field_account_set_value(field, value)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
252 Purple::Request::Field field
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
253 Purple::Account value
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
254
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
255 MODULE = Purple::Request PACKAGE = Purple::Request::Field PREFIX = purple_request_field_
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
256 PROTOTYPES: ENABLE
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
257
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
258 Purple::Request::Field
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
259 purple_request_field_bool_new(class, id, text, default_value = TRUE)
20608
3356ab9270b2 Fixing Request.xs
Gabriel Schulhof <nix@go-nix.ca>
parents: 20607
diff changeset
260 const char *id
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
261 const char *text
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
262 gboolean default_value
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
263 C_ARGS: id, text, default_value
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
264
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
265 gboolean
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
266 purple_request_field_bool_get_default_value(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
267 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
268
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
269 gboolean
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
270 purple_request_field_bool_get_value(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
271 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
272
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
273 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
274 purple_request_field_bool_set_default_value(field, default_value)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
275 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
276 gboolean default_value
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
277
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
278 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
279 purple_request_field_bool_set_value(field, value)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
280 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
281 gboolean value
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
282
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
283 MODULE = Purple::Request PACKAGE = Purple::Request::Field PREFIX = purple_request_field_
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
284 PROTOTYPES: ENABLE
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
285
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
286 Purple::Request::Field
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
287 purple_request_field_choice_new(class, id, text, default_value = 0)
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
288 const char *id
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
289 const char *text
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
290 int default_value
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
291 C_ARGS: id, text, default_value
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
292
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
293 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
294 purple_request_field_choice_add(field, label)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
295 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
296 const char *label
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
297
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
298 int
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
299 purple_request_field_choice_get_default_value(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
300 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
301
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
302 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
303 purple_request_field_choice_get_labels(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
304 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
305 PREINIT:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
306 GList *l;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
307 PPCODE:
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
308 for (l = purple_request_field_choice_get_labels(field); l != NULL; l = l->next) {
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
309 XPUSHs(sv_2mortal(newSVpv(l->data, 0)));
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
310 }
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
311
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
312 int
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
313 purple_request_field_choice_get_value(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
314 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
315
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
316 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
317 purple_request_field_choice_set_default_value(field, default_value)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
318 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
319 int default_value
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
320
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
321 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
322 purple_request_field_choice_set_value(field, value)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
323 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
324 int value
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
325
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
326 MODULE = Purple::Request PACKAGE = Purple::Request::Field PREFIX = purple_request_field_
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
327 PROTOTYPES: ENABLE
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
328
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
329 Purple::Request::Field
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
330 purple_request_field_int_new(clas, id, text, default_value = 0)
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
331 const char *id
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
332 const char *text
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
333 int default_value
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
334 C_ARGS: id, text, default_value
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
335
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
336 int
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
337 purple_request_field_int_get_default_value(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
338 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
339
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
340 int
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
341 purple_request_field_int_get_value(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
342 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
343
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
344 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
345 purple_request_field_int_set_default_value(field, default_value)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
346 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
347 int default_value
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
348
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
349 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
350 purple_request_field_int_set_value(field, value)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
351 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
352 int value
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
353
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
354 gboolean
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
355 purple_request_field_is_required(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
356 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
357
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
358 MODULE = Purple::Request PACKAGE = Purple::Request::Field PREFIX = purple_request_field_
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
359 PROTOTYPES: ENABLE
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
360
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
361 Purple::Request::Field
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
362 purple_request_field_label_new(class, id, text)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
363 const char *id
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
364 const char *text
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
365 C_ARGS: id, text
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
366
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
367 MODULE = Purple::Request PACKAGE = Purple::Request::Field PREFIX = purple_request_field_
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
368 PROTOTYPES: ENABLE
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
369
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
370 Purple::Request::Field
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
371 purple_request_field_list_new(class, id, text)
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
372 const char *id
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
373 const char *text
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
374 C_ARGS: id, text
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
375
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
376 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
377 purple_request_field_list_add(field, item, data)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
378 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
379 const char *item
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
380 void * data
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
381
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
382 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
383 purple_request_field_list_add_selected(field, item)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
384 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
385 const char *item
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
386
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
387 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
388 purple_request_field_list_clear_selected(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
389 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
390
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
391 void *
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
392 purple_request_field_list_get_data(field, text)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
393 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
394 const char *text
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
395
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
396 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
397 purple_request_field_list_get_items(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
398 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
399 PREINIT:
18118
ab6d2763b8d8 Re-fix the DBus list handling code by killing const GList* / const GSList*
Richard Laager <rlaager@wiktel.com>
parents: 16751
diff changeset
400 GList *l;
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
401 PPCODE:
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
402 for (l = purple_request_field_list_get_items(field); l != NULL; l = l->next) {
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
403 XPUSHs(sv_2mortal(newSVpv(l->data, 0)));
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
404 }
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
405
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
406 gboolean
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
407 purple_request_field_list_get_multi_select(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
408 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
409
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
410 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
411 purple_request_field_list_get_selected(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
412 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
413 PREINIT:
18118
ab6d2763b8d8 Re-fix the DBus list handling code by killing const GList* / const GSList*
Richard Laager <rlaager@wiktel.com>
parents: 16751
diff changeset
414 GList *l;
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
415 PPCODE:
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
416 for (l = purple_request_field_list_get_selected(field); l != NULL; l = l->next) {
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
417 XPUSHs(sv_2mortal(newSVpv(l->data, 0)));
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
418 }
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
419
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
420 gboolean
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
421 purple_request_field_list_is_selected(field, item)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
422 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
423 const char *item
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
424
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
425 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
426 purple_request_field_list_set_multi_select(field, multi_select)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
427 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
428 gboolean multi_select
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
429
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
430 MODULE = Purple::Request PACKAGE = Purple::Request::Field PREFIX = purple_request_field_
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
431 PROTOTYPES: ENABLE
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
432
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
433 Purple::Request::Field
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
434 purple_request_field_new(class, id, text, type)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
435 const char *id
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
436 const char *text
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
437 Purple::RequestFieldType type
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
438 C_ARGS: id, text, type
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
439
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
440 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
441 purple_request_field_set_label(field, label)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
442 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
443 const char *label
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
444
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
445 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
446 purple_request_field_set_required(field, required)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
447 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
448 gboolean required
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
449
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
450 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
451 purple_request_field_set_type_hint(field, type_hint)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
452 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
453 const char *type_hint
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
454
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
455 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
456 purple_request_field_set_visible(field, visible)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
457 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
458 gboolean visible
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
459
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
460 MODULE = Purple::Request PACKAGE = Purple::Request::Field PREFIX = purple_request_field_
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
461 PROTOTYPES: ENABLE
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
462
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
463 Purple::Request::Field
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
464 purple_request_field_string_new(class, id, text, default_value, multiline)
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
465 const char *id
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
466 const char *text
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
467 const char *default_value
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
468 gboolean multiline
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
469 C_ARGS: id, text, default_value, multiline
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
470
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
471 const char *
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
472 purple_request_field_string_get_default_value(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
473 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
474
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
475 const char *
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
476 purple_request_field_string_get_value(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
477 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
478
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
479 gboolean
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
480 purple_request_field_string_is_editable(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
481 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
482
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
483 gboolean
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
484 purple_request_field_string_is_masked(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
485 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
486
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
487 gboolean
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
488 purple_request_field_string_is_multiline(field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
489 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
490
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
491 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
492 purple_request_field_string_set_default_value(field, default_value)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
493 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
494 const char *default_value
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
495
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
496 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
497 purple_request_field_string_set_editable(field, editable)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
498 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
499 gboolean editable
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
500
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
501 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
502 purple_request_field_string_set_masked(field, masked)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
503 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
504 gboolean masked
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
505
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
506 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
507 purple_request_field_string_set_value(field, value)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
508 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
509 const char *value
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
510
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
511 MODULE = Purple::Request PACKAGE = Purple::Request::Field::Group PREFIX = purple_request_field_group_
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
512 PROTOTYPES: ENABLE
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
513
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
514 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
515 purple_request_field_group_add_field(group, field)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
516 Purple::Request::Field::Group group
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
517 Purple::Request::Field field
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
518
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
519 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
520 purple_request_field_group_destroy(group)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
521 Purple::Request::Field::Group group
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
522
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
523 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
524 purple_request_field_group_get_fields(group)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
525 Purple::Request::Field::Group group
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
526 PREINIT:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
527 GList *l;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
528 PPCODE:
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
529 for (l = purple_request_field_group_get_fields(group); l != NULL; l = l->next) {
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
530 XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::Request::Field")));
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
531 }
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
532
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
533 const char *
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
534 purple_request_field_group_get_title(group)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
535 Purple::Request::Field::Group group
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
536
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
537 Purple::Request::Field::Group
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
538 purple_request_field_group_new(class, title)
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
539 const char *title
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
540 C_ARGS: title
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
541
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
542 MODULE = Purple::Request PACKAGE = Purple::Request::Field PREFIX = purple_request_field_
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
543 PROTOTYPES: ENABLE
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
544
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
545 void
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
546 purple_request_field_destroy(field)
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
547 Purple::Request::Field field
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
548
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
549 const char *
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
550 purple_request_field_get_id(field)
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
551 Purple::Request::Field field
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
552
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
553 const char *
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
554 purple_request_field_get_label(field)
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
555 Purple::Request::Field field
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
556
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
557 Purple::RequestFieldType
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
558 purple_request_field_get_type(field)
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
559 Purple::Request::Field field
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
560
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
561 const char *
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
562 purple_request_field_get_type_hint(field)
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
563 Purple::Request::Field field
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
564
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
565 gboolean
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
566 purple_request_field_is_visible(field)
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
567 Purple::Request::Field field
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
568
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
569 MODULE = Purple::Request PACKAGE = Purple::Request::Fields PREFIX = purple_request_fields_
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
570 PROTOTYPES: ENABLE
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
571
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
572 Purple::Request::Fields
25394
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
573 purple_request_fields_new(class)
f8d3447235b1 Made the Purple::Request::Field(s) functions act more perl-like.
Etan Reisner <pidgin@unreliablesource.net>
parents: 23717
diff changeset
574 C_ARGS: /* void */
16751
8e54f40a60f3 Clean up a bunch of the perl api stuff. Eventually I'll dump the entire list
Etan Reisner <pidgin@unreliablesource.net>
parents: 16750
diff changeset
575
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
576 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
577 purple_request_fields_add_group(fields, group)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
578 Purple::Request::Fields fields
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
579 Purple::Request::Field::Group group
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
580
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
581 gboolean
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
582 purple_request_fields_all_required_filled(fields)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
583 Purple::Request::Fields fields
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
584
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
585 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
586 purple_request_fields_destroy(fields)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
587 Purple::Request::Fields fields
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
588
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
589 gboolean
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
590 purple_request_fields_exists(fields, id)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
591 Purple::Request::Fields fields
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
592 const char *id
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
593
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
594 Purple::Account
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
595 purple_request_fields_get_account(fields, id)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
596 Purple::Request::Fields fields
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
597 const char *id
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
598
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
599 gboolean
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
600 purple_request_fields_get_bool(fields, id)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
601 Purple::Request::Fields fields
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
602 const char *id
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
603
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
604 int
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
605 purple_request_fields_get_choice(fields, id)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
606 Purple::Request::Fields fields
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
607 const char *id
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
608
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
609 Purple::Request::Field
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
610 purple_request_fields_get_field(fields, id)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
611 Purple::Request::Fields fields
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
612 const char *id
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
613
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
614 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
615 purple_request_fields_get_groups(fields)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
616 Purple::Request::Fields fields
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
617 PREINIT:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
618 GList *l;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
619 PPCODE:
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
620 for (l = purple_request_fields_get_groups(fields); l != NULL; l = l->next) {
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
621 XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::Request::Field::Group")));
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
622 }
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
623
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
624 int
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
625 purple_request_fields_get_integer(fields, id)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
626 Purple::Request::Fields fields
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
627 const char *id
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
628
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
629 void
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
630 purple_request_fields_get_required(fields)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
631 Purple::Request::Fields fields
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
632 PREINIT:
18118
ab6d2763b8d8 Re-fix the DBus list handling code by killing const GList* / const GSList*
Richard Laager <rlaager@wiktel.com>
parents: 16751
diff changeset
633 GList *l;
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
634 PPCODE:
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
635 for (l = purple_request_fields_get_required(fields); l != NULL; l = l->next) {
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
636 XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::Request::Field")));
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
637 }
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
638
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
639 const char *
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
640 purple_request_fields_get_string(fields, id)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
641 Purple::Request::Fields fields
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
642 const char *id
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
643
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
644 gboolean
15834
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
645 purple_request_fields_is_field_required(fields, id)
2f8274ce570a Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15374
diff changeset
646 Purple::Request::Fields fields
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
647 const char *id