Codebase list telepathy-glib / bfa95fd
Imported Upstream version 0.18.1 Simon McVittie 12 years ago
75 changed file(s) with 1543 addition(s) and 521 deletion(s). Raw diff Collapse all Expand all
0 commit 629bea3bfcf0c6698055b5bf6811485b330d335b
1 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2 Date: 2012-04-20 17:07:25 +0100
3
4 Prepare 0.18.1
5
6 commit bab960e0f3f63a52850e76b80b3dae77ea9c174d
7 Author: Xavier Claessens <xavier.claessens@collabora.co.uk>
8 Date: 2012-04-03 11:50:15 +0200
9
10 TpAM: Document that _set_default() keeps an internal reference
11
12 commit 57e23d6d7788498061349649e9b4bccf9ea7bf7b
13 Author: Xavier Claessens <xavier.claessens@collabora.co.uk>
14 Date: 2012-04-16 17:42:33 +0200
15
16 Do not use _tp_connection_lookup_contact() outside contact.c
17
18 That function is dangerous because it does not guarantee that the returned TpContact
19 has an identifier set.
20
21 In the case a TpContact is being created with tp_connection_get_contacts_by_id(),
22 the first step is to inspect its handle and then create the TpContact object
23 *without* giving its ID. The id will be set later once we got the contact attributes.
24
25 If _tp_connection_lookup_contact() is called for the same handle/id between
26 the moment the TpContact is created and the moment it sets its attributes, then
27 a contact with no identifier is returned.
28
29 commit 66d1a078e9d52791ad53db2ce7a94e817e86d12e
30 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
31 Date: 2012-04-13 12:38:26 +0100
32
33 NEWS
34
35 commit 892174994149b1266f266833f90e73e6a727945c
36 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
37 Date: 2012-04-12 16:55:47 +0100
38
39 Don't make g-ir-scanner warnings fatal on this stable branch
40
41 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
42
43 commit c992c64af097576d1023dc793a6d4752360ff564
44 Author: Alban Browaeys <prahal@yahoo.com>
45 Date: 2012-04-10 00:48:08 +0200
46
47 Codegen: fix comment line start leftover.
48
49 Generated telepathy-glib/_gen/telepathy-enums-gtk-doc.h from:
50 /usr/bin/python ../tools/c-constants-gen.py Tp
51 _gen/stable-spec.xml _gen/telepathy-enums
52 has incorrect comment. Fix it with the same remedy as
53 in 5c58330c32f39a9dd6aaaef37f54461922cf6124
54 "many fixes to documentation comments"
55 ie remove the newline between '*' and identifier.
56
57 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
58 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48363
59
60 commit 0065a23ce403becdaf86139b5bb29d0d9fe2f3cc
61 Author: Stef Walter <stefw@gnome.org>
62 Date: 2012-04-12 16:30:13 +0200
63
64 Fix gtk-doc comments for auto-generated constants headers
65
66 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48592
67 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
68
69 commit a769d111600b58452622279128f040f50ebe48f6
70 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
71 Date: 2012-04-12 14:01:40 +0100
72
73 dbus-tube-chan test: listen on a random address appropriate for the OS
74
75 Instead of hard-coding the abstract Unix socket '\000dbus-tube-test',
76 listen on a random (abstract or real) Unix socket in /tmp if on Unix,
77 or a random port on 127.0.0.1 if not. These are the same listening
78 addresses I used in test/loopback.c in libdbus. The Unix version also
79 matches what the session bus normally uses.
80
81 This fixes the test on non-Linux Unix (not insisting on
82 abstract-namespace sockets working), when run twice in parallel on Linux
83 (not insisting on using a particular hard-coded name), and in theory
84 also on Windows (not trying to use Unix sockets).
85
86 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48600
87 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
88 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
89
90 commit 3302343b9dbe8246e1fda0d75db2145d8a9520bd
91 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
92 Date: 2012-04-12 13:27:04 +0100
93
94 Upload documentation to the 0.18.x location
95
96 commit e0329bd9ccc05b095c38fde993289db4912c09d5
97 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
98 Date: 2010-09-20 12:07:15 +0100
99
100 Don't check documentation completeness in this stable branch
101
102 commit 07d4cb30fa07bf3dca05bc77aa28170ba062c77e
103 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
104 Date: 2010-04-06 12:33:21 +0100
105
106 Disable warnings about deprecated functions for stable branch
107
108 Since this is a stable branch, we're unlikely to fix uses of
109 deprecated functions, so we shouldn't warn about them.
110
111 commit abacdfed03e8e0247e29d760a138400f3868e95b
112 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
113 Date: 2012-04-12 12:53:00 +0100
114
115 NEWS
116
117 commit 114a16ba3f91dfa700770ec817ff3f8b4061e0a7
118 Author: Stef Walter <stefw@gnome.org>
119 Date: 2012-04-12 11:46:52 +0200
120
121 Fix doc comments for recent stricter gtk-doc
122
123 * Build fails with new gtk-doc (1.18.1) which seems to
124 be stricter than previous versions.
125
126 [Also fixes g-ir-scanner warnings, which were what was actually fatal. -smcv]
127
128 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48592
129 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
130
131 commit e2b5e25a33edc03682b61b307d640dfbf3b72e6c
132 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
133 Date: 2012-04-12 11:51:35 +0100
134
135 0.18 NEWS
136
137 commit 76b0d3cc3f6dd10f1f88a7e7b1d57a88ac531a08
138 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
139 Date: 2012-04-04 11:04:41 +0200
140
141 the right GLib macro is GLIB_VERSION_MAX_ALLOWED
142
143 commit 08f4a05e33f8a3fa2fe0e326014dbaccc7c55be6
144 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
145 Date: 2012-04-03 15:54:12 +0200
146
147 add stream-tubes.py/accepter.py
148
149 commit 8c31202992b37f0e387f67ca0100df2e1643c889
150 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
151 Date: 2012-04-03 15:54:12 +0200
152
153 add stream-tubes.py/offerer.py
154
155 commit cf0e9d8b366792a9df8303778fcda2dec21217ea
156 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
157 Date: 2012-04-03 15:48:42 +0200
158
159 Fix the type of the TpStreamTubeConnection::closed signal
160
161 python-gobject can't bind G_TYPE_POINTER.
162
163 This seems to be save from an API/ABI pov according to GLib gurus,
164 we'll just copy the GError instead of passing the same pointer:
165
166 commit e17cd19f2341eeafa666301580fed1f0a77c83a6
167 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
168 Date: 2012-04-03 14:43:50 +0200
169
170 stream tube examples: send \n with data
171
172 This will allow us to use g_data_input_stream_read_line_utf8() in Python as
173 g_input_stream_read() is not bindable.
174
175 commit b985cb3474132a802df647e0438a2872c02c71fa
176 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
177 Date: 2012-04-03 14:43:50 +0200
178
179 stream tube examples: use tp_channel_close_async()
180
181 commit 55582d8af3627adf09ebf6ac586753ad4f6abe59
182 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
183 Date: 2012-04-03 14:43:50 +0200
184
185 stream tube examples: split sending/receiving data debug messages
186
187 Make it easier to understand/debug what's going on.
188
189 commit c93cd8f2bbb9c8888ba3a4ad153a485e33568a4c
190 Author: Xavier Claessens <xavier.claessens@collabora.co.uk>
191 Date: 2012-04-03 14:11:34 +0200
192
193 Introspect a few getters
194
195 It is not always a good idea for bindings to always rely on GObject::get_property(),
196 it can be slow to access properties that way everytime instead of keeping
197 a proxy object in native language.
198
199 commit 0dfebb47ded9af7128e641ac90a032e13c2be7f4
200 Author: Jonny Lamb <jonny.lamb@collabora.co.uk>
201 Date: 2012-04-02 16:43:12 -0400
202
203 start on version 0.18.1
204
205 Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
206
0207 commit 95b3336d2d43fdbfe61692144dca8700e0ad0071
1208 Author: Jonny Lamb <jonny.lamb@collabora.co.uk>
2209 Date: 2012-04-02 16:31:18 -0400
3636 maintainer-upload-release: _maintainer-upload-release-local
3737 _maintainer-upload-release-local: _maintainer-upload-release-check
3838 rsync -rvzPp --chmod=Dg+s,ug+rwX,o=rX $(builddir)/docs/reference/html/ \
39 telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/doc/telepathy-glib/
39 telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/doc/telepathy-glib-0.18.x/
4040
4141 BRANCH = $(shell sh tools/git-which-branch.sh misc | tr -d '\n' | tr -C "[:alnum:]" _)
4242 UPLOAD_BRANCH_TO = people.freedesktop.org:public_html/telepathy-glib
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1414
1515 @SET_MAKE@
1616 VPATH = @srcdir@
17 am__make_dryrun = \
18 { \
19 am__dry=no; \
20 case $$MAKEFLAGS in \
21 *\\[\ \ ]*) \
22 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
23 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
24 *) \
25 for am__flg in $$MAKEFLAGS; do \
26 case $$am__flg in \
27 *=*|--*) ;; \
28 *n*) am__dry=yes; break;; \
29 esac; \
30 done;; \
31 esac; \
32 test $$am__dry = yes; \
33 }
1734 pkgdatadir = $(datadir)/@PACKAGE@
1835 pkgincludedir = $(includedir)/@PACKAGE@
1936 pkglibdir = $(libdir)/@PACKAGE@
7188 install-pdf-recursive install-ps-recursive install-recursive \
7289 installcheck-recursive installdirs-recursive pdf-recursive \
7390 ps-recursive uninstall-recursive
91 am__can_run_installinfo = \
92 case $$AM_UPDATE_INFO_DIR in \
93 n|no|NO) false;; \
94 *) (install-info --version) >/dev/null 2>&1;; \
95 esac
7496 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
7597 distclean-recursive maintainer-clean-recursive
7698 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
533555 done
534556 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
535557 if test "$$subdir" = .; then :; else \
536 test -d "$(distdir)/$$subdir" \
537 || $(MKDIR_P) "$(distdir)/$$subdir" \
538 || exit 1; \
539 fi; \
540 done
541 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
542 if test "$$subdir" = .; then :; else \
558 $(am__make_dryrun) \
559 || test -d "$(distdir)/$$subdir" \
560 || $(MKDIR_P) "$(distdir)/$$subdir" \
561 || exit 1; \
543562 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
544563 $(am__relativize); \
545564 new_distdir=$$reldir; \
831850 maintainer-upload-release: _maintainer-upload-release-local
832851 _maintainer-upload-release-local: _maintainer-upload-release-check
833852 rsync -rvzPp --chmod=Dg+s,ug+rwX,o=rX $(builddir)/docs/reference/html/ \
834 telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/doc/telepathy-glib/
853 telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/doc/telepathy-glib-0.18.x/
835854
836855 upload-branch-docs: all
837856 rsync -rtzvPp --chmod=a+rX docs/reference/html/ \
0 telepathy-glib 0.18.1 (2012-04-20)
1 ==================================
2
3 Enhancements:
4
5 • Make various methods of the form get_foo() available to
6 gobject-introspection (Xavier)
7
8 • Improve stream tube examples (Guillaume)
9
10 • Improve documentation (Xavier)
11
12 Fixes:
13
14 • Change the type of TpStreamTubeConnection::closed's argument from
15 POINTER to ERROR so PyGI can bind it (Guillaume)
16
17 • Avoid TpCallChannel potentially returning a TpContact with no identifier
18 (Xavier)
19
20 • Use the right macro to avoid post-2.30 GLib APIs (Guillaume)
21
22 • Fix warnings with newer gtk-doc and g-ir-scanner (fd.o #48592, fd.o #48363,
23 fd.o #48620; Stef Walter, Alban Browaeys)
24
25 • Make various warnings non-fatal for this stable branch: GIR scanner warnings,
26 documentation completeness, and deprecated functions (fd.o #48363, Simon)
27
28 • Don't hard-code use of a particular abstract socket in dbus-tube-chan test,
29 fixing test failure on non-Linux (fd.o #48600, Simon)
30
031 telepathy-glib 0.18.0 (2012-04-02)
132 ==================================
233
0 # generated automatically by aclocal 1.11.3 -*- Autoconf -*-
0 # generated automatically by aclocal 1.11.5 -*- Autoconf -*-
11
22 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
33 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
197197 [am__api_version='1.11'
198198 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
199199 dnl require some minimum version. Point them to the right macro.
200 m4_if([$1], [1.11.3], [],
200 m4_if([$1], [1.11.5], [],
201201 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
202202 ])
203203
213213 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
214214 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
215215 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
216 [AM_AUTOMAKE_VERSION([1.11.3])dnl
216 [AM_AUTOMAKE_VERSION([1.11.5])dnl
217217 m4_ifndef([AC_AUTOCONF_VERSION],
218218 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
219219 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1212 #undef ENABLE_INSTALLED_TESTS
1313
1414 /* Prevent post 2.30 APIs */
15 #undef GLIB_VERSION_MAX_REQUIRED
15 #undef GLIB_VERSION_MAX_ALLOWED
1616
1717 /* Ignore post 2.30 deprecations */
1818 #undef GLIB_VERSION_MIN_REQUIRED
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.68 for Telepathy-GLib 0.18.0.
2 # Generated by GNU Autoconf 2.68 for Telepathy-GLib 0.18.1.
33 #
44 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib>.
55 #
630630 # Identity of this package.
631631 PACKAGE_NAME='Telepathy-GLib'
632632 PACKAGE_TARNAME='telepathy-glib'
633 PACKAGE_VERSION='0.18.0'
634 PACKAGE_STRING='Telepathy-GLib 0.18.0'
633 PACKAGE_VERSION='0.18.1'
634 PACKAGE_STRING='Telepathy-GLib 0.18.1'
635635 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib'
636636 PACKAGE_URL=''
637637
14681468 # Omit some internal or obsolete options to make the list less imposing.
14691469 # This message is too long to be a string in the A/UX 3.1 sh.
14701470 cat <<_ACEOF
1471 \`configure' configures Telepathy-GLib 0.18.0 to adapt to many kinds of systems.
1471 \`configure' configures Telepathy-GLib 0.18.1 to adapt to many kinds of systems.
14721472
14731473 Usage: $0 [OPTION]... [VAR=VALUE]...
14741474
15381538
15391539 if test -n "$ac_init_help"; then
15401540 case $ac_init_help in
1541 short | recursive ) echo "Configuration of Telepathy-GLib 0.18.0:";;
1541 short | recursive ) echo "Configuration of Telepathy-GLib 0.18.1:";;
15421542 esac
15431543 cat <<\_ACEOF
15441544
16911691 test -n "$ac_init_help" && exit $ac_status
16921692 if $ac_init_version; then
16931693 cat <<\_ACEOF
1694 Telepathy-GLib configure 0.18.0
1694 Telepathy-GLib configure 0.18.1
16951695 generated by GNU Autoconf 2.68
16961696
16971697 Copyright (C) 2010 Free Software Foundation, Inc.
21812181 This file contains any messages produced by compilers while
21822182 running configure, to aid debugging if configure makes a mistake.
21832183
2184 It was created by Telepathy-GLib $as_me 0.18.0, which was
2184 It was created by Telepathy-GLib $as_me 0.18.1, which was
21852185 generated by GNU Autoconf 2.68. Invocation command line was
21862186
21872187 $ $0 $@
29992999
30003000 # Define the identity of the package.
30013001 PACKAGE='telepathy-glib'
3002 VERSION='0.18.0'
3002 VERSION='0.18.1'
30033003
30043004
30053005 cat >>confdefs.h <<_ACEOF
1250112501
1250212502
1250312503 LT_CURRENT=70
12504 LT_REVISION=0
12504 LT_REVISION=1
1250512505 LT_AGE=70
1250612506
1250712507
1275612756
1275712757
1275812758 for tp_flag in missing-field-initializers \
12759 unused-parameter; do
12759 unused-parameter \
12760 deprecated-declarations; do
1276012761
1276112762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wno-$tp_flag" >&5
1276212763 $as_echo_n "checking to see if compiler understands -Wno-$tp_flag... " >&6; }
1314813149 $as_echo "#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_30" >>confdefs.h
1314913150
1315013151
13151 $as_echo "#define GLIB_VERSION_MAX_REQUIRED GLIB_VERSION_2_30" >>confdefs.h
13152 $as_echo "#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_30" >>confdefs.h
1315213153
1315313154
1315413155
1814618147 # report actual input values of CONFIG_FILES etc. instead of their
1814718148 # values after options handling.
1814818149 ac_log="
18149 This file was extended by Telepathy-GLib $as_me 0.18.0, which was
18150 This file was extended by Telepathy-GLib $as_me 0.18.1, which was
1815018151 generated by GNU Autoconf 2.68. Invocation command line was
1815118152
1815218153 CONFIG_FILES = $CONFIG_FILES
1821218213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1821318214 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1821418215 ac_cs_version="\\
18215 Telepathy-GLib config.status 0.18.0
18216 Telepathy-GLib config.status 0.18.1
1821618217 configured by $0, generated by GNU Autoconf 2.68,
1821718218 with options \\"\$ac_cs_config\\"
1821818219
1010
1111 m4_define([tp_glib_major_version], [0])
1212 m4_define([tp_glib_minor_version], [18])
13 m4_define([tp_glib_micro_version], [0])
13 m4_define([tp_glib_micro_version], [1])
1414 m4_define([tp_glib_nano_version], [0])
1515
1616 # If library source has changed since last release, increment revision
2626 # never seen in a release).
2727
2828 m4_define([tp_glib_lt_current], [70])
29 m4_define([tp_glib_lt_revision], [0])
29 m4_define([tp_glib_lt_revision], [1])
3030 m4_define([tp_glib_lt_age], [70])
3131
3232 # Some magic
9090 format-security \
9191 init-self],
9292 [missing-field-initializers \
93 unused-parameter])
93 unused-parameter \
94 deprecated-declarations])
9495 AC_SUBST([ERROR_CFLAGS])
9596
9697 # these aren't really error flags but they serve a similar purpose for us -
142143 [ENABLE_DOC_CHECKS=$enableval], [ENABLE_DOC_CHECKS=no] )
143144 ],
144145 [ # tp-glib is version x.y.z.1 - enable extra checks by default
146 # (but only partially, because this is a stable branch and gtk-doc's
147 # definition of "complete" sometimes changes)
145148 AC_ARG_ENABLE(coding-style-checks,
146149 AC_HELP_STRING([--disable-coding-style-checks],
147150 [do not check coding style using grep]),
148151 [ENABLE_CODING_STYLE_CHECKS=$enableval], [ENABLE_CODING_STYLE_CHECKS=yes])
149152 AC_ARG_ENABLE(doc-checks,
150 AC_HELP_STRING([--disable-doc-checks],
151 [do not check for complete documentation coverage]),
152 [ENABLE_DOC_CHECKS=$enableval], [ENABLE_DOC_CHECKS=yes])
153 AC_HELP_STRING([--enable-doc-checks],
154 [check for complete documentation coverage]),
155 [ENABLE_DOC_CHECKS=$enableval], [ENABLE_DOC_CHECKS=no])
153156 ])
154157
155158 AC_SUBST([ENABLE_CODING_STYLE_CHECKS])
199202 [glib-2.0 >= 2.30.0, gobject-2.0 >= 2.30.0, gio-2.0 >= 2.30.0])
200203
201204 AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_30], [Ignore post 2.30 deprecations])
202 AC_DEFINE([GLIB_VERSION_MAX_REQUIRED], [GLIB_VERSION_2_30], [Prevent post 2.30 APIs])
205 AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_30], [Prevent post 2.30 APIs])
203206
204207 dnl Check for GIO-Unix
205208 PKG_CHECK_MODULES(GIO_UNIX, [gio-unix-2.0],
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1414
1515 @SET_MAKE@
1616 VPATH = @srcdir@
17 am__make_dryrun = \
18 { \
19 am__dry=no; \
20 case $$MAKEFLAGS in \
21 *\\[\ \ ]*) \
22 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
23 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
24 *) \
25 for am__flg in $$MAKEFLAGS; do \
26 case $$am__flg in \
27 *=*|--*) ;; \
28 *n*) am__dry=yes; break;; \
29 esac; \
30 done;; \
31 esac; \
32 test $$am__dry = yes; \
33 }
1734 pkgdatadir = $(datadir)/@PACKAGE@
1835 pkgincludedir = $(includedir)/@PACKAGE@
1936 pkglibdir = $(libdir)/@PACKAGE@
6481 install-pdf-recursive install-ps-recursive install-recursive \
6582 installcheck-recursive installdirs-recursive pdf-recursive \
6683 ps-recursive uninstall-recursive
84 am__can_run_installinfo = \
85 case $$AM_UPDATE_INFO_DIR in \
86 n|no|NO) false;; \
87 *) (install-info --version) >/dev/null 2>&1;; \
88 esac
6789 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
6890 distclean-recursive maintainer-clean-recursive
6991 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
474496 done
475497 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
476498 if test "$$subdir" = .; then :; else \
477 test -d "$(distdir)/$$subdir" \
478 || $(MKDIR_P) "$(distdir)/$$subdir" \
479 || exit 1; \
480 fi; \
481 done
482 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
483 if test "$$subdir" = .; then :; else \
499 $(am__make_dryrun) \
500 || test -d "$(distdir)/$$subdir" \
501 || $(MKDIR_P) "$(distdir)/$$subdir" \
502 || exit 1; \
484503 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
485504 $(am__relativize); \
486505 new_distdir=$$reldir; \
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2020 # Everything below here is generic #
2121 ####################################
2222 VPATH = @srcdir@
23 am__make_dryrun = \
24 { \
25 am__dry=no; \
26 case $$MAKEFLAGS in \
27 *\\[\ \ ]*) \
28 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
29 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
30 *) \
31 for am__flg in $$MAKEFLAGS; do \
32 case $$am__flg in \
33 *=*|--*) ;; \
34 *n*) am__dry=yes; break;; \
35 esac; \
36 done;; \
37 esac; \
38 test $$am__dry = yes; \
39 }
2340 pkgdatadir = $(datadir)/@PACKAGE@
2441 pkgincludedir = $(includedir)/@PACKAGE@
2542 pkglibdir = $(libdir)/@PACKAGE@
6481 am__v_at_0 = @
6582 SOURCES =
6683 DIST_SOURCES =
84 am__can_run_installinfo = \
85 case $$AM_UPDATE_INFO_DIR in \
86 n|no|NO) false;; \
87 *) (install-info --version) >/dev/null 2>&1;; \
88 esac
6789 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
6890 ACLOCAL = @ACLOCAL@
6991 AMTAR = @AMTAR@
339339 <td>Create an array of channel managers for this
340340 Connection. At least one of this or <em class="parameter"><code>create_channel_factories</code></em> must be set
341341 by subclasses to a non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value.
342 Since: 0.7.15</td>
342 Since 0.7.15</td>
343343 </tr>
344344 </tbody>
345345 </table></div>
1414 <div>
1515 <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">telepathy-glib API Reference Manual</p></th></tr></table></div>
1616 <div><p class="releaseinfo">
17 This manual documents telepathy-glib version 0.18.0
17 This manual documents telepathy-glib version 0.18.1
1818 .
1919 The latest development version of this documentation can be found here:
2020 <a class="ulink" href="http://telepathy.freedesktop.org/doc/telepathy-glib/" target="_top">online copy of the telepathy-glib API Reference Manual</a>.
21 The latest version in this stable branch can be found here:
22 <a class="ulink" href="http://telepathy.freedesktop.org/doc/telepathy-glib-0.18.x/" target="_top">online copy of the telepathy-glib 0.18.x API Reference Manual</a>.
2123 </p></div>
2224 </div>
2325 <hr>
00 <ONLINE href="http://telepathy.freedesktop.org/doc/telepathy-glib/">
1 <ONLINE href="http://telepathy.freedesktop.org/doc/telepathy-glib-0.18.x/">
12 <ANCHOR id="telepathy-glib-proxy" href="telepathy-glib/telepathy-glib-proxy.html">
23 <ANCHOR id="telepathy-glib-proxy.synopsis" href="telepathy-glib/telepathy-glib-proxy.html#telepathy-glib-proxy.synopsis">
34 <ANCHOR id="TpProxy" href="telepathy-glib/telepathy-glib-proxy.html#TpProxy">
107107 </p>
108108 <div class="section">
109109 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
110 <a name="idp104960912"></a>Implementing SimplePresence</h2></div></div></div>
110 <a name="idp104954416"></a>Implementing SimplePresence</h2></div></div></div>
111111 <p>
112112 Since 0.7.13 this mixin supports the entire SimplePresence interface.
113113 You can implement <a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceSimplePresence"><span class="type">TpSvcConnectionInterfaceSimplePresence</span></a> as follows:
159159 </p>
160160 <div class="section">
161161 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
162 <a name="idp104976576"></a>Implementing old-style Presence</h2></div></div></div>
162 <a name="idp104970080"></a>Implementing old-style Presence</h2></div></div></div>
163163 <p>
164164 This mixin also supports a large subset of the deprecated Presence
165165 interface. It does not support protocols where it is possible to set
185185 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
186186 <tbody>
187187 <tr>
188 <td class="listing_lines" align="right"><pre>1
189 2
190 3
191 4
192 5
193 6
194 7
195 8
196 9
197 10
198 11
199 12
200 13
201 14
202 15
203 16
204 17
205 18
206 19
207 20
208 21
209 22
210 23
211 24
212 25
213 26
214 27
215 28
216 29
217 30
218 31
219 32
220 33
221 34
222 35
223 36
224 37
225 38
226 39
227 40
228 41
229 42
230 43
231 44
232 45
233 46
234 47
235 48
236 49
237 50
238 51
239 52
240 53
241 54
242 55
243 56
244 57
245 58
246 59
247 60
248 61
249 62
250 63
251 64
252 65
253 66
254 67
255 68
256 69
257 70
258 71
259 72
260 73
261 74
262 75
263 76
264 77
265 78
266 79
267 80
268 81
269 82
270 83
271 84
272 85
273 86
274 87
275 88
276 89
277 90
278 91
279 92
280 93
281 94
282 95
283 96
284 97
285 98
286 99
287 100
288 101
289 102
290 103</pre></td>
291 <td class="listing_code"><pre class="programlisting"><span class="comment">/*</span>
292 <span class="comment"> * contact-list</span>
293 <span class="comment"> *</span>
294 <span class="comment"> * Copyright © 2011 Collabora Ltd. &lt;http://www.collabora.co.uk/&gt;</span>
295 <span class="comment"> *</span>
296 <span class="comment"> * Copying and distribution of this file, with or without modification,</span>
297 <span class="comment"> * are permitted in any medium without royalty provided the copyright</span>
298 <span class="comment"> * notice and this notice are preserved.</span>
299 <span class="comment"> */</span>
300
301 <span class="gtkdoc ppc">#include</span> <span class="gtkdoc pps">&quot;config.h&quot;</span><span class="gtkdoc ppc"></span>
302
303 <span class="gtkdoc ppc">#include &lt;telepathy-glib/telepathy-glib.h&gt;</span>
304 <span class="gtkdoc ppc">#include &lt;telepathy-glib/debug.h&gt;</span>
305
306 <span class="gtkdoc kwb">static void</span>
307 <span class="function">account_manager_prepared_cb</span> <span class="gtkdoc opt">(</span>GObject <span class="gtkdoc opt">*</span>object<span class="gtkdoc opt">,</span>
308 GAsyncResult <span class="gtkdoc opt">*</span>res<span class="gtkdoc opt">,</span>
309 gpointer user_data<span class="gtkdoc opt">)</span>
310 <span class="gtkdoc opt">{</span>
311 TpAccountManager <span class="gtkdoc opt">*</span>manager <span class="gtkdoc opt">= (</span>TpAccountManager <span class="gtkdoc opt">*)</span> object<span class="gtkdoc opt">;</span>
312 GMainLoop <span class="gtkdoc opt">*</span>loop <span class="gtkdoc opt">=</span> user_data<span class="gtkdoc opt">;</span>
313 GList <span class="gtkdoc opt">*</span>accounts<span class="gtkdoc opt">;</span>
314 GError <span class="gtkdoc opt">*</span>error <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
315
316 <span class="keyword">if</span> <span class="gtkdoc opt">(!</span><span class="function"><a href="telepathy-glib-proxy.html#tp-proxy-prepare-finish">tp_proxy_prepare_finish</a></span> <span class="gtkdoc opt">(</span>object<span class="gtkdoc opt">,</span> res<span class="gtkdoc opt">, &amp;</span>error<span class="gtkdoc opt">))</span>
317 <span class="gtkdoc opt">{</span>
318 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span> <span class="gtkdoc opt">(</span><span class="string">&quot;Error preparing AM: %s</span><span class="gtkdoc esc">\n</span><span class="string">&quot;</span><span class="gtkdoc opt">,</span> error<span class="gtkdoc opt">-&gt;</span>message<span class="gtkdoc opt">);</span>
319 <span class="keyword">goto</span> OUT<span class="gtkdoc opt">;</span>
320 <span class="gtkdoc opt">}</span>
321
322 <span class="keyword">for</span> <span class="gtkdoc opt">(</span>accounts <span class="gtkdoc opt">=</span> <span class="function"><a href="telepathy-glib-account-manager.html#tp-account-manager-get-valid-accounts">tp_account_manager_get_valid_accounts</a></span> <span class="gtkdoc opt">(</span>manager<span class="gtkdoc opt">);</span>
323 accounts <span class="gtkdoc opt">!=</span> NULL<span class="gtkdoc opt">;</span> accounts <span class="gtkdoc opt">=</span> <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-delete-link">g_list_delete_link</a></span> <span class="gtkdoc opt">(</span>accounts<span class="gtkdoc opt">,</span> accounts<span class="gtkdoc opt">))</span>
324 <span class="gtkdoc opt">{</span>
325 TpAccount <span class="gtkdoc opt">*</span>account <span class="gtkdoc opt">=</span> accounts<span class="gtkdoc opt">-&gt;</span>data<span class="gtkdoc opt">;</span>
326 TpConnection <span class="gtkdoc opt">*</span>connection <span class="gtkdoc opt">=</span> <span class="function"><a href="telepathy-glib-account.html#tp-account-get-connection">tp_account_get_connection</a></span> <span class="gtkdoc opt">(</span>account<span class="gtkdoc opt">);</span>
327 GPtrArray <span class="gtkdoc opt">*</span>contacts<span class="gtkdoc opt">;</span>
328 guint i<span class="gtkdoc opt">;</span>
329
330 <span class="comment">/* Verify account is online and received its contact list. If state is not</span>
331 <span class="comment"> * SUCCESS this means we didn't received the roster from server yet and</span>
332 <span class="comment"> * we would have to wait for the &quot;notify:contact-list-state&quot; signal. */</span>
333 <span class="keyword">if</span> <span class="gtkdoc opt">(</span>connection <span class="gtkdoc opt">==</span> NULL <span class="gtkdoc opt">||</span>
334 <span class="function"><a href="telepathy-glib-connection.html#tp-connection-get-contact-list-state">tp_connection_get_contact_list_state</a></span> <span class="gtkdoc opt">(</span>connection<span class="gtkdoc opt">) !=</span>
335 TP_CONTACT_LIST_STATE_SUCCESS<span class="gtkdoc opt">)</span>
336 <span class="keyword">continue</span><span class="gtkdoc opt">;</span>
337
338 contacts <span class="gtkdoc opt">=</span> <span class="function"><a href="telepathy-glib-connection.html#tp-connection-dup-contact-list">tp_connection_dup_contact_list</a></span> <span class="gtkdoc opt">(</span>connection<span class="gtkdoc opt">);</span>
339 <span class="keyword">for</span> <span class="gtkdoc opt">(</span>i <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span> i <span class="gtkdoc opt">&lt;</span> contacts<span class="gtkdoc opt">-&gt;</span>len<span class="gtkdoc opt">;</span> i<span class="gtkdoc opt">++)</span>
340 <span class="gtkdoc opt">{</span>
341 TpContact <span class="gtkdoc opt">*</span>contact <span class="gtkdoc opt">=</span> <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#g-ptr-array-index">g_ptr_array_index</a></span> <span class="gtkdoc opt">(</span>contacts<span class="gtkdoc opt">,</span> i<span class="gtkdoc opt">);</span>
342 <span class="gtkdoc kwb">const</span> gchar <span class="gtkdoc opt">*</span> <span class="gtkdoc kwb">const</span> <span class="gtkdoc opt">*</span>groups<span class="gtkdoc opt">;</span>
343
344 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span> <span class="gtkdoc opt">(</span><span class="string">&quot;contact %s (%s) in groups:</span><span class="gtkdoc esc">\n</span><span class="string">&quot;</span><span class="gtkdoc opt">,</span>
345 <span class="function"><a href="telepathy-glib-contact.html#tp-contact-get-identifier">tp_contact_get_identifier</a></span> <span class="gtkdoc opt">(</span>contact<span class="gtkdoc opt">),</span>
346 <span class="function"><a href="telepathy-glib-contact.html#tp-contact-get-alias">tp_contact_get_alias</a></span> <span class="gtkdoc opt">(</span>contact<span class="gtkdoc opt">));</span>
347
348 <span class="keyword">for</span> <span class="gtkdoc opt">(</span>groups <span class="gtkdoc opt">=</span> <span class="function"><a href="telepathy-glib-contact.html#tp-contact-get-contact-groups">tp_contact_get_contact_groups</a></span> <span class="gtkdoc opt">(</span>contact<span class="gtkdoc opt">);</span>
349 <span class="gtkdoc opt">*</span>groups <span class="gtkdoc opt">!=</span> NULL<span class="gtkdoc opt">;</span> groups<span class="gtkdoc opt">++)</span>
350 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span> <span class="gtkdoc opt">(</span><span class="string">&quot; %s</span><span class="gtkdoc esc">\n</span><span class="string">&quot;</span><span class="gtkdoc opt">, *</span>groups<span class="gtkdoc opt">);</span>
351 <span class="gtkdoc opt">}</span>
352 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#g-ptr-array-unref">g_ptr_array_unref</a></span> <span class="gtkdoc opt">(</span>contacts<span class="gtkdoc opt">);</span>
353 <span class="gtkdoc opt">}</span>
354
355 OUT<span class="gtkdoc opt">:</span>
356 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-quit">g_main_loop_quit</a></span> <span class="gtkdoc opt">(</span>loop<span class="gtkdoc opt">);</span>
357 <span class="gtkdoc opt">}</span>
358
359 <span class="gtkdoc kwb">int</span>
360 <span class="function">main</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">int</span> argc<span class="gtkdoc opt">,</span>
361 <span class="gtkdoc kwb">char</span> <span class="gtkdoc opt">**</span>argv<span class="gtkdoc opt">)</span>
362 <span class="gtkdoc opt">{</span>
363 TpAccountManager <span class="gtkdoc opt">*</span>manager<span class="gtkdoc opt">;</span>
364 TpSimpleClientFactory <span class="gtkdoc opt">*</span>factory<span class="gtkdoc opt">;</span>
365 GMainLoop <span class="gtkdoc opt">*</span>loop<span class="gtkdoc opt">;</span>
366
367 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#g-type-init">g_type_init</a></span> <span class="gtkdoc opt">();</span>
368 <span class="function"><a href="telepathy-glib-debug.html#tp-debug-set-flags">tp_debug_set_flags</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-getenv">g_getenv</a></span> <span class="gtkdoc opt">(</span><span class="string">&quot;EXAMPLE_DEBUG&quot;</span><span class="gtkdoc opt">));</span>
369
370 loop <span class="gtkdoc opt">=</span> <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-new">g_main_loop_new</a></span> <span class="gtkdoc opt">(</span>NULL<span class="gtkdoc opt">,</span> FALSE<span class="gtkdoc opt">);</span>
371
372 manager <span class="gtkdoc opt">=</span> <span class="function"><a href="telepathy-glib-account-manager.html#tp-account-manager-dup">tp_account_manager_dup</a></span> <span class="gtkdoc opt">();</span>
373 factory <span class="gtkdoc opt">=</span> <span class="function"><a href="telepathy-glib-proxy.html#tp-proxy-get-factory">tp_proxy_get_factory</a></span> <span class="gtkdoc opt">(</span>manager<span class="gtkdoc opt">);</span>
374 <span class="function"><a href="telepathy-glib-simple-client-factory.html#tp-simple-client-factory-add-account-features-varargs">tp_simple_client_factory_add_account_features_varargs</a></span> <span class="gtkdoc opt">(</span>factory<span class="gtkdoc opt">,</span>
375 TP_ACCOUNT_FEATURE_CONNECTION<span class="gtkdoc opt">,</span>
376 <span class="number">0</span><span class="gtkdoc opt">);</span>
377 <span class="function"><a href="telepathy-glib-simple-client-factory.html#tp-simple-client-factory-add-connection-features-varargs">tp_simple_client_factory_add_connection_features_varargs</a></span> <span class="gtkdoc opt">(</span>factory<span class="gtkdoc opt">,</span>
378 TP_CONNECTION_FEATURE_CONTACT_LIST<span class="gtkdoc opt">,</span>
379 <span class="number">0</span><span class="gtkdoc opt">);</span>
380 <span class="function"><a href="telepathy-glib-simple-client-factory.html#tp-simple-client-factory-add-contact-features-varargs">tp_simple_client_factory_add_contact_features_varargs</a></span> <span class="gtkdoc opt">(</span>factory<span class="gtkdoc opt">,</span>
381 TP_CONTACT_FEATURE_ALIAS<span class="gtkdoc opt">,</span>
382 TP_CONTACT_FEATURE_CONTACT_GROUPS<span class="gtkdoc opt">,</span>
383 TP_CONTACT_FEATURE_INVALID<span class="gtkdoc opt">);</span>
384
385 <span class="function"><a href="telepathy-glib-proxy.html#tp-proxy-prepare-async">tp_proxy_prepare_async</a></span> <span class="gtkdoc opt">(</span>manager<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">,</span> account_manager_prepared_cb<span class="gtkdoc opt">,</span> loop<span class="gtkdoc opt">);</span>
386
387 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-run">g_main_loop_run</a></span> <span class="gtkdoc opt">(</span>loop<span class="gtkdoc opt">);</span>
388
389 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>manager<span class="gtkdoc opt">);</span>
390 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-unref">g_main_loop_unref</a></span> <span class="gtkdoc opt">(</span>loop<span class="gtkdoc opt">);</span>
391
392 <span class="keyword">return</span> <span class="number">0</span><span class="gtkdoc opt">;</span>
393 <span class="gtkdoc opt">}</span></pre></td>
188 <td class="listing_lines" align="right"><pre>1</pre></td>
189 <td class="listing_code"><pre class="programlisting">FIXME<span class="gtkdoc opt">:</span> MISSING XINCLUDE CONTENT</pre></td>
394190 </tr>
395191 </tbody>
396192 </table>
496292 which use a custom <a class="link" href="telepathy-glib-simple-client-factory.html#TpSimpleClientFactory"><span class="type">TpSimpleClientFactory</span></a> and want the default
497293 <a class="link" href="telepathy-glib-account-manager.html#TpAccountManager"><span class="type">TpAccountManager</span></a> to use that factory should call this after calling
498294 <a class="link" href="telepathy-glib-account-manager.html#tp-account-manager-new-with-factory" title="tp_account_manager_new_with_factory ()"><code class="function">tp_account_manager_new_with_factory()</code></a>.
295 </p>
296 <p>
297 Unlike <a class="link" href="telepathy-glib-account-manager.html#tp-account-manager-dup" title="tp_account_manager_dup ()"><code class="function">tp_account_manager_dup()</code></a>, this function will keep an internal
298 reference to <em class="parameter"><code>manager</code></em>, so it will never be destroyed.
499299 </p>
500300 <p>
501301 Note that <em class="parameter"><code>manager</code></em> must use the default <a class="link" href="telepathy-glib-dbus.html#TpDBusDaemon"><span class="type">TpDBusDaemon</span></a> as returned by
233233 <p>
234234 </p>
235235 <div class="example">
236 <a name="idp12688048"></a><p class="title"><b>Example 1. Using <a class="link" href="telepathy-glib-asv.html#tp-asv-new" title="tp_asv_new ()"><code class="function">tp_asv_new()</code></a></b></p>
236 <a name="idp12688800"></a><p class="title"><b>Example 1. Using <a class="link" href="telepathy-glib-asv.html#tp-asv-new" title="tp_asv_new ()"><code class="function">tp_asv_new()</code></a></b></p>
237237 <div class="example-contents">
238238 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
239239 <tbody>
11551155 <p>
11561156 If an X server timestamp for the user action causing this method call is
11571157 available, <em class="parameter"><code>user_action_time</code></em> should be this timestamp (for instance, the
1158 result of <a href="http://library.gnome.org/devel/gdk/gdk3-Events.html#gdk-event-get-time"><code class="function">gdk_event_get_time()</code></a> if it is not <a href="http://library.gnome.org/devel/gdk/gdk3-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>). Otherwise, it
1158 result of <a href="http://developer.gnome.org/devel/gdk/gdk3-Events.html#gdk-event-get-time"><code class="function">gdk_event_get_time()</code></a> if it is not <a href="http://developer.gnome.org/devel/gdk/gdk3-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>). Otherwise, it
11591159 may be <a class="link" href="telepathy-glib-defs.html#TP-USER-ACTION-TIME-NOT-USER-ACTION:CAPS" title="TP_USER_ACTION_TIME_NOT_USER_ACTION"><code class="literal">TP_USER_ACTION_TIME_NOT_USER_ACTION</code></a> to behave as if there was no
11601160 user action or it happened a long time ago, or
11611161 <a class="link" href="telepathy-glib-defs.html#TP-USER-ACTION-TIME-CURRENT-TIME:CAPS" title="TP_USER_ACTION_TIME_CURRENT_TIME"><code class="literal">TP_USER_ACTION_TIME_CURRENT_TIME</code></a> to have the Handler behave as though the
11621162 user action had just happened (resembling, but not numerically equal to,
1163 <a href="http://library.gnome.org/devel/gdk/gdk3-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>).
1163 <a href="http://developer.gnome.org/devel/gdk/gdk3-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>).
11641164 </p>
11651165 <p>
11661166 This method has been introduced in telepathy-mission-control 5.5.0.
10871087 </tr>
10881088 <tr>
10891089 <td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
1090 <td>(unqualified) property names whose values have changed, terminated by
1090 <td>unqualified property names whose values have changed, terminated by
10911091 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
10921092 </tr>
10931093 </tbody>
198198 The "user action time" used by methods like
199199 <a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-new" title="tp_account_channel_request_new ()"><code class="function">tp_account_channel_request_new()</code></a> to represent channel requests that should
200200 be treated as though they happened at the current time. This is the same
201 concept as <a href="http://library.gnome.org/devel/gdk/gdk3-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a> in Gdk (but note that the numerical value used
201 concept as <a href="http://developer.gnome.org/devel/gdk/gdk3-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a> in Gdk (but note that the numerical value used
202202 in Telepathy is not the same).
203203 </p>
204204 <p>
513513 <td>org.freedesktop.Telepathy.Error.Cert.Revoked:
514514 Raised if the server provided an SSL/TLS certificate that has been
515515 revoked.
516 Since: 0.11.12
516 Since 0.11.12
517517 </td>
518518 </tr>
519519 <tr>
521521 <td>org.freedesktop.Telepathy.Error.Cert.Insecure:
522522 Raised if the server provided an SSL/TLS certificate that uses an
523523 insecure cipher algorithm or is cryptographically weak.
524 Since: 0.11.12
524 Since 0.11.12
525525 </td>
526526 </tr>
527527 <tr>
530530 Raised if the length in bytes of the server certificate, or the depth
531531 of the server certificate chain, exceed the limits imposed by the
532532 crypto library.
533 Since: 0.11.12
533 Since 0.11.12
534534 </td>
535535 </tr>
536536 <tr>
538538 <td>org.freedesktop.Telepathy.Error.NotYet:
539539 Raised when the requested functionality is not yet available, but is
540540 likely to become available after some time has passed.
541 Since: 0.11.15
541 Since 0.11.15
542542 </td>
543543 </tr>
544544 <tr>
546546 <td>org.freedesktop.Telepathy.Error.Rejected:
547547 Raised when an incoming or outgoing call is rejected by the receiving
548548 contact.
549 Since: 0.13.2
549 Since 0.13.2
550550 </td>
551551 </tr>
552552 <tr>
554554 <td>org.freedesktop.Telepathy.Error.PickedUpElsewhere:
555555 Raised when a call was terminated as a result of the local user
556556 picking up the call on a different resource.
557 Since: 0.13.3
557 Since 0.13.3
558558 </td>
559559 </tr>
560560 <tr>
565565 understand each other, or an apparently impossible situation is
566566 reached. This has a similar meaning to <a class="link" href="telepathy-glib-proxy.html#TP-DBUS-ERROR-INCONSISTENT:CAPS"><code class="literal">TP_DBUS_ERROR_INCONSISTENT</code></a> but
567567 can be passed between processes via D-Bus.
568 Since: 0.13.7
568 Since 0.13.7
569569 </td>
570570 </tr>
571571 <tr>
574574 Raised when a server or other piece of infrastructure indicates an
575575 internal error, or when a message that makes no sense is received from
576576 a server or other piece of infrastructure.
577 Since: 0.13.7
577 Since 0.13.7
578578 </td>
579579 </tr>
580580 <tr>
607607 <td> <code class="code">org.freedesktop.Telepathy.Error.Media.CodecsIncompatible</code>:
608608 Raised when the local streaming implementation has no codecs in common
609609 with the remote side.
610 Since: 0.15.6
610 Since 0.15.6
611611 </td>
612612 </tr>
613613 <tr>
615615 <td> <code class="code">org.freedesktop.Telepathy.Error.Media.UnsupportedType</code>:
616616 The media stream type requested is not supported by either the local or
617617 remote side.
618 Since: 0.15.6
618 Since 0.15.6
619619 </td>
620620 </tr>
621621 <tr>
623623 <td> <code class="code">org.freedesktop.Telepathy.Error.Media.StreamingError</code>:
624624 Raised when the call's streaming implementation has some kind of internal
625625 error.
626 Since: 0.15.6
626 Since 0.15.6
627627 </td>
628628 </tr>
629629 <tr>
224224 <div class="refsect2">
225225 <a name="TpStreamTubeConnection-closed"></a><h3>The <code class="literal">"closed"</code> signal</h3>
226226 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-stream-tube-connection.html#TpStreamTubeConnection"><span class="type">TpStreamTubeConnection</span></a> *self,
227 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> error,
227 <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error,
228228 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
229229 <p>
230230 The ::closed signal is emitted when the connection manager reports that
11211121 <p>
11221122 </p>
11231123 <div class="example">
1124 <a name="idp119524352"></a><p class="title"><b>Example 3.  using tp_value_array_build</b></p>
1124 <a name="idp119525744"></a><p class="title"><b>Example 3.  using tp_value_array_build</b></p>
11251125 <div class="example-contents">
11261126 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
11271127 <tbody>
11821182 <p>
11831183 </p>
11841184 <div class="example">
1185 <a name="idp119545824"></a><p class="title"><b>Example 4. using tp_value_array_unpack</b></p>
1185 <a name="idp119547216"></a><p class="title"><b>Example 4. using tp_value_array_unpack</b></p>
11861186 <div class="example-contents">
11871187 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
11881188 <tbody>
15641564 <p>
15651565 Interpret a Telepathy user action time to decide whether a Handler should
15661566 attempt to gain focus. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned, it would be appropriate to
1567 call <a href="http://library.gnome.org/devel/gtk/GtkWindow.html#gtk-window-present-with-time"><code class="function">gtk_window_present_with_time()</code></a> using <em class="parameter"><code>x11_time</code></em> as input, for instance.
1567 call <a href="http://developer.gnome.org/devel/gtk/GtkWindow.html#gtk-window-present-with-time"><code class="function">gtk_window_present_with_time()</code></a> using <em class="parameter"><code>x11_time</code></em> as input, for instance.
15681568 </p>
15691569 <p>
15701570 <em class="parameter"><code>x11_time</code></em> is used to return a timestamp in the right format for X11,
99 This manual documents telepathy-glib version &tpglibversion;.
1010 The latest development version of this documentation can be found here:
1111 <ulink role="online-location" url="http://telepathy.freedesktop.org/doc/telepathy-glib/">online copy of the telepathy-glib API Reference Manual</ulink>.
12 The latest version in this stable branch can be found here:
13 <ulink role="online-location" url="http://telepathy.freedesktop.org/doc/telepathy-glib-0.18.x/">online copy of the telepathy-glib 0.18.x API Reference Manual</ulink>.
1214 </releaseinfo>
1315 </bookinfo>
1416
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1414
1515 @SET_MAKE@
1616 VPATH = @srcdir@
17 am__make_dryrun = \
18 { \
19 am__dry=no; \
20 case $$MAKEFLAGS in \
21 *\\[\ \ ]*) \
22 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
23 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
24 *) \
25 for am__flg in $$MAKEFLAGS; do \
26 case $$am__flg in \
27 *=*|--*) ;; \
28 *n*) am__dry=yes; break;; \
29 esac; \
30 done;; \
31 esac; \
32 test $$am__dry = yes; \
33 }
1734 pkgdatadir = $(datadir)/@PACKAGE@
1835 pkgincludedir = $(includedir)/@PACKAGE@
1936 pkglibdir = $(libdir)/@PACKAGE@
6481 install-pdf-recursive install-ps-recursive install-recursive \
6582 installcheck-recursive installdirs-recursive pdf-recursive \
6683 ps-recursive uninstall-recursive
84 am__can_run_installinfo = \
85 case $$AM_UPDATE_INFO_DIR in \
86 n|no|NO) false;; \
87 *) (install-info --version) >/dev/null 2>&1;; \
88 esac
6789 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
6890 distclean-recursive maintainer-clean-recursive
6991 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
477499 done
478500 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
479501 if test "$$subdir" = .; then :; else \
480 test -d "$(distdir)/$$subdir" \
481 || $(MKDIR_P) "$(distdir)/$$subdir" \
482 || exit 1; \
483 fi; \
484 done
485 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
486 if test "$$subdir" = .; then :; else \
502 $(am__make_dryrun) \
503 || test -d "$(distdir)/$$subdir" \
504 || $(MKDIR_P) "$(distdir)/$$subdir" \
505 || exit 1; \
487506 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
488507 $(am__relativize); \
489508 new_distdir=$$reldir; \
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1515 @SET_MAKE@
1616
1717 VPATH = @srcdir@
18 am__make_dryrun = \
19 { \
20 am__dry=no; \
21 case $$MAKEFLAGS in \
22 *\\[\ \ ]*) \
23 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
24 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25 *) \
26 for am__flg in $$MAKEFLAGS; do \
27 case $$am__flg in \
28 *=*|--*) ;; \
29 *n*) am__dry=yes; break;; \
30 esac; \
31 done;; \
32 esac; \
33 test $$am__dry = yes; \
34 }
1835 pkgdatadir = $(datadir)/@PACKAGE@
1936 pkgincludedir = $(includedir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
209226 install-pdf-recursive install-ps-recursive install-recursive \
210227 installcheck-recursive installdirs-recursive pdf-recursive \
211228 ps-recursive uninstall-recursive
229 am__can_run_installinfo = \
230 case $$AM_UPDATE_INFO_DIR in \
231 n|no|NO) false;; \
232 *) (install-info --version) >/dev/null 2>&1;; \
233 esac
212234 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
213235 distclean-recursive maintainer-clean-recursive
214236 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
494516 $(am__aclocal_m4_deps):
495517 install-binPROGRAMS: $(bin_PROGRAMS)
496518 @$(NORMAL_INSTALL)
497 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
498519 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
520 if test -n "$$list"; then \
521 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
522 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
523 fi; \
499524 for p in $$list; do echo "$$p $$p"; done | \
500525 sed 's/$(EXEEXT)$$//' | \
501526 while read p p1; do if test -f $$p || test -f $$p1; \
790815 done
791816 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
792817 if test "$$subdir" = .; then :; else \
793 test -d "$(distdir)/$$subdir" \
794 || $(MKDIR_P) "$(distdir)/$$subdir" \
795 || exit 1; \
796 fi; \
797 done
798 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
799 if test "$$subdir" = .; then :; else \
818 $(am__make_dryrun) \
819 || test -d "$(distdir)/$$subdir" \
820 || $(MKDIR_P) "$(distdir)/$$subdir" \
821 || exit 1; \
800822 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
801823 $(am__relativize); \
802824 new_distdir=$$reldir; \
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1515 @SET_MAKE@
1616
1717 VPATH = @srcdir@
18 am__make_dryrun = \
19 { \
20 am__dry=no; \
21 case $$MAKEFLAGS in \
22 *\\[\ \ ]*) \
23 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
24 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25 *) \
26 for am__flg in $$MAKEFLAGS; do \
27 case $$am__flg in \
28 *=*|--*) ;; \
29 *n*) am__dry=yes; break;; \
30 esac; \
31 done;; \
32 esac; \
33 test $$am__dry = yes; \
34 }
1835 pkgdatadir = $(datadir)/@PACKAGE@
1936 pkgincludedir = $(includedir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
93110 am__v_GEN_0 = @echo " GEN " $@;
94111 SOURCES = $(accepter_SOURCES) $(offerer_SOURCES)
95112 DIST_SOURCES = $(accepter_SOURCES) $(offerer_SOURCES)
113 am__can_run_installinfo = \
114 case $$AM_UPDATE_INFO_DIR in \
115 n|no|NO) false;; \
116 *) (install-info --version) >/dev/null 2>&1;; \
117 esac
96118 ETAGS = etags
97119 CTAGS = ctags
98120 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1414
1515 @SET_MAKE@
1616 VPATH = @srcdir@
17 am__make_dryrun = \
18 { \
19 am__dry=no; \
20 case $$MAKEFLAGS in \
21 *\\[\ \ ]*) \
22 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
23 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
24 *) \
25 for am__flg in $$MAKEFLAGS; do \
26 case $$am__flg in \
27 *=*|--*) ;; \
28 *n*) am__dry=yes; break;; \
29 esac; \
30 done;; \
31 esac; \
32 test $$am__dry = yes; \
33 }
1734 pkgdatadir = $(datadir)/@PACKAGE@
1835 pkgincludedir = $(includedir)/@PACKAGE@
1936 pkglibdir = $(libdir)/@PACKAGE@
5774 am__v_at_0 = @
5875 SOURCES =
5976 DIST_SOURCES =
77 am__can_run_installinfo = \
78 case $$AM_UPDATE_INFO_DIR in \
79 n|no|NO) false;; \
80 *) (install-info --version) >/dev/null 2>&1;; \
81 esac
6082 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
6183 ACLOCAL = @ACLOCAL@
6284 AMTAR = @AMTAR@
33 inspect-cm.py \
44 text-handler.py \
55 file-transfer.py \
6 ft-handler.py
6 ft-handler.py \
7 stream-tubes.py/offerer.py \
8 stream-tubes.py/accepter.py
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1414
1515 @SET_MAKE@
1616 VPATH = @srcdir@
17 am__make_dryrun = \
18 { \
19 am__dry=no; \
20 case $$MAKEFLAGS in \
21 *\\[\ \ ]*) \
22 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
23 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
24 *) \
25 for am__flg in $$MAKEFLAGS; do \
26 case $$am__flg in \
27 *=*|--*) ;; \
28 *n*) am__dry=yes; break;; \
29 esac; \
30 done;; \
31 esac; \
32 test $$am__dry = yes; \
33 }
1734 pkgdatadir = $(datadir)/@PACKAGE@
1835 pkgincludedir = $(includedir)/@PACKAGE@
1936 pkglibdir = $(libdir)/@PACKAGE@
5774 am__v_at_0 = @
5875 SOURCES =
5976 DIST_SOURCES =
77 am__can_run_installinfo = \
78 case $$AM_UPDATE_INFO_DIR in \
79 n|no|NO) false;; \
80 *) (install-info --version) >/dev/null 2>&1;; \
81 esac
6082 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
6183 ACLOCAL = @ACLOCAL@
6284 AMTAR = @AMTAR@
232254 inspect-cm.py \
233255 text-handler.py \
234256 file-transfer.py \
235 ft-handler.py
257 ft-handler.py \
258 stream-tubes.py/offerer.py \
259 stream-tubes.py/accepter.py
236260
237261 all: all-am
238262
0 #!/usr/bin/env python
1
2 import os
3
4 from gi.repository import GObject, Gio
5 from gi.repository import TelepathyGLib as Tp
6
7 def tube_conn_closed(tube, error):
8 print "Tube connection has been closed", error.message
9
10 def tube_accept_cb(tube, result, loop):
11 try:
12 tube_conn = tube.accept_finish(result)
13 except GObject.GError, e:
14 print "Failed to accept tube: %s" % e
15 sys.exit(1)
16
17 tube_conn.connect('closed', tube_conn_closed)
18
19 contact = tube_conn.get_contact();
20
21 print "Got IOStream to", contact.get_identifier()
22
23 conn = tube_conn.get_socket_connection();
24
25 # g_input_stream_read() can't be used from Python so we use the more
26 # binding friendly GDataInputStream
27 in_stream = Gio.DataInputStream (base_stream=conn.get_input_stream())
28 out_stream = conn.get_output_stream()
29
30 print "Sending: Ping"
31 out_stream.write("Ping\n", None)
32
33 buf, len = in_stream.read_line_utf8(None)
34 print "Received:", buf
35
36 def tube_invalidated_cb(tube, domain, code, message, loop):
37 print "tube has been invalidated:", message
38 loop.quit()
39
40 def handle_channels_cb(handler, account, connection, channels, requests,
41 user_action_time, context, loop):
42 for channel in channels:
43 if not isinstance(channel, Tp.StreamTubeChannel):
44 continue
45
46 print "Accepting tube"
47
48 channel.connect('invalidated', tube_invalidated_cb, loop)
49
50 channel.accept_async(tube_accept_cb, loop)
51
52 context.accept()
53
54 if __name__ == '__main__':
55 Tp.debug_set_flags(os.getenv('EXAMPLE_DEBUG', ''))
56
57 loop = GObject.MainLoop()
58
59 account_manager = Tp.AccountManager.dup()
60 handler = Tp.SimpleHandler.new_with_am(account_manager, False, False,
61 'ExampleServiceHandler', False, handle_channels_cb, loop)
62
63 handler.add_handler_filter({
64 Tp.PROP_CHANNEL_CHANNEL_TYPE: Tp.IFACE_CHANNEL_TYPE_STREAM_TUBE,
65 Tp.PROP_CHANNEL_TARGET_HANDLE_TYPE: int(Tp.HandleType.CONTACT),
66 Tp.PROP_CHANNEL_TYPE_STREAM_TUBE_SERVICE: "ExampleService",
67 })
68
69 handler.register()
70
71 print "Waiting for tube offer"
72 loop.run()
0 #!/usr/bin/env python
1
2 import sys
3 import os
4
5 from gi.repository import GObject, Gio
6 from gi.repository import TelepathyGLib as Tp
7
8 def usage():
9 print "%s ACCOUNT CONTACT" % sys.argv[0]
10 print "ACCOUNT is a Telepathy account name, use 'mc-tool list' to list all your accounts"
11 print "CONTACT is a contact id such as badger@nyan.cat"
12
13 sys.exit(1)
14
15 def offer_channel_cb(tube, result, loop):
16 try:
17 tube.offer_finish(result)
18 print "tube offered"
19
20 except GObject.GError, e:
21 print "Failed to offer tube: %s" % e
22 sys.exit(1)
23
24 def tube_conn_closed(tube, error):
25 print "Tube connection has been closed", error.message
26
27 def channel_close_cb(tube, result, loop):
28 try:
29 tube.close_finish(result)
30 print "tube channel closed"
31
32 except GObject.GError, e:
33 print "Failed to close tube channel: %s" % e
34 sys.exit(1)
35
36 def tube_incoming_cb(tube, tube_conn, loop):
37 tube_conn.connect('closed', tube_conn_closed)
38
39 contact = tube_conn.get_contact();
40
41 print "Got IOStream from", contact.get_identifier()
42
43 conn = tube_conn.get_socket_connection();
44
45 # g_input_stream_read() can't be used from Python so we use the more
46 # binding friendly GDataInputStream
47 in_stream = Gio.DataInputStream (base_stream=conn.get_input_stream())
48 out_stream = conn.get_output_stream()
49
50 buf, len = in_stream.read_line_utf8(None)
51 print "Received:", buf
52
53 print "Sending: Pong"
54 out_stream.write("Pong\n", None)
55
56 tube.close_async(channel_close_cb, contact)
57
58 def tube_invalidated_cb(tube, domain, code, message, loop):
59 print "tube has been invalidated:", message
60 loop.quit()
61
62 def create_channel_cb(request, result, loop):
63 try:
64 (chan, context) = request.create_and_handle_channel_finish(result)
65
66 chan.connect('incoming', tube_incoming_cb, loop)
67 chan.connect('invalidated', tube_invalidated_cb, loop)
68
69 chan.offer_async({}, offer_channel_cb, loop)
70
71 except GObject.GError, e:
72 print "Failed to create channel: %s" % e
73 sys.exit(1)
74
75 if __name__ == '__main__':
76 Tp.debug_set_flags(os.getenv('EXAMPLE_DEBUG', ''))
77
78 if len(sys.argv) != 3:
79 usage()
80
81 _, account_id, contact_id = sys.argv
82
83 account_manager = Tp.AccountManager.dup()
84 account = account_manager.ensure_account("%s%s" %
85 (Tp.ACCOUNT_OBJECT_PATH_BASE, account_id))
86
87 request_dict = {
88 Tp.PROP_CHANNEL_CHANNEL_TYPE:
89 Tp.IFACE_CHANNEL_TYPE_STREAM_TUBE,
90 Tp.PROP_CHANNEL_TARGET_HANDLE_TYPE:
91 int(Tp.HandleType.CONTACT),
92 Tp.PROP_CHANNEL_TARGET_ID:
93 contact_id,
94
95 Tp.PROP_CHANNEL_TYPE_STREAM_TUBE_SERVICE: "ExampleService",
96 }
97
98 request = Tp.AccountChannelRequest.new(account, request_dict, 0)
99
100 loop = GObject.MainLoop()
101 request.create_and_handle_channel_async(None, create_channel_cb, loop)
102
103 loop.run()
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1515 @SET_MAKE@
1616
1717 VPATH = @srcdir@
18 am__make_dryrun = \
19 { \
20 am__dry=no; \
21 case $$MAKEFLAGS in \
22 *\\[\ \ ]*) \
23 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
24 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25 *) \
26 for am__flg in $$MAKEFLAGS; do \
27 case $$am__flg in \
28 *=*|--*) ;; \
29 *n*) am__dry=yes; break;; \
30 esac; \
31 done;; \
32 esac; \
33 test $$am__dry = yes; \
34 }
1835 pkgdatadir = $(datadir)/@PACKAGE@
1936 pkgincludedir = $(includedir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
93110 am__v_GEN_0 = @echo " GEN " $@;
94111 SOURCES = $(accepter_SOURCES) $(offerer_SOURCES)
95112 DIST_SOURCES = $(accepter_SOURCES) $(offerer_SOURCES)
113 am__can_run_installinfo = \
114 case $$AM_UPDATE_INFO_DIR in \
115 n|no|NO) false;; \
116 *) (install-info --version) >/dev/null 2>&1;; \
117 esac
96118 ETAGS = etags
97119 CTAGS = ctags
98120 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
4747 out = g_io_stream_get_output_stream (G_IO_STREAM (conn));
4848
4949 /* this bit is not a good example */
50 g_output_stream_write (out, "Ping", 4, NULL, &error);
50 g_debug ("Sending: Ping");
51 g_output_stream_write (out, "Ping\n", 5, NULL, &error);
5152 g_assert_no_error (error);
5253
5354 g_input_stream_read (in, &buf, sizeof (buf), NULL, &error);
5455 g_assert_no_error (error);
5556
56 g_debug ("Sent Ping got: %s", buf);
57 g_debug ("Received: %s", buf);
5758
5859 g_object_unref (tube_conn);
5960 g_object_unref (tube);
22 static GMainLoop *loop = NULL;
33
44 static void
5 channel_closed_cb (TpChannel *channel,
6 const GError *error,
7 gpointer user_data,
8 GObject *weak_object)
5 channel_closed_cb (GObject *object,
6 GAsyncResult *result,
7 gpointer user_data)
98 {
9 TpChannel *channel = TP_CHANNEL (object);
10 GError *error = NULL;
11
12 if (!tp_channel_close_finish (channel, result, &error))
13 {
14 g_debug ("Failed to close tube channel: %s", error->message);
15 g_error_free (error);
16 return;
17 }
18
1019 g_debug ("Tube channel closed");
1120 }
1221
4453 out = g_io_stream_get_output_stream (G_IO_STREAM (conn));
4554
4655 /* this bit is not a good example */
47 g_output_stream_write (out, "Pong", 4, NULL, &error);
56 g_input_stream_read (in, &buf, sizeof (buf), NULL, &error);
57 g_assert_no_error (error);
58 g_debug ("Received: %s", buf);
59
60 g_debug ("Sending: Pong");
61 g_output_stream_write (out, "Pong\n", 5, NULL, &error);
4862 g_assert_no_error (error);
4963
50 g_input_stream_read (in, &buf, sizeof (buf), NULL, &error);
51 g_assert_no_error (error);
52
53 g_debug ("Send Pong got: %s", buf);
54
55 tp_cli_channel_call_close (TP_CHANNEL (tube), -1, channel_closed_cb,
56 NULL, NULL, NULL);
64 tp_channel_close_async (TP_CHANNEL (tube), channel_closed_cb, NULL);
5765
5866 g_object_unref (tube);
5967 }
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1414
1515 @SET_MAKE@
1616 VPATH = @srcdir@
17 am__make_dryrun = \
18 { \
19 am__dry=no; \
20 case $$MAKEFLAGS in \
21 *\\[\ \ ]*) \
22 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
23 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
24 *) \
25 for am__flg in $$MAKEFLAGS; do \
26 case $$am__flg in \
27 *=*|--*) ;; \
28 *n*) am__dry=yes; break;; \
29 esac; \
30 done;; \
31 esac; \
32 test $$am__dry = yes; \
33 }
1734 pkgdatadir = $(datadir)/@PACKAGE@
1835 pkgincludedir = $(includedir)/@PACKAGE@
1936 pkglibdir = $(libdir)/@PACKAGE@
6481 install-pdf-recursive install-ps-recursive install-recursive \
6582 installcheck-recursive installdirs-recursive pdf-recursive \
6683 ps-recursive uninstall-recursive
84 am__can_run_installinfo = \
85 case $$AM_UPDATE_INFO_DIR in \
86 n|no|NO) false;; \
87 *) (install-info --version) >/dev/null 2>&1;; \
88 esac
6789 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
6890 distclean-recursive maintainer-clean-recursive
6991 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
481503 done
482504 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
483505 if test "$$subdir" = .; then :; else \
484 test -d "$(distdir)/$$subdir" \
485 || $(MKDIR_P) "$(distdir)/$$subdir" \
486 || exit 1; \
487 fi; \
488 done
489 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
490 if test "$$subdir" = .; then :; else \
506 $(am__make_dryrun) \
507 || test -d "$(distdir)/$$subdir" \
508 || $(MKDIR_P) "$(distdir)/$$subdir" \
509 || exit 1; \
491510 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
492511 $(am__relativize); \
493512 new_distdir=$$reldir; \
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1919
2020
2121 VPATH = @srcdir@
22 am__make_dryrun = \
23 { \
24 am__dry=no; \
25 case $$MAKEFLAGS in \
26 *\\[\ \ ]*) \
27 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
28 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
29 *) \
30 for am__flg in $$MAKEFLAGS; do \
31 case $$am__flg in \
32 *=*|--*) ;; \
33 *n*) am__dry=yes; break;; \
34 esac; \
35 done;; \
36 esac; \
37 test $$am__dry = yes; \
38 }
2239 pkgdatadir = $(datadir)/@PACKAGE@
2340 pkgincludedir = $(includedir)/@PACKAGE@
2441 pkglibdir = $(libdir)/@PACKAGE@
107124 $(telepathy_example_cm_call_SOURCES)
108125 DIST_SOURCES = $(libexample_cm_call_la_SOURCES) \
109126 $(telepathy_example_cm_call_SOURCES)
127 am__can_run_installinfo = \
128 case $$AM_UPDATE_INFO_DIR in \
129 n|no|NO) false;; \
130 *) (install-info --version) >/dev/null 2>&1;; \
131 esac
110132 am__dist_manager_DATA_DIST = example_call.manager
111133 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
112134 am__vpath_adj = case $$p in \
407429 $(AM_V_CCLD)$(LINK) $(libexample_cm_call_la_OBJECTS) $(libexample_cm_call_la_LIBADD) $(LIBS)
408430 install-libexecPROGRAMS: $(libexec_PROGRAMS)
409431 @$(NORMAL_INSTALL)
410 test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
411432 @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
433 if test -n "$$list"; then \
434 echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \
435 $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \
436 fi; \
412437 for p in $$list; do echo "$$p $$p"; done | \
413438 sed 's/$(EXEEXT)$$//' | \
414439 while read p p1; do if test -f $$p || test -f $$p1; \
504529 -rm -rf .libs _libs
505530 install-dist_managerDATA: $(dist_manager_DATA)
506531 @$(NORMAL_INSTALL)
507 test -z "$(managerdir)" || $(MKDIR_P) "$(DESTDIR)$(managerdir)"
508532 @list='$(dist_manager_DATA)'; test -n "$(managerdir)" || list=; \
533 if test -n "$$list"; then \
534 echo " $(MKDIR_P) '$(DESTDIR)$(managerdir)'"; \
535 $(MKDIR_P) "$(DESTDIR)$(managerdir)" || exit 1; \
536 fi; \
509537 for p in $$list; do \
510538 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
511539 echo "$$d$$p"; \
522550 dir='$(DESTDIR)$(managerdir)'; $(am__uninstall_files_from_dir)
523551 install-serviceDATA: $(service_DATA)
524552 @$(NORMAL_INSTALL)
525 test -z "$(servicedir)" || $(MKDIR_P) "$(DESTDIR)$(servicedir)"
526553 @list='$(service_DATA)'; test -n "$(servicedir)" || list=; \
554 if test -n "$$list"; then \
555 echo " $(MKDIR_P) '$(DESTDIR)$(servicedir)'"; \
556 $(MKDIR_P) "$(DESTDIR)$(servicedir)" || exit 1; \
557 fi; \
527558 for p in $$list; do \
528559 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
529560 echo "$$d$$p"; \
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2020
2121
2222 VPATH = @srcdir@
23 am__make_dryrun = \
24 { \
25 am__dry=no; \
26 case $$MAKEFLAGS in \
27 *\\[\ \ ]*) \
28 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
29 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
30 *) \
31 for am__flg in $$MAKEFLAGS; do \
32 case $$am__flg in \
33 *=*|--*) ;; \
34 *n*) am__dry=yes; break;; \
35 esac; \
36 done;; \
37 esac; \
38 test $$am__dry = yes; \
39 }
2340 pkgdatadir = $(datadir)/@PACKAGE@
2441 pkgincludedir = $(includedir)/@PACKAGE@
2542 pkglibdir = $(libdir)/@PACKAGE@
108125 $(telepathy_example_cm_csh_SOURCES)
109126 DIST_SOURCES = $(libexample_cm_csh_la_SOURCES) \
110127 $(telepathy_example_cm_csh_SOURCES)
128 am__can_run_installinfo = \
129 case $$AM_UPDATE_INFO_DIR in \
130 n|no|NO) false;; \
131 *) (install-info --version) >/dev/null 2>&1;; \
132 esac
111133 am__dist_manager_DATA_DIST = example_csh.manager
112134 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
113135 am__vpath_adj = case $$p in \
404426 $(AM_V_CCLD)$(LINK) $(libexample_cm_csh_la_OBJECTS) $(libexample_cm_csh_la_LIBADD) $(LIBS)
405427 install-libexecPROGRAMS: $(libexec_PROGRAMS)
406428 @$(NORMAL_INSTALL)
407 test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
408429 @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
430 if test -n "$$list"; then \
431 echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \
432 $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \
433 fi; \
409434 for p in $$list; do echo "$$p $$p"; done | \
410435 sed 's/$(EXEEXT)$$//' | \
411436 while read p p1; do if test -f $$p || test -f $$p1; \
499524 -rm -rf .libs _libs
500525 install-dist_managerDATA: $(dist_manager_DATA)
501526 @$(NORMAL_INSTALL)
502 test -z "$(managerdir)" || $(MKDIR_P) "$(DESTDIR)$(managerdir)"
503527 @list='$(dist_manager_DATA)'; test -n "$(managerdir)" || list=; \
528 if test -n "$$list"; then \
529 echo " $(MKDIR_P) '$(DESTDIR)$(managerdir)'"; \
530 $(MKDIR_P) "$(DESTDIR)$(managerdir)" || exit 1; \
531 fi; \
504532 for p in $$list; do \
505533 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
506534 echo "$$d$$p"; \
517545 dir='$(DESTDIR)$(managerdir)'; $(am__uninstall_files_from_dir)
518546 install-serviceDATA: $(service_DATA)
519547 @$(NORMAL_INSTALL)
520 test -z "$(servicedir)" || $(MKDIR_P) "$(DESTDIR)$(servicedir)"
521548 @list='$(service_DATA)'; test -n "$(servicedir)" || list=; \
549 if test -n "$$list"; then \
550 echo " $(MKDIR_P) '$(DESTDIR)$(servicedir)'"; \
551 $(MKDIR_P) "$(DESTDIR)$(servicedir)" || exit 1; \
552 fi; \
522553 for p in $$list; do \
523554 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
524555 echo "$$d$$p"; \
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1919
2020
2121 VPATH = @srcdir@
22 am__make_dryrun = \
23 { \
24 am__dry=no; \
25 case $$MAKEFLAGS in \
26 *\\[\ \ ]*) \
27 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
28 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
29 *) \
30 for am__flg in $$MAKEFLAGS; do \
31 case $$am__flg in \
32 *=*|--*) ;; \
33 *n*) am__dry=yes; break;; \
34 esac; \
35 done;; \
36 esac; \
37 test $$am__dry = yes; \
38 }
2239 pkgdatadir = $(datadir)/@PACKAGE@
2340 pkgincludedir = $(includedir)/@PACKAGE@
2441 pkglibdir = $(libdir)/@PACKAGE@
108125 $(telepathy_example_cm_contactlist_SOURCES)
109126 DIST_SOURCES = $(libexample_cm_contactlist_la_SOURCES) \
110127 $(telepathy_example_cm_contactlist_SOURCES)
128 am__can_run_installinfo = \
129 case $$AM_UPDATE_INFO_DIR in \
130 n|no|NO) false;; \
131 *) (install-info --version) >/dev/null 2>&1;; \
132 esac
111133 am__dist_manager_DATA_DIST = example_contact_list.manager
112134 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
113135 am__vpath_adj = case $$p in \
398420 $(AM_V_CCLD)$(LINK) $(libexample_cm_contactlist_la_OBJECTS) $(libexample_cm_contactlist_la_LIBADD) $(LIBS)
399421 install-libexecPROGRAMS: $(libexec_PROGRAMS)
400422 @$(NORMAL_INSTALL)
401 test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
402423 @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
424 if test -n "$$list"; then \
425 echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \
426 $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \
427 fi; \
403428 for p in $$list; do echo "$$p $$p"; done | \
404429 sed 's/$(EXEEXT)$$//' | \
405430 while read p p1; do if test -f $$p || test -f $$p1; \
492517 -rm -rf .libs _libs
493518 install-dist_managerDATA: $(dist_manager_DATA)
494519 @$(NORMAL_INSTALL)
495 test -z "$(managerdir)" || $(MKDIR_P) "$(DESTDIR)$(managerdir)"
496520 @list='$(dist_manager_DATA)'; test -n "$(managerdir)" || list=; \
521 if test -n "$$list"; then \
522 echo " $(MKDIR_P) '$(DESTDIR)$(managerdir)'"; \
523 $(MKDIR_P) "$(DESTDIR)$(managerdir)" || exit 1; \
524 fi; \
497525 for p in $$list; do \
498526 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
499527 echo "$$d$$p"; \
510538 dir='$(DESTDIR)$(managerdir)'; $(am__uninstall_files_from_dir)
511539 install-serviceDATA: $(service_DATA)
512540 @$(NORMAL_INSTALL)
513 test -z "$(servicedir)" || $(MKDIR_P) "$(DESTDIR)$(servicedir)"
514541 @list='$(service_DATA)'; test -n "$(servicedir)" || list=; \
542 if test -n "$$list"; then \
543 echo " $(MKDIR_P) '$(DESTDIR)$(servicedir)'"; \
544 $(MKDIR_P) "$(DESTDIR)$(servicedir)" || exit 1; \
545 fi; \
515546 for p in $$list; do \
516547 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
517548 echo "$$d$$p"; \
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1717
1818
1919 VPATH = @srcdir@
20 am__make_dryrun = \
21 { \
22 am__dry=no; \
23 case $$MAKEFLAGS in \
24 *\\[\ \ ]*) \
25 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
26 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
27 *) \
28 for am__flg in $$MAKEFLAGS; do \
29 case $$am__flg in \
30 *=*|--*) ;; \
31 *n*) am__dry=yes; break;; \
32 esac; \
33 done;; \
34 esac; \
35 test $$am__dry = yes; \
36 }
2037 pkgdatadir = $(datadir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
2239 pkglibdir = $(libdir)/@PACKAGE@
106123 $(telepathy_example_cm_echo_2_SOURCES)
107124 DIST_SOURCES = $(libexample_cm_echo_2_la_SOURCES) \
108125 $(telepathy_example_cm_echo_2_SOURCES)
126 am__can_run_installinfo = \
127 case $$AM_UPDATE_INFO_DIR in \
128 n|no|NO) false;; \
129 *) (install-info --version) >/dev/null 2>&1;; \
130 esac
109131 am__dist_manager_DATA_DIST = example_echo_2.manager
110132 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
111133 am__vpath_adj = case $$p in \
402424 $(AM_V_CCLD)$(LINK) $(libexample_cm_echo_2_la_OBJECTS) $(libexample_cm_echo_2_la_LIBADD) $(LIBS)
403425 install-libexecPROGRAMS: $(libexec_PROGRAMS)
404426 @$(NORMAL_INSTALL)
405 test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
406427 @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
428 if test -n "$$list"; then \
429 echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \
430 $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \
431 fi; \
407432 for p in $$list; do echo "$$p $$p"; done | \
408433 sed 's/$(EXEEXT)$$//' | \
409434 while read p p1; do if test -f $$p || test -f $$p1; \
497522 -rm -rf .libs _libs
498523 install-dist_managerDATA: $(dist_manager_DATA)
499524 @$(NORMAL_INSTALL)
500 test -z "$(managerdir)" || $(MKDIR_P) "$(DESTDIR)$(managerdir)"
501525 @list='$(dist_manager_DATA)'; test -n "$(managerdir)" || list=; \
526 if test -n "$$list"; then \
527 echo " $(MKDIR_P) '$(DESTDIR)$(managerdir)'"; \
528 $(MKDIR_P) "$(DESTDIR)$(managerdir)" || exit 1; \
529 fi; \
502530 for p in $$list; do \
503531 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
504532 echo "$$d$$p"; \
515543 dir='$(DESTDIR)$(managerdir)'; $(am__uninstall_files_from_dir)
516544 install-serviceDATA: $(service_DATA)
517545 @$(NORMAL_INSTALL)
518 test -z "$(servicedir)" || $(MKDIR_P) "$(DESTDIR)$(servicedir)"
519546 @list='$(service_DATA)'; test -n "$(servicedir)" || list=; \
547 if test -n "$$list"; then \
548 echo " $(MKDIR_P) '$(DESTDIR)$(servicedir)'"; \
549 $(MKDIR_P) "$(DESTDIR)$(servicedir)" || exit 1; \
550 fi; \
520551 for p in $$list; do \
521552 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
522553 echo "$$d$$p"; \
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1616
1717
1818 VPATH = @srcdir@
19 am__make_dryrun = \
20 { \
21 am__dry=no; \
22 case $$MAKEFLAGS in \
23 *\\[\ \ ]*) \
24 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
25 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
26 *) \
27 for am__flg in $$MAKEFLAGS; do \
28 case $$am__flg in \
29 *=*|--*) ;; \
30 *n*) am__dry=yes; break;; \
31 esac; \
32 done;; \
33 esac; \
34 test $$am__dry = yes; \
35 }
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkgincludedir = $(includedir)/@PACKAGE@
2138 pkglibdir = $(libdir)/@PACKAGE@
99116 am__v_GEN_0 = @echo " GEN " $@;
100117 SOURCES = $(telepathy_example_cm_extended_SOURCES)
101118 DIST_SOURCES = $(telepathy_example_cm_extended_SOURCES)
119 am__can_run_installinfo = \
120 case $$AM_UPDATE_INFO_DIR in \
121 n|no|NO) false;; \
122 *) (install-info --version) >/dev/null 2>&1;; \
123 esac
102124 am__dist_manager_DATA_DIST = example_extended.manager
103125 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
104126 am__vpath_adj = case $$p in \
374396 $(am__aclocal_m4_deps):
375397 install-libexecPROGRAMS: $(libexec_PROGRAMS)
376398 @$(NORMAL_INSTALL)
377 test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
378399 @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
400 if test -n "$$list"; then \
401 echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \
402 $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \
403 fi; \
379404 for p in $$list; do echo "$$p $$p"; done | \
380405 sed 's/$(EXEEXT)$$//' | \
381406 while read p p1; do if test -f $$p || test -f $$p1; \
467492 -rm -rf .libs _libs
468493 install-dist_managerDATA: $(dist_manager_DATA)
469494 @$(NORMAL_INSTALL)
470 test -z "$(managerdir)" || $(MKDIR_P) "$(DESTDIR)$(managerdir)"
471495 @list='$(dist_manager_DATA)'; test -n "$(managerdir)" || list=; \
496 if test -n "$$list"; then \
497 echo " $(MKDIR_P) '$(DESTDIR)$(managerdir)'"; \
498 $(MKDIR_P) "$(DESTDIR)$(managerdir)" || exit 1; \
499 fi; \
472500 for p in $$list; do \
473501 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
474502 echo "$$d$$p"; \
485513 dir='$(DESTDIR)$(managerdir)'; $(am__uninstall_files_from_dir)
486514 install-serviceDATA: $(service_DATA)
487515 @$(NORMAL_INSTALL)
488 test -z "$(servicedir)" || $(MKDIR_P) "$(DESTDIR)$(servicedir)"
489516 @list='$(service_DATA)'; test -n "$(servicedir)" || list=; \
517 if test -n "$$list"; then \
518 echo " $(MKDIR_P) '$(DESTDIR)$(servicedir)'"; \
519 $(MKDIR_P) "$(DESTDIR)$(servicedir)" || exit 1; \
520 fi; \
490521 for p in $$list; do \
491522 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
492523 echo "$$d$$p"; \
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1616
1717
1818 VPATH = @srcdir@
19 am__make_dryrun = \
20 { \
21 am__dry=no; \
22 case $$MAKEFLAGS in \
23 *\\[\ \ ]*) \
24 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
25 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
26 *) \
27 for am__flg in $$MAKEFLAGS; do \
28 case $$am__flg in \
29 *=*|--*) ;; \
30 *n*) am__dry=yes; break;; \
31 esac; \
32 done;; \
33 esac; \
34 test $$am__dry = yes; \
35 }
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkgincludedir = $(includedir)/@PACKAGE@
2138 pkglibdir = $(libdir)/@PACKAGE@
98115 am__v_GEN_0 = @echo " GEN " $@;
99116 SOURCES = $(telepathy_example_no_protocols_SOURCES)
100117 DIST_SOURCES = $(telepathy_example_no_protocols_SOURCES)
118 am__can_run_installinfo = \
119 case $$AM_UPDATE_INFO_DIR in \
120 n|no|NO) false;; \
121 *) (install-info --version) >/dev/null 2>&1;; \
122 esac
101123 am__dist_manager_DATA_DIST = example_no_protocols.manager
102124 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
103125 am__vpath_adj = case $$p in \
368390 $(am__aclocal_m4_deps):
369391 install-libexecPROGRAMS: $(libexec_PROGRAMS)
370392 @$(NORMAL_INSTALL)
371 test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
372393 @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
394 if test -n "$$list"; then \
395 echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \
396 $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \
397 fi; \
373398 for p in $$list; do echo "$$p $$p"; done | \
374399 sed 's/$(EXEEXT)$$//' | \
375400 while read p p1; do if test -f $$p || test -f $$p1; \
459484 -rm -rf .libs _libs
460485 install-dist_managerDATA: $(dist_manager_DATA)
461486 @$(NORMAL_INSTALL)
462 test -z "$(managerdir)" || $(MKDIR_P) "$(DESTDIR)$(managerdir)"
463487 @list='$(dist_manager_DATA)'; test -n "$(managerdir)" || list=; \
488 if test -n "$$list"; then \
489 echo " $(MKDIR_P) '$(DESTDIR)$(managerdir)'"; \
490 $(MKDIR_P) "$(DESTDIR)$(managerdir)" || exit 1; \
491 fi; \
464492 for p in $$list; do \
465493 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
466494 echo "$$d$$p"; \
477505 dir='$(DESTDIR)$(managerdir)'; $(am__uninstall_files_from_dir)
478506 install-serviceDATA: $(service_DATA)
479507 @$(NORMAL_INSTALL)
480 test -z "$(servicedir)" || $(MKDIR_P) "$(DESTDIR)$(servicedir)"
481508 @list='$(service_DATA)'; test -n "$(servicedir)" || list=; \
509 if test -n "$$list"; then \
510 echo " $(MKDIR_P) '$(DESTDIR)$(servicedir)'"; \
511 $(MKDIR_P) "$(DESTDIR)$(servicedir)" || exit 1; \
512 fi; \
482513 for p in $$list; do \
483514 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
484515 echo "$$d$$p"; \
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2424 # that will work on TpProxy or any subclass of TpProxy.
2525
2626 VPATH = @srcdir@
27 am__make_dryrun = \
28 { \
29 am__dry=no; \
30 case $$MAKEFLAGS in \
31 *\\[\ \ ]*) \
32 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
33 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
34 *) \
35 for am__flg in $$MAKEFLAGS; do \
36 case $$am__flg in \
37 *=*|--*) ;; \
38 *n*) am__dry=yes; break;; \
39 esac; \
40 done;; \
41 esac; \
42 test $$am__dry = yes; \
43 }
2744 pkgdatadir = $(datadir)/@PACKAGE@
2845 pkgincludedir = $(includedir)/@PACKAGE@
2946 pkglibdir = $(libdir)/@PACKAGE@
101118 SOURCES = $(libexample_extensions_la_SOURCES) \
102119 $(nodist_libexample_extensions_la_SOURCES)
103120 DIST_SOURCES = $(libexample_extensions_la_SOURCES)
121 am__can_run_installinfo = \
122 case $$AM_UPDATE_INFO_DIR in \
123 n|no|NO) false;; \
124 *) (install-info --version) >/dev/null 2>&1;; \
125 esac
104126 ETAGS = etags
105127 CTAGS = ctags
106128 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1414
1515 @SET_MAKE@
1616 VPATH = @srcdir@
17 am__make_dryrun = \
18 { \
19 am__dry=no; \
20 case $$MAKEFLAGS in \
21 *\\[\ \ ]*) \
22 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
23 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
24 *) \
25 for am__flg in $$MAKEFLAGS; do \
26 case $$am__flg in \
27 *=*|--*) ;; \
28 *n*) am__dry=yes; break;; \
29 esac; \
30 done;; \
31 esac; \
32 test $$am__dry = yes; \
33 }
1734 pkgdatadir = $(datadir)/@PACKAGE@
1835 pkgincludedir = $(includedir)/@PACKAGE@
1936 pkglibdir = $(libdir)/@PACKAGE@
5774 am__v_at_0 = @
5875 SOURCES =
5976 DIST_SOURCES =
77 am__can_run_installinfo = \
78 case $$AM_UPDATE_INFO_DIR in \
79 n|no|NO) false;; \
80 *) (install-info --version) >/dev/null 2>&1;; \
81 esac
6082 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
6183 ACLOCAL = @ACLOCAL@
6284 AMTAR = @AMTAR@
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1414
1515 @SET_MAKE@
1616 VPATH = @srcdir@
17 am__make_dryrun = \
18 { \
19 am__dry=no; \
20 case $$MAKEFLAGS in \
21 *\\[\ \ ]*) \
22 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
23 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
24 *) \
25 for am__flg in $$MAKEFLAGS; do \
26 case $$am__flg in \
27 *=*|--*) ;; \
28 *n*) am__dry=yes; break;; \
29 esac; \
30 done;; \
31 esac; \
32 test $$am__dry = yes; \
33 }
1734 pkgdatadir = $(datadir)/@PACKAGE@
1835 pkgincludedir = $(includedir)/@PACKAGE@
1936 pkglibdir = $(libdir)/@PACKAGE@
5774 am__v_at_0 = @
5875 SOURCES =
5976 DIST_SOURCES =
77 am__can_run_installinfo = \
78 case $$AM_UPDATE_INFO_DIR in \
79 n|no|NO) false;; \
80 *) (install-info --version) >/dev/null 2>&1;; \
81 esac
6082 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
6183 ACLOCAL = @ACLOCAL@
6284 AMTAR = @AMTAR@
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2323
2424
2525 VPATH = @srcdir@
26 am__make_dryrun = \
27 { \
28 am__dry=no; \
29 case $$MAKEFLAGS in \
30 *\\[\ \ ]*) \
31 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
32 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
33 *) \
34 for am__flg in $$MAKEFLAGS; do \
35 case $$am__flg in \
36 *=*|--*) ;; \
37 *n*) am__dry=yes; break;; \
38 esac; \
39 done;; \
40 esac; \
41 test $$am__dry = yes; \
42 }
2643 pkgdatadir = $(datadir)/@PACKAGE@
2744 pkgincludedir = $(includedir)/@PACKAGE@
2845 pkglibdir = $(libdir)/@PACKAGE@
197214 $(nodist_libtelepathy_glib_internal_la_SOURCES) \
198215 $(nodist_libtelepathy_glib_la_SOURCES)
199216 DIST_SOURCES = $(libtelepathy_glib_internal_la_SOURCES)
217 am__can_run_installinfo = \
218 case $$AM_UPDATE_INFO_DIR in \
219 n|no|NO) false;; \
220 *) (install-info --version) >/dev/null 2>&1;; \
221 esac
200222 am__dist_gir_DATA_DIST = TelepathyGLib-0.12.gir
201223 DATA = $(dist_gir_DATA) $(pkgconfig_DATA) $(typelibs_DATA)
202224 HEADERS = $(nodist_geninclude_HEADERS) $(tpginclude_HEADERS)
966988 @HAVE_INTROSPECTION_TRUE@ _gen/telepathy-interfaces.h \
967989 @HAVE_INTROSPECTION_TRUE@ $(NULL)
968990
969 @HAVE_INTROSPECTION_TRUE@@OFFICIAL_RELEASE_FALSE@SCANNER_WARN_ERROR = --warn-error
970 @HAVE_INTROSPECTION_TRUE@@OFFICIAL_RELEASE_TRUE@SCANNER_WARN_ERROR =
971991 @HAVE_INTROSPECTION_TRUE@TelepathyGLib_0_12_gir_NAMESPACE = TelepathyGLib
972992 @HAVE_INTROSPECTION_TRUE@TelepathyGLib_0_12_gir_VERSION = 0.12
973993 @HAVE_INTROSPECTION_TRUE@TelepathyGLib_0_12_gir_LIBS = libtelepathy-glib.la
978998 @HAVE_INTROSPECTION_TRUE@ -I$(top_srcdir) \
979999 @HAVE_INTROSPECTION_TRUE@ --c-include="telepathy-glib/telepathy-glib.h" \
9801000 @HAVE_INTROSPECTION_TRUE@ --warn-all \
981 @HAVE_INTROSPECTION_TRUE@ $(SCANNER_WARN_ERROR) \
9821001 @HAVE_INTROSPECTION_TRUE@ $(NULL)
9831002
9841003 @HAVE_INTROSPECTION_TRUE@TelepathyGLib_0_12_gir_INCLUDES = \
10371056 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
10381057 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
10391058 @$(NORMAL_INSTALL)
1040 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
10411059 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
10421060 list2=; for p in $$list; do \
10431061 if test -f $$p; then \
10451063 else :; fi; \
10461064 done; \
10471065 test -z "$$list2" || { \
1066 echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
1067 $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
10481068 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
10491069 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
10501070 }
13811401 -rm -rf .libs _libs
13821402 install-dist_girDATA: $(dist_gir_DATA)
13831403 @$(NORMAL_INSTALL)
1384 test -z "$(girdir)" || $(MKDIR_P) "$(DESTDIR)$(girdir)"
13851404 @list='$(dist_gir_DATA)'; test -n "$(girdir)" || list=; \
1405 if test -n "$$list"; then \
1406 echo " $(MKDIR_P) '$(DESTDIR)$(girdir)'"; \
1407 $(MKDIR_P) "$(DESTDIR)$(girdir)" || exit 1; \
1408 fi; \
13861409 for p in $$list; do \
13871410 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
13881411 echo "$$d$$p"; \
13991422 dir='$(DESTDIR)$(girdir)'; $(am__uninstall_files_from_dir)
14001423 install-pkgconfigDATA: $(pkgconfig_DATA)
14011424 @$(NORMAL_INSTALL)
1402 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
14031425 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
1426 if test -n "$$list"; then \
1427 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
1428 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
1429 fi; \
14041430 for p in $$list; do \
14051431 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
14061432 echo "$$d$$p"; \
14171443 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
14181444 install-typelibsDATA: $(typelibs_DATA)
14191445 @$(NORMAL_INSTALL)
1420 test -z "$(typelibsdir)" || $(MKDIR_P) "$(DESTDIR)$(typelibsdir)"
14211446 @list='$(typelibs_DATA)'; test -n "$(typelibsdir)" || list=; \
1447 if test -n "$$list"; then \
1448 echo " $(MKDIR_P) '$(DESTDIR)$(typelibsdir)'"; \
1449 $(MKDIR_P) "$(DESTDIR)$(typelibsdir)" || exit 1; \
1450 fi; \
14221451 for p in $$list; do \
14231452 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
14241453 echo "$$d$$p"; \
14351464 dir='$(DESTDIR)$(typelibsdir)'; $(am__uninstall_files_from_dir)
14361465 install-nodist_genincludeHEADERS: $(nodist_geninclude_HEADERS)
14371466 @$(NORMAL_INSTALL)
1438 test -z "$(genincludedir)" || $(MKDIR_P) "$(DESTDIR)$(genincludedir)"
14391467 @list='$(nodist_geninclude_HEADERS)'; test -n "$(genincludedir)" || list=; \
1468 if test -n "$$list"; then \
1469 echo " $(MKDIR_P) '$(DESTDIR)$(genincludedir)'"; \
1470 $(MKDIR_P) "$(DESTDIR)$(genincludedir)" || exit 1; \
1471 fi; \
14401472 for p in $$list; do \
14411473 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
14421474 echo "$$d$$p"; \
14531485 dir='$(DESTDIR)$(genincludedir)'; $(am__uninstall_files_from_dir)
14541486 install-tpgincludeHEADERS: $(tpginclude_HEADERS)
14551487 @$(NORMAL_INSTALL)
1456 test -z "$(tpgincludedir)" || $(MKDIR_P) "$(DESTDIR)$(tpgincludedir)"
14571488 @list='$(tpginclude_HEADERS)'; test -n "$(tpgincludedir)" || list=; \
1489 if test -n "$$list"; then \
1490 echo " $(MKDIR_P) '$(DESTDIR)$(tpgincludedir)'"; \
1491 $(MKDIR_P) "$(DESTDIR)$(tpgincludedir)" || exit 1; \
1492 fi; \
14581493 for p in $$list; do \
14591494 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
14601495 echo "$$d$$p"; \
5454 <type name="utf8" c:type="gchar*"/>
5555 </constant>
5656 <enumeration name="AccessControlType" c:type="TpAccessControlType">
57 <doc xml:whitespace="preserve">&lt;![CDATA[ A type for communication access control. These control policies are used in CommunicationPolicy.DRAFT as well as most rich presence interfaces. New interfaces should use this type, and NOT Rich_Presence_Access_Control_Type. ]]&gt;
58
59 Bitfield/set of flags generated from the Telepathy specification.</doc>
5760 <member name="whitelist"
5861 value="0"
5962 c:identifier="TP_ACCESS_CONTROL_TYPE_WHITELIST"/>
33253328 which use a custom #TpSimpleClientFactory and want the default
33263329 #TpAccountManager to use that factory should call this after calling
33273330 tp_account_manager_new_with_factory().
3331
3332 Unlike tp_account_manager_dup(), this function will keep an internal
3333 reference to @manager, so it will never be destroyed.
33283334
33293335 Note that @manager must use the default #TpDBusDaemon as returned by
33303336 tp_dbus_daemon_dup()</doc>
35693575 disguised="1">
35703576 </record>
35713577 <bitfield name="AnonymityModeFlags" c:type="TpAnonymityModeFlags">
3578 <doc xml:whitespace="preserve">&lt;![CDATA[ Flags for the various types of anonymity modes. These modes are solely to inform the CM of the desired anonymous settings. It is up to the CM to determine whether the anonymity modes should be handled within the CM itself, or whether the network that a CM might be talking to should be enforcing anonymity. CMs MAY support only a subset of these modes, and specific connections MAY support none at all. ]]&gt;
3579
3580 Bitfield/set of flags generated from the Telepathy specification.</doc>
35723581 <member name="client_info"
35733582 value="1"
35743583 c:identifier="TP_ANONYMITY_MODE_CLIENT_INFO"/>
42854294 </method>
42864295 <method name="get_dbus_daemon"
42874296 c:identifier="tp_base_client_get_dbus_daemon"
4288 version="0.11.11"
4289 introspectable="0">
4297 version="0.11.11">
42904298 <doc xml:whitespace="preserve">Return the #TpBaseClient:dbus-daemon construct-only property, which
42914299 represents the D-Bus connection used to export this client object.
42924300
43134321 </method>
43144322 <method name="get_name"
43154323 c:identifier="tp_base_client_get_name"
4316 version="0.11.11"
4317 introspectable="0">
4324 version="0.11.11">
43184325 <doc xml:whitespace="preserve">Return the #TpBaseClient:name construct-only property, which is used as
43194326 part of the bus name and object path.</doc>
43204327 <return-value transfer-ownership="none">
43504357 </method>
43514358 <method name="get_uniquify_name"
43524359 c:identifier="tp_base_client_get_uniquify_name"
4353 version="0.11.11"
4354 introspectable="0">
4360 version="0.11.11">
43554361 <doc xml:whitespace="preserve">Return the #TpBaseClient:uniquify-name construct-only property; if this
43564362 is true, the bus name and object path will be made unique by appending
43574363 a suffix that includes the D-Bus unique name and a per-process counter.</doc>
67546760 </record>
67556761 <enumeration name="CallContentDisposition"
67566762 c:type="TpCallContentDisposition">
6763 <doc xml:whitespace="preserve">&lt;![CDATA[ The disposition of this content, which defines whether to automatically start sending data on the streams when Accept is called on the channel. ]]&gt;
6764
6765 Bitfield/set of flags generated from the Telepathy specification.</doc>
67576766 <member name="none"
67586767 value="0"
67596768 c:identifier="TP_CALL_CONTENT_DISPOSITION_NONE"/>
67636772 </enumeration>
67646773 <enumeration name="CallContentPacketizationType"
67656774 c:type="TpCallContentPacketizationType">
6775 <doc xml:whitespace="preserve">&lt;![CDATA[ A packetization method that can be used for a content. ]]&gt;
6776
6777 Bitfield/set of flags generated from the Telepathy specification.</doc>
67666778 <member name="rtp"
67676779 value="0"
67686780 c:identifier="TP_CALL_CONTENT_PACKETIZATION_TYPE_RTP"/>
67786790 disguised="1">
67796791 </record>
67806792 <bitfield name="CallFlags" c:type="TpCallFlags">
6793 <doc xml:whitespace="preserve">&lt;![CDATA[ A set of flags representing additional information than is available in CallState. Many of these flags only make sense in a particular (or may explain why a call is in a specific state). ]]&gt;
6794
6795 Bitfield/set of flags generated from the Telepathy specification.</doc>
67816796 <member name="locally_held"
67826797 value="1"
67836798 c:identifier="TP_CALL_FLAG_LOCALLY_HELD"/>
67936808 <member name="clearing" value="16" c:identifier="TP_CALL_FLAG_CLEARING"/>
67946809 </bitfield>
67956810 <bitfield name="CallMemberFlags" c:type="TpCallMemberFlags">
6811 <doc xml:whitespace="preserve">&lt;![CDATA[ A set of flags representing the status of a remote contact in a call. It is protocol- and client-specific whether a particular contact will ever have a particular flag set on them, and Telepathy clients SHOULD NOT assume that a flag will ever be set. 180 Ringing in SIP, and its equivalent in XMPP, are optional informational messages, and implementations are not required to send them. The same applies to the messages used to indicate hold state. ]]&gt;
6812
6813 Bitfield/set of flags generated from the Telepathy specification.</doc>
67966814 <member name="ringing"
67976815 value="1"
67986816 c:identifier="TP_CALL_MEMBER_FLAG_RINGING"/>
68026820 c:identifier="TP_CALL_MEMBER_FLAG_CONFERENCE_HOST"/>
68036821 </bitfield>
68046822 <enumeration name="CallState" c:type="TpCallState">
6823 <doc xml:whitespace="preserve">&lt;![CDATA[ The state of a call, as a whole. The allowed transitions are: Pending_Initiator → Initialising (for outgoing calls, when Accept is called) Initialising → Initialised (for outgoing calls, when the remote client indicates that the user has been notified about the call. If the network is known not to provide feedback about whether the remote side is ringing, then the call should immediately be set to Ringing. Initialising → Initialised (for incoming calls, when e.g. the implementation has been initialised far enough that it is sensible to notify the user about the call (to reduce the probability that the user will pick up the call and have it immediately fail). The UI should then alert the user about the call, and call SetRinging) Initialised → Accepted (for outgoing calls to a contact, when the remote contact accepts the call; for incoming calls, when Accept is called.) Accepted → Active (when the local user successfully joins the call/conference, and media is known to be flowing successfully; also, when temporary connection problems are resolved (See below)). If the network is known not to provide feedback about when the call is properly connected, the call should immediately be set to Active. Active → Accepted (when there are temporary connection problems that the CM is aware of and able to recover from) any state → Ended (when the call is terminated normally, or when an error occurs that the CM is unable to recover from) Clients MAY consider unknown values from this enum to be an error - additional values will not be defined after the Call specification is declared to be stable. ]]&gt;
6824
6825 Bitfield/set of flags generated from the Telepathy specification.</doc>
68056826 <member name="unknown" value="0" c:identifier="TP_CALL_STATE_UNKNOWN"/>
68066827 <member name="pending_initiator"
68076828 value="1"
68176838 <member name="ended" value="6" c:identifier="TP_CALL_STATE_ENDED"/>
68186839 </enumeration>
68196840 <enumeration name="CallStateChangeReason" c:type="TpCallStateChangeReason">
6841 <doc xml:whitespace="preserve">&lt;![CDATA[ A simple representation of the reason for a change in the call's state, which may be used by simple clients, or used as a fallback when the DBus_Reason member of a Call_State_Reason struct is not understood. ]]&gt;
6842
6843 Bitfield/set of flags generated from the Telepathy specification.</doc>
68206844 <member name="unknown"
68216845 value="0"
68226846 c:identifier="TP_CALL_STATE_CHANGE_REASON_UNKNOWN"/>
71357159 </class>
71367160 <enumeration name="CallStreamCandidateType"
71377161 c:type="TpCallStreamCandidateType">
7162 <doc xml:whitespace="preserve">&lt;![CDATA[ The network topology that an IP candidate represents. This can sometimes be used to infer what kind of performance characteristics (latency, bandwith, etc) can be expected of connections made to this candidate. ]]&gt;
7163
7164 Bitfield/set of flags generated from the Telepathy specification.</doc>
71387165 <member name="none"
71397166 value="0"
71407167 c:identifier="TP_CALL_STREAM_CANDIDATE_TYPE_NONE"/>
74737500 disguised="1">
74747501 </record>
74757502 <enumeration name="CaptchaCancelReason" c:type="TpCaptchaCancelReason">
7503 <doc xml:whitespace="preserve">&lt;![CDATA[ A reason why captcha authentication was aborted by the client. ]]&gt;
7504
7505 Bitfield/set of flags generated from the Telepathy specification.</doc>
74767506 <member name="user_cancelled"
74777507 value="0"
74787508 c:identifier="TP_CAPTCHA_CANCEL_REASON_USER_CANCELLED"/>
74847514 c:identifier="TP_CAPTCHA_CANCEL_REASON_SERVICE_CONFUSED"/>
74857515 </enumeration>
74867516 <bitfield name="CaptchaFlags" c:type="TpCaptchaFlags">
7517 <doc xml:whitespace="preserve">&lt;![CDATA[ Extra flags to include with Captcha information ]]&gt;
7518
7519 Bitfield/set of flags generated from the Telepathy specification.</doc>
74877520 <member name="captcha_flags_required"
74887521 value="1"
74897522 c:identifier="TP_CAPTCHA_FLAGS_REQUIRED"/>
74907523 </bitfield>
74917524 <enumeration name="CaptchaStatus" c:type="TpCaptchaStatus">
7525 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
74927526 <member name="local_pending"
74937527 value="0"
74947528 c:identifier="TP_CAPTCHA_STATUS_LOCAL_PENDING"/>
79027936 </method>
79037937 <method name="get_requested"
79047938 c:identifier="tp_channel_get_requested"
7905 version="0.11.15"
7906 introspectable="0">
7939 version="0.11.15">
79077940 <doc xml:whitespace="preserve">Return the #TpChannel:requested property</doc>
79087941 <return-value transfer-ownership="none">
79097942 <doc xml:whitespace="preserve">the value of #TpChannel:requested</doc>
88478880 </glib:signal>
88488881 </class>
88498882 <bitfield name="ChannelCallStateFlags" c:type="TpChannelCallStateFlags">
8883 <doc xml:whitespace="preserve">&lt;![CDATA[ A set of flags representing call states. ]]&gt;
8884
8885 Bitfield/set of flags generated from the Telepathy specification.</doc>
88508886 <member name="ringing"
88518887 value="1"
88528888 c:identifier="TP_CHANNEL_CALL_STATE_RINGING"/>
88658901 c:identifier="TP_CHANNEL_CALL_STATE_CONFERENCE_HOST"/>
88668902 </bitfield>
88678903 <enumeration name="ChannelChatState" c:type="TpChannelChatState">
8904 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
88688905 <member name="gone" value="0" c:identifier="TP_CHANNEL_CHAT_STATE_GONE"/>
88698906 <member name="inactive"
88708907 value="1"
89068943 </record>
89078944 <enumeration name="ChannelContactSearchState"
89088945 c:type="TpChannelContactSearchState">
8946 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
89098947 <member name="not_started"
89108948 value="0"
89118949 c:identifier="TP_CHANNEL_CONTACT_SEARCH_STATE_NOT_STARTED"/>
97719809 </record>
97729810 <enumeration name="ChannelGroupChangeReason"
97739811 c:type="TpChannelGroupChangeReason">
9812 <doc xml:whitespace="preserve">&lt;![CDATA[ The reason for a set of handles to move to one of Members, LocalPendingMembers or RemotePendingMembers, or to be removed from the group. A client may supply a reason when attempting to remove members from a group with RemoveMembersWithReason, and reasons are supplied by the CM when emitting MembersChanged and MembersChangedDetailed. Some reason codes have different meanings depending on the Actor in a MembersChanged signal. ]]&gt;
9813
9814 Bitfield/set of flags generated from the Telepathy specification.</doc>
97749815 <member name="none"
97759816 value="0"
97769817 c:identifier="TP_CHANNEL_GROUP_CHANGE_REASON_NONE"/>
98099850 c:identifier="TP_CHANNEL_GROUP_CHANGE_REASON_SEPARATED"/>
98109851 </enumeration>
98119852 <bitfield name="ChannelGroupFlags" c:type="TpChannelGroupFlags">
9853 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
98129854 <member name="can_add"
98139855 value="1"
98149856 c:identifier="TP_CHANNEL_GROUP_FLAG_CAN_ADD"/>
98759917 </record>
98769918 <bitfield name="ChannelMediaCapabilities"
98779919 c:type="TpChannelMediaCapabilities">
9920 <doc xml:whitespace="preserve">&lt;![CDATA[ The channel-type-specific capability flags used for Channel.Type.StreamedMedia in the Connection.Interface.Capabilities interface. See the InitialAudio property for details of the mechanisms that will replace this. ]]&gt;
9921
9922 Bitfield/set of flags generated from the Telepathy specification.</doc>
98789923 <member name="audio"
98799924 value="1"
98809925 c:identifier="TP_CHANNEL_MEDIA_CAPABILITY_AUDIO"/>
98959940 c:identifier="TP_CHANNEL_MEDIA_CAPABILITY_IMMUTABLE_STREAMS"/>
98969941 </bitfield>
98979942 <bitfield name="ChannelPasswordFlags" c:type="TpChannelPasswordFlags">
9943 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
98989944 <member name="provide"
98999945 value="8"
99009946 c:identifier="TP_CHANNEL_PASSWORD_FLAG_PROVIDE"/>
1019810244 </record>
1019910245 <bitfield name="ChannelTextMessageFlags"
1020010246 c:type="TpChannelTextMessageFlags">
10247 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1020110248 <member name="truncated"
1020210249 value="1"
1020310250 c:identifier="TP_CHANNEL_TEXT_MESSAGE_FLAG_TRUNCATED"/>
1021310260 </bitfield>
1021410261 <enumeration name="ChannelTextMessageType"
1021510262 c:type="TpChannelTextMessageType">
10263 <doc xml:whitespace="preserve">&lt;![CDATA[ The type of message. ]]&gt;
10264
10265 Bitfield/set of flags generated from the Telepathy specification.</doc>
1021610266 <member name="normal"
1021710267 value="0"
1021810268 c:identifier="TP_CHANNEL_TEXT_MESSAGE_TYPE_NORMAL"/>
1023010280 c:identifier="TP_CHANNEL_TEXT_MESSAGE_TYPE_DELIVERY_REPORT"/>
1023110281 </enumeration>
1023210282 <enumeration name="ChannelTextSendError" c:type="TpChannelTextSendError">
10283 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1023310284 <member name="unknown"
1023410285 value="0"
1023510286 c:identifier="TP_CHANNEL_TEXT_SEND_ERROR_UNKNOWN"/>
1051310564 glib:is-gtype-struct-for="ClientMessage">
1051410565 </record>
1051510566 <bitfield name="ConnMgrParamFlags" c:type="TpConnMgrParamFlags">
10567 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1051610568 <member name="required"
1051710569 value="1"
1051810570 c:identifier="TP_CONN_MGR_PARAM_FLAG_REQUIRED"/>
1286012912 </glib:signal>
1286112913 </class>
1286212914 <bitfield name="ConnectionAliasFlags" c:type="TpConnectionAliasFlags">
12915 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1286312916 <member name="connection_alias_flag_user_set"
1286412917 value="1"
1286512918 c:identifier="TP_CONNECTION_ALIAS_FLAG_USER_SET"/>
1286612919 </bitfield>
1286712920 <bitfield name="ConnectionCapabilityFlags"
1286812921 c:type="TpConnectionCapabilityFlags">
12922 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1286912923 <member name="create"
1287012924 value="1"
1287112925 c:identifier="TP_CONNECTION_CAPABILITY_FLAG_CREATE"/>
1384113895 </callback>
1384213896 <enumeration name="ConnectionPresenceType"
1384313897 c:type="TpConnectionPresenceType">
13898 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1384413899 <member name="unset"
1384513900 value="0"
1384613901 c:identifier="TP_CONNECTION_PRESENCE_TYPE_UNSET"/>
1393113986 </parameters>
1393213987 </callback>
1393313988 <enumeration name="ConnectionStatus" c:type="TpConnectionStatus">
13989 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1393413990 <member name="connected"
1393513991 value="0"
1393613992 c:identifier="TP_CONNECTION_STATUS_CONNECTED"/>
1394313999 </enumeration>
1394414000 <enumeration name="ConnectionStatusReason"
1394514001 c:type="TpConnectionStatusReason">
14002 <doc xml:whitespace="preserve">&lt;![CDATA[ A reason why the status of the connection changed. Apart from Requested, the values of this enumeration only make sense as reasons why the status changed to Disconnected. ]]&gt;
14003
14004 Bitfield/set of flags generated from the Telepathy specification.</doc>
1394614005 <member name="none_specified"
1394714006 value="0"
1394814007 c:identifier="TP_CONNECTION_STATUS_REASON_NONE_SPECIFIED"/>
1511915178 </class>
1512015179 <bitfield name="ContactBlockingCapabilities"
1512115180 c:type="TpContactBlockingCapabilities">
15181 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1512215182 <member name="contact_blocking_capability_can_report_abusive"
1512315183 value="1"
1512415184 c:identifier="TP_CONTACT_BLOCKING_CAPABILITY_CAN_REPORT_ABUSIVE"/>
1524615306 </method>
1524715307 </record>
1524815308 <bitfield name="ContactInfoFieldFlags" c:type="TpContactInfoFieldFlags">
15309 <doc xml:whitespace="preserve">&lt;![CDATA[ Flags describing the behaviour of a vCard field. ]]&gt;
15310
15311 Bitfield/set of flags generated from the Telepathy specification.</doc>
1524915312 <member name="parameters_exact"
1525015313 value="1"
1525115314 c:identifier="TP_CONTACT_INFO_FIELD_FLAG_PARAMETERS_EXACT"/>
1530015363 </method>
1530115364 </record>
1530215365 <bitfield name="ContactInfoFlags" c:type="TpContactInfoFlags">
15366 <doc xml:whitespace="preserve">&lt;![CDATA[ Flags defining the behaviour of contact information on this protocol. Some protocols provide no information on contacts without an explicit request; others always push information to the connection manager as and when it changes. ]]&gt;
15367
15368 Bitfield/set of flags generated from the Telepathy specification.</doc>
1530315369 <member name="can_set"
1530415370 value="1"
1530515371 c:identifier="TP_CONTACT_INFO_FLAG_CAN_SET"/>
1539415460 </function>
1539515461 </glib:boxed>
1539615462 <enumeration name="ContactListState" c:type="TpContactListState">
15463 <doc xml:whitespace="preserve">&lt;![CDATA[ The progress made in retrieving the contact list. ]]&gt;
15464
15465 Bitfield/set of flags generated from the Telepathy specification.</doc>
1539715466 <member name="none" value="0" c:identifier="TP_CONTACT_LIST_STATE_NONE"/>
1539815467 <member name="waiting"
1539915468 value="1"
1540715476 </enumeration>
1540815477 <enumeration name="ContactMetadataStorageType"
1540915478 c:type="TpContactMetadataStorageType">
15479 <doc xml:whitespace="preserve">&lt;![CDATA[ Values of this enumeration indicate the extent to which metadata such as aliases and group memberships can be stored for the contacts on a particular connection. On some protocols, certain metadata (for instance, contact aliases) can only be stored for contacts on the contact list, or contacts with a particular contact list state. To make it easier to deal with such protocols, if clients set metadata on a contact who is not in the required state, the Connection MUST cache the metadata for the duration of the session. If clients request the attributes of that contact after the appropriate "set" method has returned successfully, the Connection MUST return the new (cached) value. If the contact is later placed in the required state to store metadata (for instance, if subscription to the contact's presence is requested, on a protocol like MSN where the alias has storage type Subscribed_Or_Pending), the connection MUST store the cached metadata at that time. If the Connection didn't cache changes in this way, a client intending to change the alias on MSN would have to wait until the server acknowledged the subscription request; in the meantime, other clients would still display the old alias. The only exception to that general rule is that if the Connection cannot store particular metadata at all (i.e. the storage type is None), it MUST reject attempts to set it. If the implementation knows that metadata can't be stored at all, it's useful to report that, which can be done synchronously. In general, user interfaces should detect storage type None and not display editing controls at all. ]]&gt;
15480
15481 Bitfield/set of flags generated from the Telepathy specification.</doc>
1541015482 <member name="none"
1541115483 value="0"
1541215484 c:identifier="TP_CONTACT_METADATA_STORAGE_TYPE_NONE"/>
1673816810 </method>
1673916811 <method name="get_service_name"
1674016812 c:identifier="tp_dbus_tube_channel_get_service_name"
16741 version="0.15.6"
16742 introspectable="0">
16813 version="0.15.6">
1674316814 <doc xml:whitespace="preserve">Return the #TpDBusTubeChannel:service-name property</doc>
1674416815 <return-value transfer-ownership="none">
1674516816 <doc xml:whitespace="preserve">the value of #TpDBusTubeChannel:service-name</doc>
1683716908 disguised="1">
1683816909 </record>
1683916910 <enumeration name="DTMFEvent" c:type="TpDTMFEvent">
16911 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1684016912 <member name="digit_0" value="0" c:identifier="TP_DTMF_EVENT_DIGIT_0"/>
1684116913 <member name="digit_1" value="1" c:identifier="TP_DTMF_EVENT_DIGIT_1"/>
1684216914 <member name="digit_2" value="2" c:identifier="TP_DTMF_EVENT_DIGIT_2"/>
1686516937 c:identifier="TP_DTMF_EVENT_LETTER_D"/>
1686616938 </enumeration>
1686716939 <enumeration name="DebugLevel" c:type="TpDebugLevel">
16940 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1686816941 <member name="error" value="0" c:identifier="TP_DEBUG_LEVEL_ERROR"/>
1686916942 <member name="critical"
1687016943 value="1"
1687616949 </enumeration>
1687716950 <bitfield name="DeliveryReportingSupportFlags"
1687816951 c:type="TpDeliveryReportingSupportFlags">
16952 <doc xml:whitespace="preserve">&lt;![CDATA[ Flags indicating the level of support for delivery reporting on this channel, as found on the DeliveryReportingSupport property. Any future flags added to this set will conform to the convention that the presence of an extra flag implies that more operations will succeed. Note that CMs may always provide more reports than are requested in the Message_Sending_Flags passed to SendMessage. If senders want delivery reports, they should ask for them. If they don't want delivery reports, they can just ignore them, so there's no need to have capability discovery for what will happen if a delivery report isn't requested. ]]&gt;
16953
16954 Bitfield/set of flags generated from the Telepathy specification.</doc>
1687916955 <member name="failures"
1688016956 value="1"
1688116957 c:identifier="TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_FAILURES"/>
1689016966 c:identifier="TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_DELETED"/>
1689116967 </bitfield>
1689216968 <enumeration name="DeliveryStatus" c:type="TpDeliveryStatus">
16969 <doc xml:whitespace="preserve">&lt;![CDATA[ The status of a message as indicated by a delivery report. If this enum is extended in future specifications, this should only be to add new, non-overlapping conditions (i.e. all failures should still be signalled as either Temporarily_Failed or Permanently_Failed). If additional detail is required (e.g. distinguishing between the various types of permanent failure) this will be done using additional Delivery_Report_Header_Keys. ]]&gt;
16970
16971 Bitfield/set of flags generated from the Telepathy specification.</doc>
1689316972 <member name="unknown"
1689416973 value="0"
1689516974 c:identifier="TP_DELIVERY_STATUS_UNKNOWN"/>
1706317142 c:identifier="TP_ERROR_CAPTCHA_NOT_SUPPORTED"/>
1706417143 </enumeration>
1706517144 <enumeration name="FileHashType" c:type="TpFileHashType">
17145 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1706617146 <member name="none" value="0" c:identifier="TP_FILE_HASH_TYPE_NONE"/>
1706717147 <member name="md5" value="1" c:identifier="TP_FILE_HASH_TYPE_MD5"/>
1706817148 <member name="sha1" value="2" c:identifier="TP_FILE_HASH_TYPE_SHA1"/>
1749617576 disguised="1">
1749717577 </record>
1749817578 <enumeration name="FileTransferState" c:type="TpFileTransferState">
17579 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1749917580 <member name="none"
1750017581 value="0"
1750117582 c:identifier="TP_FILE_TRANSFER_STATE_NONE"/>
1751717598 </enumeration>
1751817599 <enumeration name="FileTransferStateChangeReason"
1751917600 c:type="TpFileTransferStateChangeReason">
17601 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1752017602 <member name="none"
1752117603 value="0"
1752217604 c:identifier="TP_FILE_TRANSFER_STATE_CHANGE_REASON_NONE"/>
1841118493 </parameters>
1841218494 </callback>
1841318495 <enumeration name="HTTPMethod" c:type="TpHTTPMethod">
18496 <doc xml:whitespace="preserve">&lt;![CDATA[ The HTTP Method with which to request a URL. ]]&gt;
18497
18498 Bitfield/set of flags generated from the Telepathy specification.</doc>
1841418499 <member name="get" value="0" c:identifier="TP_HTTP_METHOD_GET"/>
1841518500 <member name="post" value="1" c:identifier="TP_HTTP_METHOD_POST"/>
1841618501 </enumeration>
1896619051 </parameters>
1896719052 </callback>
1896819053 <enumeration name="HandleType" c:type="TpHandleType">
19054 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1896919055 <member name="none" value="0" c:identifier="TP_HANDLE_TYPE_NONE"/>
1897019056 <member name="contact" value="1" c:identifier="TP_HANDLE_TYPE_CONTACT"/>
1897119057 <member name="room" value="2" c:identifier="TP_HANDLE_TYPE_ROOM"/>
1986719953 </method>
1986819954 </record>
1986919955 <enumeration name="LocalHoldState" c:type="TpLocalHoldState">
19956 <doc xml:whitespace="preserve">&lt;![CDATA[ The hold state of a channel. ]]&gt;
19957
19958 Bitfield/set of flags generated from the Telepathy specification.</doc>
1987019959 <member name="unheld"
1987119960 value="0"
1987219961 c:identifier="TP_LOCAL_HOLD_STATE_UNHELD"/>
1987919968 c:identifier="TP_LOCAL_HOLD_STATE_PENDING_UNHOLD"/>
1988019969 </enumeration>
1988119970 <enumeration name="LocalHoldStateReason" c:type="TpLocalHoldStateReason">
19971 <doc xml:whitespace="preserve">&lt;![CDATA[ The reason for a change to the Local_Hold_State. Clients MUST treat unknown values as equivalent to Local_Hold_State_Reason_None. ]]&gt;
19972
19973 Bitfield/set of flags generated from the Telepathy specification.</doc>
1988219974 <member name="none"
1988319975 value="0"
1988419976 c:identifier="TP_LOCAL_HOLD_STATE_REASON_NONE"/>
1989019982 c:identifier="TP_LOCAL_HOLD_STATE_REASON_RESOURCE_NOT_AVAILABLE"/>
1989119983 </enumeration>
1989219984 <bitfield name="LocationFeatures" c:type="TpLocationFeatures">
19985 <doc xml:whitespace="preserve">&lt;![CDATA[ Flags describing the Location features which may be supported on any given connection. ]]&gt;
19986
19987 Bitfield/set of flags generated from the Telepathy specification.</doc>
1989319988 <member name="location_feature_can_set"
1989419989 value="1"
1989519990 c:identifier="TP_LOCATION_FEATURE_CAN_SET"/>
1989619991 </bitfield>
1989719992 <bitfield name="MailNotificationFlags" c:type="TpMailNotificationFlags">
19993 <doc xml:whitespace="preserve">&lt;![CDATA[ Flags representing capabilities provided by a connection manager. Those values can be used as bitfield. Some flags depend on, or conflict with, each other. Connections SHOULD implement as many of these features as the underlying protocol allows, preferring to implement Supports_Unread_Mails instead of Emits_Mails_Received if both are possible. ]]&gt;
19994
19995 Bitfield/set of flags generated from the Telepathy specification.</doc>
1989819996 <member name="supports_unread_mail_count"
1989919997 value="1"
1990019998 c:identifier="TP_MAIL_NOTIFICATION_FLAG_SUPPORTS_UNREAD_MAIL_COUNT"/>
1991520013 c:identifier="TP_MAIL_NOTIFICATION_FLAG_THREAD_BASED"/>
1991620014 </bitfield>
1991720015 <enumeration name="MediaStreamBaseProto" c:type="TpMediaStreamBaseProto">
20016 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1991820017 <member name="udp"
1991920018 value="0"
1992020019 c:identifier="TP_MEDIA_STREAM_BASE_PROTO_UDP"/>
1992320022 c:identifier="TP_MEDIA_STREAM_BASE_PROTO_TCP"/>
1992420023 </enumeration>
1992520024 <enumeration name="MediaStreamDirection" c:type="TpMediaStreamDirection">
20025 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1992620026 <member name="none"
1992720027 value="0"
1992820028 c:identifier="TP_MEDIA_STREAM_DIRECTION_NONE"/>
1993720037 c:identifier="TP_MEDIA_STREAM_DIRECTION_BIDIRECTIONAL"/>
1993820038 </enumeration>
1993920039 <enumeration name="MediaStreamError" c:type="TpMediaStreamError">
20040 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1994020041 <member name="unknown"
1994120042 value="0"
1994220043 c:identifier="TP_MEDIA_STREAM_ERROR_UNKNOWN"/>
1996120062 c:identifier="TP_MEDIA_STREAM_ERROR_MEDIA_ERROR"/>
1996220063 </enumeration>
1996320064 <bitfield name="MediaStreamPendingSend" c:type="TpMediaStreamPendingSend">
20065 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1996420066 <member name="local_send"
1996520067 value="1"
1996620068 c:identifier="TP_MEDIA_STREAM_PENDING_LOCAL_SEND"/>
1996920071 c:identifier="TP_MEDIA_STREAM_PENDING_REMOTE_SEND"/>
1997020072 </bitfield>
1997120073 <enumeration name="MediaStreamState" c:type="TpMediaStreamState">
20074 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1997220075 <member name="disconnected"
1997320076 value="0"
1997420077 c:identifier="TP_MEDIA_STREAM_STATE_DISCONNECTED"/>
1998120084 </enumeration>
1998220085 <enumeration name="MediaStreamTransportType"
1998320086 c:type="TpMediaStreamTransportType">
20087 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1998420088 <member name="local"
1998520089 value="0"
1998620090 c:identifier="TP_MEDIA_STREAM_TRANSPORT_TYPE_LOCAL"/>
1999220096 c:identifier="TP_MEDIA_STREAM_TRANSPORT_TYPE_RELAY"/>
1999320097 </enumeration>
1999420098 <enumeration name="MediaStreamType" c:type="TpMediaStreamType">
20099 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
1999520100 <member name="audio"
1999620101 value="0"
1999720102 c:identifier="TP_MEDIA_STREAM_TYPE_AUDIO"/>
2056720672 </record>
2056820673 <bitfield name="MessagePartSupportFlags"
2056920674 c:type="TpMessagePartSupportFlags">
20675 <doc xml:whitespace="preserve">&lt;![CDATA[ Flags indicating the level of support for message parts on this channel. They are designed such that setting more flags always implies that the channel has more capabilities. If no flags are set, this indicates that messages may contain a single message part whose content-type is any of the types from SupportedContentTypes, possibly with some alternatives. There is no flag indicating support for alternatives. This is because the SendMessage implementation can always accept messages containing alternatives, even if the underlying protocol does not, by deleting all alternatives except the first (most preferred) that is supported. Each of the flags so far implies the previous flag, so we could have used a simple enumeration here; however, we've defined the message-part support indicator as a flag set for future expansion. See SupportedContentTypes for some examples. ]]&gt;
20676
20677 Bitfield/set of flags generated from the Telepathy specification.</doc>
2057020678 <member name="one_attachment"
2057120679 value="1"
2057220680 c:identifier="TP_MESSAGE_PART_SUPPORT_FLAG_ONE_ATTACHMENT"/>
2057520683 c:identifier="TP_MESSAGE_PART_SUPPORT_FLAG_MULTIPLE_ATTACHMENTS"/>
2057620684 </bitfield>
2057720685 <bitfield name="MessageSendingFlags" c:type="TpMessageSendingFlags">
20686 <doc xml:whitespace="preserve">&lt;![CDATA[ Flags altering the way a message is sent. The "most usual" action should always be to have these flags unset. Some indication of which flags are supported is provided by the DeliveryReportingSupport property. ]]&gt;
20687
20688 Bitfield/set of flags generated from the Telepathy specification.</doc>
2057820689 <member name="delivery"
2057920690 value="1"
2058020691 c:identifier="TP_MESSAGE_SENDING_FLAG_REPORT_DELIVERY"/>
2283322944 </field>
2283422945 </record>
2283522946 <bitfield name="PropertyFlags" c:type="TpPropertyFlags">
22947 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
2283622948 <member name="read" value="1" c:identifier="TP_PROPERTY_FLAG_READ"/>
2283722949 <member name="write" value="2" c:identifier="TP_PROPERTY_FLAG_WRITE"/>
2283822950 </bitfield>
2367823790 </method>
2367923791 </record>
2368023792 <enumeration name="RCPTXRRTTMode" c:type="TpRCPTXRRTTMode">
23793 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
2368123794 <member name="all" value="0" c:identifier="TP_RCPT_XR_RTT_MODE_ALL"/>
2368223795 <member name="sender"
2368323796 value="1"
2368423797 c:identifier="TP_RCPT_XR_RTT_MODE_SENDER"/>
2368523798 </enumeration>
2368623799 <bitfield name="RTCPXRStatisticsFlags" c:type="TpRTCPXRStatisticsFlags">
23800 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
2368723801 <member name="loss"
2368823802 value="1"
2368923803 c:identifier="TP_RTCP_XR_STATISTICS_FLAGS_LOSS"/>
2370223816 </bitfield>
2370323817 <enumeration name="RichPresenceAccessControlType"
2370423818 c:type="TpRichPresenceAccessControlType">
23819 <doc xml:whitespace="preserve">&lt;![CDATA[ A type of access control for Rich_Presence_Access_Control. For most types, the exact access control is given by an associated variant. These are the access control types from XMPP publish/subscribe (XEP-0060). Location uses this for historical reasons, new interfaces will use Access_Control_Type. ]]&gt;
23820
23821 Bitfield/set of flags generated from the Telepathy specification.</doc>
2370523822 <member name="whitelist"
2370623823 value="0"
2370723824 c:identifier="TP_RICH_PRESENCE_ACCESS_CONTROL_TYPE_WHITELIST"/>
2371623833 c:identifier="TP_RICH_PRESENCE_ACCESS_CONTROL_TYPE_OPEN"/>
2371723834 </enumeration>
2371823835 <enumeration name="SASLAbortReason" c:type="TpSASLAbortReason">
23836 <doc xml:whitespace="preserve">&lt;![CDATA[ A reason why SASL authentication was aborted by the client. ]]&gt;
23837
23838 Bitfield/set of flags generated from the Telepathy specification.</doc>
2371923839 <member name="invalid_challenge"
2372023840 value="0"
2372123841 c:identifier="TP_SASL_ABORT_REASON_INVALID_CHALLENGE"/>
2372423844 c:identifier="TP_SASL_ABORT_REASON_USER_ABORT"/>
2372523845 </enumeration>
2372623846 <enumeration name="SASLStatus" c:type="TpSASLStatus">
23847 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
2372723848 <member name="not_started"
2372823849 value="0"
2372923850 c:identifier="TP_SASL_STATUS_NOT_STARTED"/>
2374723868 c:identifier="TP_SASL_STATUS_CLIENT_FAILED"/>
2374823869 </enumeration>
2374923870 <enumeration name="SendingState" c:type="TpSendingState">
23871 <doc xml:whitespace="preserve">&lt;![CDATA[ Enum indicating whether a contact is sending media. ]]&gt;
23872
23873 Bitfield/set of flags generated from the Telepathy specification.</doc>
2375023874 <member name="none" value="0" c:identifier="TP_SENDING_STATE_NONE"/>
2375123875 <member name="pending_send"
2375223876 value="1"
2375923883 c:identifier="TP_SENDING_STATE_PENDING_STOP_SENDING"/>
2376023884 </enumeration>
2376123885 <enumeration name="ServicePointType" c:type="TpServicePointType">
23886 <doc xml:whitespace="preserve">&lt;![CDATA[ The various types of service points a channel might connect to. ]]&gt;
23887
23888 Bitfield/set of flags generated from the Telepathy specification.</doc>
2376223889 <member name="none" value="0" c:identifier="TP_SERVICE_POINT_TYPE_NONE"/>
2376323890 <member name="emergency"
2376423891 value="1"
2540125528 disguised="1">
2540225529 </record>
2540325530 <enumeration name="SocketAccessControl" c:type="TpSocketAccessControl">
25531 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
2540425532 <member name="localhost"
2540525533 value="0"
2540625534 c:identifier="TP_SOCKET_ACCESS_CONTROL_LOCALHOST"/>
2541525543 c:identifier="TP_SOCKET_ACCESS_CONTROL_CREDENTIALS"/>
2541625544 </enumeration>
2541725545 <enumeration name="SocketAddressType" c:type="TpSocketAddressType">
25546 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
2541825547 <member name="unix"
2541925548 value="0"
2542025549 c:identifier="TP_SOCKET_ADDRESS_TYPE_UNIX"/>
2543025559 </enumeration>
2543125560 <bitfield name="StorageRestrictionFlags"
2543225561 c:type="TpStorageRestrictionFlags">
25562 <doc xml:whitespace="preserve">&lt;![CDATA[ Flags indicating restrictions imposed on an Account by its storage method. ]]&gt;
25563
25564 Bitfield/set of flags generated from the Telepathy specification.</doc>
2543325565 <member name="parameters"
2543425566 value="1"
2543525567 c:identifier="TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_PARAMETERS"/>
2544425576 c:identifier="TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_SERVICE"/>
2544525577 </bitfield>
2544625578 <enumeration name="StreamComponent" c:type="TpStreamComponent">
25579 <doc xml:whitespace="preserve">&lt;![CDATA[ Media streams can use more than one UDP socket: one for RTP (data) and one for RTCP (control). Most of the time, they are adjacent to each other, but some protocols (xmpp) signal each port separately. ]]&gt;
25580
25581 Bitfield/set of flags generated from the Telepathy specification.</doc>
2544725582 <member name="unknown"
2544825583 value="0"
2544925584 c:identifier="TP_STREAM_COMPONENT_UNKNOWN"/>
2545325588 c:identifier="TP_STREAM_COMPONENT_CONTROL"/>
2545425589 </enumeration>
2545525590 <enumeration name="StreamEndpointState" c:type="TpStreamEndpointState">
25591 <doc xml:whitespace="preserve">&lt;![CDATA[ Represents the state of ICE negotiation for a single component of a stream to an endpoint. ]]&gt;
25592
25593 Bitfield/set of flags generated from the Telepathy specification.</doc>
2545625594 <member name="connecting"
2545725595 value="0"
2545825596 c:identifier="TP_STREAM_ENDPOINT_STATE_CONNECTING"/>
2547025608 c:identifier="TP_STREAM_ENDPOINT_STATE_FAILED"/>
2547125609 </enumeration>
2547225610 <enumeration name="StreamFlowState" c:type="TpStreamFlowState">
25611 <doc xml:whitespace="preserve">&lt;![CDATA[ The type of SendingState and ReceivingState. ]]&gt;
25612
25613 Bitfield/set of flags generated from the Telepathy specification.</doc>
2547325614 <member name="stopped"
2547425615 value="0"
2547525616 c:identifier="TP_STREAM_FLOW_STATE_STOPPED"/>
2548425625 c:identifier="TP_STREAM_FLOW_STATE_STARTED"/>
2548525626 </enumeration>
2548625627 <enumeration name="StreamTransportType" c:type="TpStreamTransportType">
25628 <doc xml:whitespace="preserve">&lt;![CDATA[ A transport that can be used for streaming. ]]&gt;
25629
25630 Bitfield/set of flags generated from the Telepathy specification.</doc>
2548725631 <member name="unknown"
2548825632 value="0"
2548925633 c:identifier="TP_STREAM_TRANSPORT_TYPE_UNKNOWN"/>
2560225746 </method>
2560325747 <method name="get_service"
2560425748 c:identifier="tp_stream_tube_channel_get_service"
25605 version="0.13.2"
25606 introspectable="0">
25749 version="0.13.2">
2560725750 <doc xml:whitespace="preserve">Return the #TpStreamTubeChannel:service property</doc>
2560825751 <return-value transfer-ownership="none">
2560925752 <doc xml:whitespace="preserve">the value of #TpStreamTubeChannel:service</doc>
2572725870 <doc xml:whitespace="preserve">Data structure representing a connection on a #TpStreamTubeChannel.</doc>
2572825871 <method name="get_channel"
2572925872 c:identifier="tp_stream_tube_connection_get_channel"
25730 version="0.13.2"
25731 introspectable="0">
25873 version="0.13.2">
2573225874 <doc xml:whitespace="preserve">Return the #TpStreamTubeConnection:channel property</doc>
2573325875 <return-value transfer-ownership="none">
2573425876 <doc xml:whitespace="preserve">the value of #TpStreamTubeConnection:channel</doc>
2573725879 </method>
2573825880 <method name="get_contact"
2573925881 c:identifier="tp_stream_tube_connection_get_contact"
25740 version="0.13.2"
25741 introspectable="0">
25882 version="0.13.2">
2574225883 <doc xml:whitespace="preserve">Return the #TpStreamTubeConnection:contact property</doc>
2574325884 <return-value transfer-ownership="none">
2574425885 <doc xml:whitespace="preserve">the value of #TpStreamTubeConnection:contact</doc>
2574725888 </method>
2574825889 <method name="get_socket_connection"
2574925890 c:identifier="tp_stream_tube_connection_get_socket_connection"
25750 version="0.13.2"
25751 introspectable="0">
25891 version="0.13.2">
2575225892 <doc xml:whitespace="preserve">Return the #TpStreamTubeConnection:socket-connection property</doc>
2575325893 <return-value transfer-ownership="none">
2575425894 <doc xml:whitespace="preserve">the value of #TpStreamTubeConnection:socket-connection</doc>
2579825938 <parameters>
2579925939 <parameter name="error" transfer-ownership="none">
2580025940 <doc xml:whitespace="preserve">a #GError representing the error reported by the connection manager</doc>
25801 <type name="gpointer"/>
25941 <type name="GLib.Error"/>
2580225942 </parameter>
2580325943 </parameters>
2580425944 </glib:signal>
2581525955 disguised="1">
2581625956 </record>
2581725957 <enumeration name="SubscriptionState" c:type="TpSubscriptionState">
25958 <doc xml:whitespace="preserve">&lt;![CDATA[ An enumeration indicating whether presence subscription is denied, denied but pending permission, or allowed. The exact semantics vary according to where this type is used: see the subscribe and publish contact attributes for details. ]]&gt;
25959
25960 Bitfield/set of flags generated from the Telepathy specification.</doc>
2581825961 <member name="unknown"
2581925962 value="0"
2582025963 c:identifier="TP_SUBSCRIPTION_STATE_UNKNOWN"/>
2582725970 </enumeration>
2582825971 <enumeration name="TLSCertificateRejectReason"
2582925972 c:type="TpTLSCertificateRejectReason">
25973 <doc xml:whitespace="preserve">&lt;![CDATA[ Possible reasons to reject a TLS certificate. ]]&gt;
25974
25975 Bitfield/set of flags generated from the Telepathy specification.</doc>
2583025976 <member name="unknown"
2583125977 value="0"
2583225978 c:identifier="TP_TLS_CERTIFICATE_REJECT_REASON_UNKNOWN"/>
2585926005 c:identifier="TP_TLS_CERTIFICATE_REJECT_REASON_LIMIT_EXCEEDED"/>
2586026006 </enumeration>
2586126007 <enumeration name="TLSCertificateState" c:type="TpTLSCertificateState">
26008 <doc xml:whitespace="preserve">&lt;![CDATA[ The possible states for a TLSCertificate object. ]]&gt;
26009
26010 Bitfield/set of flags generated from the Telepathy specification.</doc>
2586226011 <member name="pending"
2586326012 value="0"
2586426013 c:identifier="TP_TLS_CERTIFICATE_STATE_PENDING"/>
2620326352 </method>
2620426353 <method name="get_delivery_reporting_support"
2620526354 c:identifier="tp_text_channel_get_delivery_reporting_support"
26206 version="0.13.10"
26207 introspectable="0">
26355 version="0.13.10">
2620826356 <doc xml:whitespace="preserve">Return the #TpTextChannel:delivery-reporting-support property</doc>
2620926357 <return-value transfer-ownership="none">
2621026358 <doc xml:whitespace="preserve">the value of #TpTextChannel:delivery-reporting-support property</doc>
2621426362 </method>
2621526363 <method name="get_message_part_support_flags"
2621626364 c:identifier="tp_text_channel_get_message_part_support_flags"
26217 version="0.13.10"
26218 introspectable="0">
26365 version="0.13.10">
2621926366 <doc xml:whitespace="preserve">Return the #TpTextChannel:message-part-support-flags property</doc>
2622026367 <return-value transfer-ownership="none">
2622126368 <doc xml:whitespace="preserve">the value of #TpTextChannel:message-part-support-flags</doc>
2622526372 </method>
2622626373 <method name="get_message_types"
2622726374 c:identifier="tp_text_channel_get_message_types"
26228 version="0.13.16"
26229 introspectable="0">
26375 version="0.13.16">
2623026376 <doc xml:whitespace="preserve">Return the #TpTextChannel:message-types property
2623126377
2623226378 the value of #TpTextChannel:message-types</doc>
2633626482 </method>
2633726483 <method name="get_supported_content_types"
2633826484 c:identifier="tp_text_channel_get_supported_content_types"
26339 version="0.13.10"
26340 introspectable="0">
26485 version="0.13.10">
2634126486 <doc xml:whitespace="preserve">Return the #TpTextChannel:supported-content-types property
2634226487
2634326488 the value of #TpTextChannel:supported-content-types</doc>
2662626771 disguised="1">
2662726772 </record>
2662826773 <enumeration name="TubeChannelState" c:type="TpTubeChannelState">
26774 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
2662926775 <member name="local_pending"
2663026776 value="0"
2663126777 c:identifier="TP_TUBE_CHANNEL_STATE_LOCAL_PENDING"/>
2663826784 c:identifier="TP_TUBE_CHANNEL_STATE_NOT_OFFERED"/>
2663926785 </enumeration>
2664026786 <enumeration name="TubeState" c:type="TpTubeState">
26787 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
2664126788 <member name="local_pending"
2664226789 value="0"
2664326790 c:identifier="TP_TUBE_STATE_LOCAL_PENDING"/>
2664726794 <member name="open" value="2" c:identifier="TP_TUBE_STATE_OPEN"/>
2664826795 </enumeration>
2664926796 <enumeration name="TubeType" c:type="TpTubeType">
26797 <doc xml:whitespace="preserve">Bitfield/set of flags generated from the Telepathy specification.</doc>
2665026798 <member name="dbus" value="0" c:identifier="TP_TUBE_TYPE_DBUS"/>
2665126799 <member name="stream" value="1" c:identifier="TP_TUBE_TYPE_STREAM"/>
2665226800 </enumeration>
783783 * #TpAccountManager to use that factory should call this after calling
784784 * tp_account_manager_new_with_factory().
785785 *
786 * Unlike tp_account_manager_dup(), this function will keep an internal
787 * reference to @manager, so it will never be destroyed.
788 *
786789 * Note that @manager must use the default #TpDBusDaemon as returned by
787790 * tp_dbus_daemon_dup()
788791 *
17221722 G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
17231723
17241724 /**
1725 * TpAccount:nickname
1725 * TpAccount:nickname:
17261726 *
17271727 * The nickname that should be set for the user on this account.
17281728 *
18251825 G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
18261826
18271827 /**
1828 * TpAccount:normalized-name
1828 * TpAccount:normalized-name:
18291829 *
18301830 * The normalized form of the user's own unique identifier on this
18311831 * protocol. For example, on XMPP accounts this is the user's JID; on
19241924 G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
19251925
19261926 /**
1927 * TpAccount:storage-restrictions
1927 * TpAccount:storage-restrictions:
19281928 *
19291929 * The storage restrictions for this account.
19301930 *
160160 */
161161
162162 /**
163 * TpBaseClientDelegatedChannelsCb
163 * TpBaseClientDelegatedChannelsCb:
164164 * @client: a #TpBaseClient instance
165165 * @channels: (element-type TelepathyGLib.Channel): a #GPtrArray of #TpChannel
166166 * @user_data: arbitrary user-supplied data passed to
26142614 }
26152615
26162616 /**
2617 * tp_base_client_get_name: (skip)
2617 * tp_base_client_get_name:
26182618 * @self: a #TpBaseClient
26192619 *
26202620 * Return the #TpBaseClient:name construct-only property, which is used as
26312631 }
26322632
26332633 /**
2634 * tp_base_client_get_uniquify_name: (skip)
2634 * tp_base_client_get_uniquify_name:
26352635 * @self: a #TpBaseClient
26362636 *
26372637 * Return the #TpBaseClient:uniquify-name construct-only property; if this
26492649 }
26502650
26512651 /**
2652 * tp_base_client_get_dbus_daemon: (skip)
2652 * tp_base_client_get_dbus_daemon:
26532653 * @self: a #TpBaseClient
26542654 *
26552655 * Return the #TpBaseClient:dbus-daemon construct-only property, which
159159 * @create_channel_managers: Create an array of channel managers for this
160160 * Connection. At least one of this or @create_channel_factories must be set
161161 * by subclasses to a non-%NULL value.
162 * Since: 0.7.15
162 * Since 0.7.15
163163 *
164164 * The class of a #TpBaseConnection. Many members are virtual methods etc.
165165 * to be filled in in the subclass' class_init function.
7676 GHashTable *state_details;
7777 TpCallStateReason *state_reason;
7878 gboolean hardware_streaming;
79 /* TpHandle -> TpCallMemberFlags */
79 /* TpContact -> TpCallMemberFlags */
8080 GHashTable *members;
8181 gboolean initial_audio;
8282 gboolean initial_video;
269269 TpContact *contact;
270270
271271 /* The contact is supposed to already exists */
272 contact = _tp_connection_lookup_contact (connection, handle);
272 contact = tp_connection_dup_contact_if_possible (connection,
273 handle, NULL);
273274 if (contact == NULL)
274275 {
275276 DEBUG ("No TpContact found for handle %u", handle);
276277 continue;
277278 }
278279
279 g_ptr_array_add (result, g_object_ref (contact));
280 g_ptr_array_add (result, contact);
280281 }
281282
282283 return result;
10451046
10461047
10471048 /**
1048 * TpCallChannel::content-added
1049 * TpCallChannel::content-added:
10491050 * @self: the #TpCallChannel
10501051 * @content: the newly added #TpCallContent
10511052 *
10651066 1, G_TYPE_OBJECT);
10661067
10671068 /**
1068 * TpCallChannel::content-removed
1069 * TpCallChannel::content-removed:
10691070 * @self: the #TpCallChannel
10701071 * @content: the newly removed #TpCallContent
10711072 * @reason: a #TpCallStateReason
10861087 2, G_TYPE_OBJECT, TP_TYPE_CALL_STATE_REASON);
10871088
10881089 /**
1089 * TpCallChannel::state-changed
1090 * TpCallChannel::state-changed:
10901091 * @self: the #TpCallChannel
10911092 * @state: the new #TpCallState
10921093 * @flags: the new #TpCallFlags
11081109 G_TYPE_HASH_TABLE);
11091110
11101111 /**
1111 * TpCallChannel::members-changed
1112 * TpCallChannel::members-changed:
11121113 * @self: the #TpCallChannel
11131114 * @updates: (type GLib.HashTable) (element-type TelepathyGLib.Contact uint):
11141115 * #GHashTable mapping #TpContact to its new #TpCallMemberFlags
652652
653653
654654 /**
655 * TpCallContent::removed
655 * TpCallContent::removed:
656656 * @self: the #TpCallContent
657657 *
658658 * The ::removed signal is emitted when @self is removed from
668668 0);
669669
670670 /**
671 * TpCallContent::streams-added
671 * TpCallContent::streams-added:
672672 * @self: the #TpCallContent
673673 * @streams: (type GLib.PtrArray) (element-type TelepathyGLib.CallStream):
674674 * a #GPtrArray of newly added #TpCallStream
689689 1, G_TYPE_PTR_ARRAY);
690690
691691 /**
692 * TpCallContent::streams-removed
692 * TpCallContent::streams-removed:
693693 * @self: the #TpCallContent
694694 * @streams: (type GLib.PtrArray) (element-type TelepathyGLib.CallStream):
695695 * a #GPtrArray of newly removed #TpCallStream
405405 param_spec);
406406
407407 /**
408 * TpCallStream::local-sending-state-changed
408 * TpCallStream::local-sending-state-changed:
409409 * @self: the #TpCallStream
410410 * @state: the new #TpSendingState
411411 * @reason: the #TpCallStateReason for the change
424424 G_TYPE_HASH_TABLE);
425425
426426 /**
427 * TpCallStream::remote-members-changed
427 * TpCallStream::remote-members-changed:
428428 * @self: the #TpCallStream
429429 * @updates: (type GLib.HashTable) (element-type TelepathyGLib.Contact uint):
430430 * #GHashTable mapping #TpContact to its new #TpSendingState
23302330 }
23312331
23322332 /**
2333 * tp_channel_get_requested: (skip)
2333 * tp_channel_get_requested:
23342334 * @self: a #TpChannel
23352335 *
23362336 * Return the #TpChannel:requested property
10921092 * tp_dbus_properties_mixin_emit_properties_changed_varargs: (skip)
10931093 * @object: an object which uses the D-Bus properties mixin
10941094 * @interface_name: the interface on which properties have changed
1095 * @...: (unqualified) property names whose values have changed, terminated by
1095 * @...: unqualified property names whose values have changed, terminated by
10961096 * %NULL.
10971097 *
10981098 * A shortcut for calling tp_dbus_properties_mixin_emit_properties_changed().
473473 }
474474
475475 /**
476 * tp_dbus_tube_channel_get_service_name: (skip)
476 * tp_dbus_tube_channel_get_service_name:
477477 * @self: a #TpDBusTubeChannel
478478 *
479479 * Return the #TpDBusTubeChannel:service-name property
595595 }
596596
597597 /**
598 * tp_dbus_tube_channel_offer_async
598 * tp_dbus_tube_channel_offer_async:
599599 * @self: an outgoing #TpDBusTubeChannel
600600 * @params: (allow-none) (transfer none): parameters of the tube, or %NULL
601601 * @callback: a callback to call when the tube has been offered
709709 }
710710
711711 /**
712 * tp_dbus_tube_channel_accept_async
712 * tp_dbus_tube_channel_accept_async:
713713 * @self: an incoming #TpDBusTubeChannel
714714 * @callback: a callback to call when the tube has been offered
715715 * @user_data: data to pass to @callback
181181 * @TP_ERROR_CERT_REVOKED: org.freedesktop.Telepathy.Error.Cert.Revoked:
182182 * Raised if the server provided an SSL/TLS certificate that has been
183183 * revoked.
184 * Since: 0.11.12
184 * Since 0.11.12
185185 * @TP_ERROR_CERT_INSECURE: org.freedesktop.Telepathy.Error.Cert.Insecure:
186186 * Raised if the server provided an SSL/TLS certificate that uses an
187187 * insecure cipher algorithm or is cryptographically weak.
188 * Since: 0.11.12
188 * Since 0.11.12
189189 * @TP_ERROR_CERT_LIMIT_EXCEEDED: org.freedesktop.Telepathy.Error.Cert.LimitExceeded:
190190 * Raised if the length in bytes of the server certificate, or the depth
191191 * of the server certificate chain, exceed the limits imposed by the
192192 * crypto library.
193 * Since: 0.11.12
193 * Since 0.11.12
194194 * @TP_ERROR_NOT_YET: org.freedesktop.Telepathy.Error.NotYet:
195195 * Raised when the requested functionality is not yet available, but is
196196 * likely to become available after some time has passed.
197 * Since: 0.11.15
197 * Since 0.11.15
198198 * @TP_ERROR_REJECTED: org.freedesktop.Telepathy.Error.Rejected:
199199 * Raised when an incoming or outgoing call is rejected by the receiving
200200 * contact.
201 * Since: 0.13.2
201 * Since 0.13.2
202202 * @TP_ERROR_PICKED_UP_ELSEWHERE: org.freedesktop.Telepathy.Error.PickedUpElsewhere:
203203 * Raised when a call was terminated as a result of the local user
204204 * picking up the call on a different resource.
205 * Since: 0.13.3
205 * Since 0.13.3
206206 * @TP_ERROR_CONFUSED: org.freedesktop.Telepathy.Error.Confused:
207207 * Raised if a server rejects protocol messages from a connection manager
208208 * claiming that they do not make sense, two local processes fail to
209209 * understand each other, or an apparently impossible situation is
210210 * reached. This has a similar meaning to %TP_DBUS_ERROR_INCONSISTENT but
211211 * can be passed between processes via D-Bus.
212 * Since: 0.13.7
212 * Since 0.13.7
213213 * @TP_ERROR_SERVICE_CONFUSED: org.freedesktop.Telepathy.Error.ServiceConfused:
214214 * Raised when a server or other piece of infrastructure indicates an
215215 * internal error, or when a message that makes no sense is received from
216216 * a server or other piece of infrastructure.
217 * Since: 0.13.7
217 * Since 0.13.7
218218 * @TP_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED:
219219 * org.freedesktop.Telepathy.Error.EmergencyCallsNotSupported:
220220 * Raised when a client attempts to dial a number that is recognized as an
235235 * <code>org.freedesktop.Telepathy.Error.Media.CodecsIncompatible</code>:
236236 * Raised when the local streaming implementation has no codecs in common
237237 * with the remote side.
238 * Since: 0.15.6
238 * Since 0.15.6
239239 * @TP_ERROR_MEDIA_UNSUPPORTED_TYPE:
240240 * <code>org.freedesktop.Telepathy.Error.Media.UnsupportedType</code>:
241241 * The media stream type requested is not supported by either the local or
242242 * remote side.
243 * Since: 0.15.6
243 * Since 0.15.6
244244 * @TP_ERROR_MEDIA_STREAMING_ERROR:
245245 * <code>org.freedesktop.Telepathy.Error.Media.StreamingError</code>:
246246 * Raised when the call's streaming implementation has some kind of internal
247247 * error.
248 * Since: 0.15.6
248 * Since 0.15.6
249249 * @TP_ERROR_CAPTCHA_NOT_SUPPORTED:
250250 * <code>org.freedesktop.Telepathy.Error.Media.CaptchaNotSupported</code>:
251251 * Raised if no UI is available to present captchas, or if one is
4848 #define TP_TYPE_HANDLE G_TYPE_UINT
4949
5050 /**
51 * TP_UNKNOWN_HANDLE_TYPE
51 * TP_UNKNOWN_HANDLE_TYPE:
5252 *
5353 * An invalid handle type (-1 cast to TpHandleType) used to represent an
5454 * unknown handle type.
7575 _gen/telepathy-interfaces.h \
7676 $(NULL)
7777
78 if OFFICIAL_RELEASE
79 SCANNER_WARN_ERROR =
80 else
81 SCANNER_WARN_ERROR = --warn-error
82 endif
83
8478 TelepathyGLib_0_12_gir_NAMESPACE = TelepathyGLib
8579 TelepathyGLib_0_12_gir_VERSION = 0.12
8680 TelepathyGLib_0_12_gir_LIBS = libtelepathy-glib.la
9286 -I$(top_srcdir) \
9387 --c-include="telepathy-glib/telepathy-glib.h" \
9488 --warn-all \
95 $(SCANNER_WARN_ERROR) \
9689 $(NULL)
9790
9891 TelepathyGLib_0_12_gir_INCLUDES = \
111111 */
112112
113113 /**
114 * TpPresenceStatusOptionalArgumentSpec
114 * TpPresenceStatusOptionalArgumentSpec:
115115 * @name: Name of the argument as passed over D-Bus
116116 * @dtype: D-Bus type signature of the argument
117117 *
123123 */
124124
125125 /**
126 * TpPresenceStatusSpec
126 * TpPresenceStatusSpec:
127127 * @name: String identifier of the presence status
128128 * @presence_type: A type value, as specified by #TpConnectionPresenceType
129129 * @self: Indicates if this status may be set on yourself
302302 const TpPresenceStatusSpec *supported_statuses,
303303 GHashTable *contact_statuses);
304304
305 /**
306 * deep_copy_hashtable
307 *
308 * Make a deep copy of a GHashTable.
309 */
310305 static GHashTable *
311306 deep_copy_hashtable (GHashTable *hash_table)
312307 {
649644
650645 /**
651646 * tp_presence_mixin_add_status: (skip)
647 * @context: The D-Bus invocation context to use to return values
648 * or throw an error.
652649 *
653650 * Implements D-Bus method AddStatus
654651 * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
655 *
656 * @context: The D-Bus invocation context to use to return values
657 * or throw an error.
658652 */
659653 static void
660654 tp_presence_mixin_add_status (TpSvcConnectionInterfacePresence *iface,
676670
677671 /**
678672 * tp_presence_mixin_clear_status: (skip)
673 * @context: The D-Bus invocation context to use to return values
674 * or throw an error.
679675 *
680676 * Implements D-Bus method ClearStatus
681677 * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
682 *
683 * @context: The D-Bus invocation context to use to return values
684 * or throw an error.
685678 */
686679 static void
687680 tp_presence_mixin_clear_status (TpSvcConnectionInterfacePresence *iface,
710703
711704 /**
712705 * tp_presence_mixin_get_presence: (skip)
706 * @context: The D-Bus invocation context to use to return values
707 * or throw an error.
713708 *
714709 * Implements D-Bus method GetPresence
715710 * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
716 *
717 * @context: The D-Bus invocation context to use to return values
718 * or throw an error.
719711 */
720712 static void
721713 tp_presence_mixin_get_presence (TpSvcConnectionInterfacePresence *iface,
833825
834826 /**
835827 * tp_presence_mixin_get_statuses: (skip)
828 * @context: The D-Bus invocation context to use to return values
829 * or throw an error.
836830 *
837831 * Implements D-Bus method GetStatuses
838832 * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
839 *
840 * @context: The D-Bus invocation context to use to return values
841 * or throw an error.
842833 */
843834 static void
844835 tp_presence_mixin_get_statuses (TpSvcConnectionInterfacePresence *iface,
901892
902893 /**
903894 * tp_presence_mixin_set_last_activity_time: (skip)
895 * @context: The D-Bus invocation context to use to return values
896 * or throw an error.
904897 *
905898 * Implements D-Bus method SetLastActivityTime
906899 * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
907 *
908 * @context: The D-Bus invocation context to use to return values
909 * or throw an error.
910900 */
911901 static void
912902 tp_presence_mixin_set_last_activity_time (TpSvcConnectionInterfacePresence *iface,
924914
925915 /**
926916 * tp_presence_mixin_remove_status: (skip)
917 * @context: The D-Bus invocation context to use to return values
918 * or throw an error.
927919 *
928920 * Implements D-Bus method RemoveStatus
929921 * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
930 *
931 * @context: The D-Bus invocation context to use to return values
932 * or throw an error.
933922 */
934923 static void
935924 tp_presence_mixin_remove_status (TpSvcConnectionInterfacePresence *iface,
1000989
1001990 /**
1002991 * tp_presence_mixin_request_presence: (skip)
992 * @context: The D-Bus invocation context to use to return values
993 * or throw an error.
1003994 *
1004995 * Implements D-Bus method RequestPresence
1005996 * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
1006997 *
1007 * @context: The D-Bus invocation context to use to return values
1008 * or throw an error.
1009998 */
1010999 static void
10111000 tp_presence_mixin_request_presence (TpSvcConnectionInterfacePresence *iface,
11641153
11651154 /**
11661155 * tp_presence_mixin_set_status: (skip)
1156 * @context: The D-Bus invocation context to use to return values
1157 * or throw an error.
11671158 *
11681159 * Implements D-Bus method SetStatus
11691160 * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
11701161 *
1171 * @context: The D-Bus invocation context to use to return values
1172 * or throw an error.
11731162 */
11741163 static void
11751164 tp_presence_mixin_set_status (TpSvcConnectionInterfacePresence *iface,
13691358
13701359 /**
13711360 * tp_presence_mixin_simple_presence_set_presence: (skip)
1361 * @context: The D-Bus invocation context to use to return values
1362 * or throw an error.
13721363 *
13731364 * Implements D-Bus method SetPresence
13741365 * on interface org.freedesktop.Telepathy.Connection.Interface.SimplePresence
1375 *
1376 * @context: The D-Bus invocation context to use to return values
1377 * or throw an error.
13781366 */
13791367 static void
13801368 tp_presence_mixin_simple_presence_set_presence (
15001488
15011489 /**
15021490 * tp_presence_mixin_get_simple_presence: (skip)
1491 * @context: The D-Bus invocation context to use to return values
1492 * or throw an error.
15031493 *
15041494 * Implements D-Bus method GetPresence
15051495 * on interface org.freedesktop.Telepathy.Connection.Interface.SimplePresence
15061496 *
1507 * @context: The D-Bus invocation context to use to return values
1508 * or throw an error.
15091497 */
15101498 static void
15111499 tp_presence_mixin_simple_presence_get_presences (
602602 G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
603603
604604 /**
605 * TpProtocol:protocol-properties
605 * TpProtocol:protocol-properties:
606606 *
607607 * The immutable properties of this Protocol, as provided at construction
608608 * time. This is a map from string to #GValue, which must not be modified.
10661066 }
10671067
10681068 /**
1069 * tp_protocol_get_authentication_types
1069 * tp_protocol_get_authentication_types:
10701070 * @self: a protocol object
10711071 *
10721072 *
16791679 }
16801680
16811681 /**
1682 * tp_protocol_get_avatar_requirements
1682 * tp_protocol_get_avatar_requirements:
16831683 * @self: a #TpProtocol
16841684 *
16851685 * Return the #TpProtocol:avatar-requirements property
7272 * TpSimpleClientFactory:
7373 *
7474 * Data structure representing a #TpSimpleClientFactory
75 *
76 * Since: 0.15.5
77 */
78
79 /**
80 * TpSimpleClientFactoryClass:
81 * @parent_class: the parent class
82 *
83 * The class of a #TpSimpleClientFactory.
8475 *
8576 * Since: 0.15.5
8677 */
857848 g_return_val_if_fail (handle != 0, NULL);
858849 g_return_val_if_fail (identifier != NULL, NULL);
859850
860 contact = _tp_connection_lookup_contact (connection, handle);
851 contact = tp_connection_dup_contact_if_possible (connection,
852 handle, identifier);
861853 if (contact != NULL)
862 return g_object_ref (contact);
854 return contact;
863855
864856 contact = TP_SIMPLE_CLIENT_FACTORY_GET_CLASS (self)->create_contact (self,
865857 connection, handle, identifier);
438438 g_object_class_install_property (gobject_class, PROP_PARAMETERS, param_spec);
439439
440440 /**
441 * TpStreamTubeChannel::incoming
441 * TpStreamTubeChannel::incoming:
442442 * @self: the #TpStreamTubeChannel
443443 * @tube_connection: the #TpStreamTubeConnection for the connection
444444 *
15101510 }
15111511
15121512 /**
1513 * tp_stream_tube_channel_get_service: (skip)
1513 * tp_stream_tube_channel_get_service:
15141514 * @self: a #TpStreamTubeChannel
15151515 *
15161516 * Return the #TpStreamTubeChannel:service property
238238 g_object_class_install_property (object_class, PROP_CONTACT, param_spec);
239239
240240 /**
241 * TpStreamTubeConnection::closed
241 * TpStreamTubeConnection::closed:
242242 * @self: the #TpStreamTubeConnection
243243 * @error: (transfer none): a #GError representing the error reported by the
244244 * connection manager
253253 G_SIGNAL_RUN_LAST,
254254 0, NULL, NULL, NULL,
255255 G_TYPE_NONE,
256 1, G_TYPE_POINTER);
256 1, G_TYPE_ERROR);
257257 }
258258
259259 TpStreamTubeConnection *
268268 }
269269
270270 /**
271 * tp_stream_tube_connection_get_socket_connection: (skip)
271 * tp_stream_tube_connection_get_socket_connection:
272272 * @self: a #TpStreamTubeConnection
273273 *
274274 * Return the #TpStreamTubeConnection:socket-connection property
284284 }
285285
286286 /**
287 * tp_stream_tube_connection_get_channel: (skip)
287 * tp_stream_tube_connection_get_channel:
288288 * @self: a #TpStreamTubeConnection
289289 *
290290 * Return the #TpStreamTubeConnection:channel property
301301 }
302302
303303 /**
304 * tp_stream_tube_connection_get_contact: (skip)
304 * tp_stream_tube_connection_get_contact:
305305 * @self: a #TpStreamTubeConnection
306306 *
307307 * Return the #TpStreamTubeConnection:contact property
945945 g_object_class_install_property (gobject_class, PROP_SMS_FLASH, param_spec);
946946
947947 /**
948 * TpTextChannel::message-received
948 * TpTextChannel::message-received:
949949 * @self: the #TpTextChannel
950950 * @message: a #TpSignalledMessage
951951 *
973973 1, TP_TYPE_SIGNALLED_MESSAGE);
974974
975975 /**
976 * TpTextChannel::pending-message-removed
976 * TpTextChannel::pending-message-removed:
977977 * @self: the #TpTextChannel
978978 * @message: a #TpSignalledMessage
979979 *
998998 1, TP_TYPE_SIGNALLED_MESSAGE);
999999
10001000 /**
1001 * TpTextChannel::message-sent
1001 * TpTextChannel::message-sent:
10021002 * @self: the #TpTextChannel
10031003 * @message: a #TpSignalledMessage
10041004 * @flags: the #TpMessageSendingFlags affecting how the message was sent
10921092 }
10931093
10941094 /**
1095 * tp_text_channel_get_supported_content_types: (skip)
1095 * tp_text_channel_get_supported_content_types:
10961096 * @self: a #TpTextChannel
10971097 *
10981098 * Return the #TpTextChannel:supported-content-types property
11111111 }
11121112
11131113 /**
1114 * tp_text_channel_get_message_part_support_flags: (skip)
1114 * tp_text_channel_get_message_part_support_flags:
11151115 * @self: a #TpTextChannel
11161116 *
11171117 * Return the #TpTextChannel:message-part-support-flags property
11301130 }
11311131
11321132 /**
1133 * tp_text_channel_get_delivery_reporting_support: (skip)
1133 * tp_text_channel_get_delivery_reporting_support:
11341134 * @self: a #TpTextChannel
11351135 *
11361136 * Return the #TpTextChannel:delivery-reporting-support property
15621562 }
15631563
15641564 /**
1565 * tp_text_channel_get_message_types: (skip)
1565 * tp_text_channel_get_message_types:
15661566 * @self: a #TpTextChannel
15671567 *
15681568 * Return the #TpTextChannel:message-types property
15811581 }
15821582
15831583 /**
1584 * tp_text_channel_supports_message_type
1584 * tp_text_channel_supports_message_type:
15851585 * @self: a #TpTextChannel
15861586 * @message_type: a #TpChannelTextMessageType
15871587 *
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1616
1717
1818 VPATH = @srcdir@
19 am__make_dryrun = \
20 { \
21 am__dry=no; \
22 case $$MAKEFLAGS in \
23 *\\[\ \ ]*) \
24 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
25 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
26 *) \
27 for am__flg in $$MAKEFLAGS; do \
28 case $$am__flg in \
29 *=*|--*) ;; \
30 *n*) am__dry=yes; break;; \
31 esac; \
32 done;; \
33 esac; \
34 test $$am__dry = yes; \
35 }
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkgincludedir = $(includedir)/@PACKAGE@
2138 pkglibdir = $(libdir)/@PACKAGE@
224241 install-pdf-recursive install-ps-recursive install-recursive \
225242 installcheck-recursive installdirs-recursive pdf-recursive \
226243 ps-recursive uninstall-recursive
244 am__can_run_installinfo = \
245 case $$AM_UPDATE_INFO_DIR in \
246 n|no|NO) false;; \
247 *) (install-info --version) >/dev/null 2>&1;; \
248 esac
227249 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
228250 am__vpath_adj = case $$p in \
229251 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
633655 rm -f $$list
634656 install-testsPROGRAMS: $(tests_PROGRAMS)
635657 @$(NORMAL_INSTALL)
636 test -z "$(testsdir)" || $(MKDIR_P) "$(DESTDIR)$(testsdir)"
637658 @list='$(tests_PROGRAMS)'; test -n "$(testsdir)" || list=; \
659 if test -n "$$list"; then \
660 echo " $(MKDIR_P) '$(DESTDIR)$(testsdir)'"; \
661 $(MKDIR_P) "$(DESTDIR)$(testsdir)" || exit 1; \
662 fi; \
638663 for p in $$list; do echo "$$p $$p"; done | \
639664 sed 's/$(EXEEXT)$$//' | \
640665 while read p p1; do if test -f $$p || test -f $$p1; \
787812 -rm -rf .libs _libs
788813 install-testsDATA: $(tests_DATA)
789814 @$(NORMAL_INSTALL)
790 test -z "$(testsdir)" || $(MKDIR_P) "$(DESTDIR)$(testsdir)"
791815 @list='$(tests_DATA)'; test -n "$(testsdir)" || list=; \
816 if test -n "$$list"; then \
817 echo " $(MKDIR_P) '$(DESTDIR)$(testsdir)'"; \
818 $(MKDIR_P) "$(DESTDIR)$(testsdir)" || exit 1; \
819 fi; \
792820 for p in $$list; do \
793821 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
794822 echo "$$d$$p"; \
10641092 done
10651093 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
10661094 if test "$$subdir" = .; then :; else \
1067 test -d "$(distdir)/$$subdir" \
1068 || $(MKDIR_P) "$(distdir)/$$subdir" \
1069 || exit 1; \
1070 fi; \
1071 done
1072 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1073 if test "$$subdir" = .; then :; else \
1095 $(am__make_dryrun) \
1096 || test -d "$(distdir)/$$subdir" \
1097 || $(MKDIR_P) "$(distdir)/$$subdir" \
1098 || exit 1; \
10741099 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
10751100 $(am__relativize); \
10761101 new_distdir=$$reldir; \
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1717
1818
1919 VPATH = @srcdir@
20 am__make_dryrun = \
21 { \
22 am__dry=no; \
23 case $$MAKEFLAGS in \
24 *\\[\ \ ]*) \
25 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
26 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
27 *) \
28 for am__flg in $$MAKEFLAGS; do \
29 case $$am__flg in \
30 *=*|--*) ;; \
31 *n*) am__dry=yes; break;; \
32 esac; \
33 done;; \
34 esac; \
35 test $$am__dry = yes; \
36 }
2037 pkgdatadir = $(datadir)/@PACKAGE@
2138 pkgincludedir = $(includedir)/@PACKAGE@
2239 pkglibdir = $(libdir)/@PACKAGE@
682699 $(test_stream_tube_SOURCES) $(test_text_channel_SOURCES) \
683700 $(test_text_mixin_SOURCES) $(test_text_respawn_SOURCES) \
684701 $(test_unsupported_interface_SOURCES)
702 am__can_run_installinfo = \
703 case $$AM_UPDATE_INFO_DIR in \
704 n|no|NO) false;; \
705 *) (install-info --version) >/dev/null 2>&1;; \
706 esac
685707 DATA = $(dbusconfig_DATA) $(dbusservice_DATA) $(managers_DATA) \
686708 $(tests_DATA)
687709 ETAGS = etags
11751197 rm -f $$list
11761198 install-testsPROGRAMS: $(tests_PROGRAMS)
11771199 @$(NORMAL_INSTALL)
1178 test -z "$(testsdir)" || $(MKDIR_P) "$(DESTDIR)$(testsdir)"
11791200 @list='$(tests_PROGRAMS)'; test -n "$(testsdir)" || list=; \
1201 if test -n "$$list"; then \
1202 echo " $(MKDIR_P) '$(DESTDIR)$(testsdir)'"; \
1203 $(MKDIR_P) "$(DESTDIR)$(testsdir)" || exit 1; \
1204 fi; \
11801205 for p in $$list; do echo "$$p $$p"; done | \
11811206 sed 's/$(EXEEXT)$$//' | \
11821207 while read p p1; do if test -f $$p || test -f $$p1; \
13981423 $(AM_V_CCLD)$(LINK) $(test_unsupported_interface_OBJECTS) $(test_unsupported_interface_LDADD) $(LIBS)
13991424 install-testsSCRIPTS: $(tests_SCRIPTS)
14001425 @$(NORMAL_INSTALL)
1401 test -z "$(testsdir)" || $(MKDIR_P) "$(DESTDIR)$(testsdir)"
14021426 @list='$(tests_SCRIPTS)'; test -n "$(testsdir)" || list=; \
1427 if test -n "$$list"; then \
1428 echo " $(MKDIR_P) '$(DESTDIR)$(testsdir)'"; \
1429 $(MKDIR_P) "$(DESTDIR)$(testsdir)" || exit 1; \
1430 fi; \
14031431 for p in $$list; do \
14041432 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
14051433 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
15391567 -rm -rf .libs _libs
15401568 install-dbusconfigDATA: $(dbusconfig_DATA)
15411569 @$(NORMAL_INSTALL)
1542 test -z "$(dbusconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(dbusconfigdir)"
15431570 @list='$(dbusconfig_DATA)'; test -n "$(dbusconfigdir)" || list=; \
1571 if test -n "$$list"; then \
1572 echo " $(MKDIR_P) '$(DESTDIR)$(dbusconfigdir)'"; \
1573 $(MKDIR_P) "$(DESTDIR)$(dbusconfigdir)" || exit 1; \
1574 fi; \
15441575 for p in $$list; do \
15451576 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
15461577 echo "$$d$$p"; \
15571588 dir='$(DESTDIR)$(dbusconfigdir)'; $(am__uninstall_files_from_dir)
15581589 install-dbusserviceDATA: $(dbusservice_DATA)
15591590 @$(NORMAL_INSTALL)
1560 test -z "$(dbusservicedir)" || $(MKDIR_P) "$(DESTDIR)$(dbusservicedir)"
15611591 @list='$(dbusservice_DATA)'; test -n "$(dbusservicedir)" || list=; \
1592 if test -n "$$list"; then \
1593 echo " $(MKDIR_P) '$(DESTDIR)$(dbusservicedir)'"; \
1594 $(MKDIR_P) "$(DESTDIR)$(dbusservicedir)" || exit 1; \
1595 fi; \
15621596 for p in $$list; do \
15631597 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
15641598 echo "$$d$$p"; \
15751609 dir='$(DESTDIR)$(dbusservicedir)'; $(am__uninstall_files_from_dir)
15761610 install-managersDATA: $(managers_DATA)
15771611 @$(NORMAL_INSTALL)
1578 test -z "$(managersdir)" || $(MKDIR_P) "$(DESTDIR)$(managersdir)"
15791612 @list='$(managers_DATA)'; test -n "$(managersdir)" || list=; \
1613 if test -n "$$list"; then \
1614 echo " $(MKDIR_P) '$(DESTDIR)$(managersdir)'"; \
1615 $(MKDIR_P) "$(DESTDIR)$(managersdir)" || exit 1; \
1616 fi; \
15801617 for p in $$list; do \
15811618 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
15821619 echo "$$d$$p"; \
15931630 dir='$(DESTDIR)$(managersdir)'; $(am__uninstall_files_from_dir)
15941631 install-testsDATA: $(tests_DATA)
15951632 @$(NORMAL_INSTALL)
1596 test -z "$(testsdir)" || $(MKDIR_P) "$(DESTDIR)$(testsdir)"
15971633 @list='$(tests_DATA)'; test -n "$(testsdir)" || list=; \
1634 if test -n "$$list"; then \
1635 echo " $(MKDIR_P) '$(DESTDIR)$(testsdir)'"; \
1636 $(MKDIR_P) "$(DESTDIR)$(testsdir)" || exit 1; \
1637 fi; \
15981638 for p in $$list; do \
15991639 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
16001640 echo "$$d$$p"; \
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1515 @SET_MAKE@
1616
1717 VPATH = @srcdir@
18 am__make_dryrun = \
19 { \
20 am__dry=no; \
21 case $$MAKEFLAGS in \
22 *\\[\ \ ]*) \
23 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
24 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25 *) \
26 for am__flg in $$MAKEFLAGS; do \
27 case $$am__flg in \
28 *=*|--*) ;; \
29 *n*) am__dry=yes; break;; \
30 esac; \
31 done;; \
32 esac; \
33 test $$am__dry = yes; \
34 }
1835 pkgdatadir = $(datadir)/@PACKAGE@
1936 pkgincludedir = $(includedir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
118135 $(libtp_glib_tests_la_SOURCES)
119136 DIST_SOURCES = $(libtp_glib_tests_internal_la_SOURCES) \
120137 $(libtp_glib_tests_la_SOURCES)
138 am__can_run_installinfo = \
139 case $$AM_UPDATE_INFO_DIR in \
140 n|no|NO) false;; \
141 *) (install-info --version) >/dev/null 2>&1;; \
142 esac
121143 ETAGS = etags
122144 CTAGS = ctags
123145 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
1616 #include <telepathy-glib/svc-channel.h>
1717 #include <telepathy-glib/gnio-util.h>
1818 #include <glib/gstdio.h>
19
20 #if defined(G_OS_UNIX)
21 # define LISTEN_ADDRESS "unix:tmpdir=/tmp"
22 #else
23 # define LISTEN_ADDRESS "tcp:host=127.0.0.1"
24 #endif
1925
2026 enum
2127 {
322328
323329 guid = g_dbus_generate_guid ();
324330
325 self->priv->dbus_server = g_dbus_server_new_sync (
326 "unix:abstract=dbus-tube-test",
331 self->priv->dbus_server = g_dbus_server_new_sync (LISTEN_ADDRESS,
327332 G_DBUS_SERVER_FLAGS_NONE, guid, NULL, NULL, &error);
328333 g_assert_no_error (error);
329334
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1515 @SET_MAKE@
1616
1717 VPATH = @srcdir@
18 am__make_dryrun = \
19 { \
20 am__dry=no; \
21 case $$MAKEFLAGS in \
22 *\\[\ \ ]*) \
23 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
24 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25 *) \
26 for am__flg in $$MAKEFLAGS; do \
27 case $$am__flg in \
28 *=*|--*) ;; \
29 *n*) am__dry=yes; break;; \
30 esac; \
31 done;; \
32 esac; \
33 test $$am__dry = yes; \
34 }
1835 pkgdatadir = $(datadir)/@PACKAGE@
1936 pkgincludedir = $(includedir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
6077 am__v_at_0 = @
6178 SOURCES =
6279 DIST_SOURCES =
80 am__can_run_installinfo = \
81 case $$AM_UPDATE_INFO_DIR in \
82 n|no|NO) false;; \
83 *) (install-info --version) >/dev/null 2>&1;; \
84 esac
6385 am__tty_colors = \
6486 red=; grn=; lgn=; blu=; std=
6587 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1515 @SET_MAKE@
1616
1717 VPATH = @srcdir@
18 am__make_dryrun = \
19 { \
20 am__dry=no; \
21 case $$MAKEFLAGS in \
22 *\\[\ \ ]*) \
23 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
24 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25 *) \
26 for am__flg in $$MAKEFLAGS; do \
27 case $$am__flg in \
28 *=*|--*) ;; \
29 *n*) am__dry=yes; break;; \
30 esac; \
31 done;; \
32 esac; \
33 test $$am__dry = yes; \
34 }
1835 pkgdatadir = $(datadir)/@PACKAGE@
1936 pkgincludedir = $(includedir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
87104 am__v_at_0 = @
88105 SOURCES =
89106 DIST_SOURCES =
107 am__can_run_installinfo = \
108 case $$AM_UPDATE_INFO_DIR in \
109 n|no|NO) false;; \
110 *) (install-info --version) >/dev/null 2>&1;; \
111 esac
90112 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
91113 ACLOCAL = @ACLOCAL@
92114 AMTAR = @AMTAR@
333355 $(am__aclocal_m4_deps):
334356 install-toolsSCRIPTS: $(tools_SCRIPTS)
335357 @$(NORMAL_INSTALL)
336 test -z "$(toolsdir)" || $(MKDIR_P) "$(DESTDIR)$(toolsdir)"
337358 @list='$(tools_SCRIPTS)'; test -n "$(toolsdir)" || list=; \
359 if test -n "$$list"; then \
360 echo " $(MKDIR_P) '$(DESTDIR)$(toolsdir)'"; \
361 $(MKDIR_P) "$(DESTDIR)$(toolsdir)" || exit 1; \
362 fi; \
338363 for p in $$list; do \
339364 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
340365 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
6666 flags.getAttribute('name')
6767 self.d("""\
6868 /**
69 *
70 %s:
69 * %s:
7170 """ % (self.prefix + name).replace('_', ''))
7271 for flag in get_by_path(flags, 'flag'):
7372 self.do_gtkdoc(flag, value_prefix)
101100 enum.getAttribute('name') + 's'
102101 self.d("""\
103102 /**
104 *
105 %s:
103 * %s:
106104 """ % (self.prefix + name).replace('_', ''))
107105 vals = get_by_path(enum, 'enumvalue')
108106 for val in vals:
9090
9191 docstring = get_docstring(mapping) or '(Undocumented)'
9292
93 self.d('/**\n * %s:\n *\n' % name)
93 self.d('/**\n * %s:\n *\n' % name.strip())
9494 self.d(' * %s\n' % xml_escape(docstring))
9595 self.d(' *\n')
9696 self.d(' * This macro expands to a call to a function\n')
0 # Makefile.in generated by automake 1.11.3 from Makefile.am.
0 # Makefile.in generated by automake 1.11.5 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1515 @SET_MAKE@
1616
1717 VPATH = @srcdir@
18 am__make_dryrun = \
19 { \
20 am__dry=no; \
21 case $$MAKEFLAGS in \
22 *\\[\ \ ]*) \
23 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
24 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
25 *) \
26 for am__flg in $$MAKEFLAGS; do \
27 case $$am__flg in \
28 *=*|--*) ;; \
29 *n*) am__dry=yes; break;; \
30 esac; \
31 done;; \
32 esac; \
33 test $$am__dry = yes; \
34 }
1835 pkgdatadir = $(datadir)/@PACKAGE@
1936 pkgincludedir = $(includedir)/@PACKAGE@
2037 pkglibdir = $(libdir)/@PACKAGE@
5976 am__v_at_0 = @
6077 SOURCES =
6178 DIST_SOURCES =
79 am__can_run_installinfo = \
80 case $$AM_UPDATE_INFO_DIR in \
81 n|no|NO) false;; \
82 *) (install-info --version) >/dev/null 2>&1;; \
83 esac
6284 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
6385 am__vpath_adj = case $$p in \
6486 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
322344 -rm -rf .libs _libs
323345 install-dist_vapiDATA: $(dist_vapi_DATA)
324346 @$(NORMAL_INSTALL)
325 test -z "$(vapidir)" || $(MKDIR_P) "$(DESTDIR)$(vapidir)"
326347 @list='$(dist_vapi_DATA)'; test -n "$(vapidir)" || list=; \
348 if test -n "$$list"; then \
349 echo " $(MKDIR_P) '$(DESTDIR)$(vapidir)'"; \
350 $(MKDIR_P) "$(DESTDIR)$(vapidir)" || exit 1; \
351 fi; \
327352 for p in $$list; do \
328353 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
329354 echo "$$d$$p"; \
340365 dir='$(DESTDIR)$(vapidir)'; $(am__uninstall_files_from_dir)
341366 install-vapiDATA: $(vapi_DATA)
342367 @$(NORMAL_INSTALL)
343 test -z "$(vapidir)" || $(MKDIR_P) "$(DESTDIR)$(vapidir)"
344368 @list='$(vapi_DATA)'; test -n "$(vapidir)" || list=; \
369 if test -n "$$list"; then \
370 echo " $(MKDIR_P) '$(DESTDIR)$(vapidir)'"; \
371 $(MKDIR_P) "$(DESTDIR)$(vapidir)" || exit 1; \
372 fi; \
345373 for p in $$list; do \
346374 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
347375 echo "$$d$$p"; \