File: telepathy-glib-TpPropertiesMixin.html

package info (click to toggle)
telepathy-glib 0.24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 34,628 kB
  • sloc: ansic: 124,643; xml: 34,410; sh: 11,299; python: 3,520; makefile: 1,727; cpp: 16
file content (1135 lines) | stat: -rw-r--r-- 76,778 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>TpPropertiesMixin</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="telepathy-glib API Reference Manual">
<link rel="up" href="ch-service-base.html" title="Service-side implementation">
<link rel="prev" href="telepathy-glib-TpPresenceMixin.html" title="TpPresenceMixin">
<link rel="next" href="TpBaseRoomConfig.html" title="TpBaseRoomConfig">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="telepathy-glib-TpPresenceMixin.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch-service-base.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">telepathy-glib API Reference Manual</th>
<td><a accesskey="n" href="TpBaseRoomConfig.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#telepathy-glib-TpPropertiesMixin.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#telepathy-glib-TpPropertiesMixin.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="telepathy-glib-TpPropertiesMixin"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="telepathy-glib-TpPropertiesMixin.top_of_page"></a>TpPropertiesMixin</span></h2>
<p>TpPropertiesMixin — a mixin implementation of the Telepathy.Properties
 interface</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="telepathy-glib-TpPropertiesMixin.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;telepathy-glib/properties-mixin.h&gt;

                    <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertySignature" title="TpPropertySignature">TpPropertySignature</a>;
                    <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpProperty" title="TpProperty">TpProperty</a>;
                    <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext">TpPropertiesContext</a>;
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            (<a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesSetFunc" title="TpPropertiesSetFunc ()">*TpPropertiesSetFunc</a>)              (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
struct              <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesMixin" title="struct TpPropertiesMixin">TpPropertiesMixin</a>;
struct              <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesMixinClass" title="struct TpPropertiesMixinClass">TpPropertiesMixinClass</a>;
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-class-init" title="tp_properties_mixin_class_init ()">tp_properties_mixin_class_init</a>      (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *obj_cls</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a> offset</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertySignature" title="TpPropertySignature"><span class="type">TpPropertySignature</span></a> *signatures</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> num_properties</code></em>,
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesSetFunc" title="TpPropertiesSetFunc ()"><span class="type">TpPropertiesSetFunc</span></a> set_func</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-init" title="tp_properties_mixin_init ()">tp_properties_mixin_init</a>            (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a> offset</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-finalize" title="tp_properties_mixin_finalize ()">tp_properties_mixin_finalize</a>        (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-list-properties" title="tp_properties_mixin_list_properties ()">tp_properties_mixin_list_properties</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> **ret</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-get-properties" title="tp_properties_mixin_get_properties ()">tp_properties_mixin_get_properties</a>  (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *properties</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> **ret</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-set-properties" title="tp_properties_mixin_set_properties ()">tp_properties_mixin_set_properties</a>  (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *properties</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-has-property" title="tp_properties_mixin_has_property ()">tp_properties_mixin_has_property</a>    (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *property</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-context-has" title="tp_properties_context_has ()">tp_properties_context_has</a>           (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-context-has-other-than" title="tp_properties_context_has_other_than ()">tp_properties_context_has_other_than</a>
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property</code></em>);
const <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *      <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-context-get" title="tp_properties_context_get ()">tp_properties_context_get</a>           (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-context-get-value-count" title="tp_properties_context_get_value_count ()">tp_properties_context_get_value_count</a>
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-context-remove" title="tp_properties_context_remove ()">tp_properties_context_remove</a>        (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-context-return" title="tp_properties_context_return ()">tp_properties_context_return</a>        (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-context-return-if-done" title="tp_properties_context_return_if_done ()">tp_properties_context_return_if_done</a>
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-change-value" title="tp_properties_mixin_change_value ()">tp_properties_mixin_change_value</a>    (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prop_id</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *new_value</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpIntset.html" title="TpIntset"><span class="type">TpIntset</span></a> *props</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-change-flags" title="tp_properties_mixin_change_flags ()">tp_properties_mixin_change_flags</a>    (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prop_id</code></em>,
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpPropertyFlags" title="enum TpPropertyFlags"><span class="type">TpPropertyFlags</span></a> add</code></em>,
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpPropertyFlags" title="enum TpPropertyFlags"><span class="type">TpPropertyFlags</span></a> del</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpIntset.html" title="TpIntset"><span class="type">TpIntset</span></a> *props</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-emit-changed" title="tp_properties_mixin_emit_changed ()">tp_properties_mixin_emit_changed</a>    (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="TpIntset.html" title="TpIntset"><span class="type">TpIntset</span></a> *props</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-emit-flags" title="tp_properties_mixin_emit_flags ()">tp_properties_mixin_emit_flags</a>      (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="TpIntset.html" title="TpIntset"><span class="type">TpIntset</span></a> *props</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-is-readable" title="tp_properties_mixin_is_readable ()">tp_properties_mixin_is_readable</a>     (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prop_id</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-is-writable" title="tp_properties_mixin_is_writable ()">tp_properties_mixin_is_writable</a>     (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prop_id</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-iface-init" title="tp_properties_mixin_iface_init ()">tp_properties_mixin_iface_init</a>      (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> iface_data</code></em>);
#define             <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TP-TYPE-PROPERTY-INFO-STRUCT:CAPS" title="TP_TYPE_PROPERTY_INFO_STRUCT">TP_TYPE_PROPERTY_INFO_STRUCT</a>
#define             <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TP-TYPE-PROPERTY-INFO-LIST:CAPS" title="TP_TYPE_PROPERTY_INFO_LIST">TP_TYPE_PROPERTY_INFO_LIST</a>
#define             <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TP-TYPE-PROPERTY-VALUE-STRUCT:CAPS" title="TP_TYPE_PROPERTY_VALUE_STRUCT">TP_TYPE_PROPERTY_VALUE_STRUCT</a>
#define             <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TP-TYPE-PROPERTY-VALUE-LIST:CAPS" title="TP_TYPE_PROPERTY_VALUE_LIST">TP_TYPE_PROPERTY_VALUE_LIST</a>
#define             <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TP-TYPE-PROPERTY-FLAGS-STRUCT:CAPS" title="TP_TYPE_PROPERTY_FLAGS_STRUCT">TP_TYPE_PROPERTY_FLAGS_STRUCT</a>
#define             <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TP-TYPE-PROPERTY-FLAGS-LIST:CAPS" title="TP_TYPE_PROPERTY_FLAGS_LIST">TP_TYPE_PROPERTY_FLAGS_LIST</a>
</pre>
</div>
<div class="refsect1">
<a name="telepathy-glib-TpPropertiesMixin.description"></a><h2>Description</h2>
<p>
This mixin can be added to any GObject class to implement the properties
interface in a general way.
</p>
<p>
To use the properties mixin, include a <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesMixinClass" title="struct TpPropertiesMixinClass"><span class="type">TpPropertiesMixinClass</span></a> somewhere
in your class structure and a <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesMixin" title="struct TpPropertiesMixin"><span class="type">TpPropertiesMixin</span></a> somewhere in your
instance structure, and call <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-class-init" title="tp_properties_mixin_class_init ()"><code class="function">tp_properties_mixin_class_init()</code></a> from your
class_init function, <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-init" title="tp_properties_mixin_init ()"><code class="function">tp_properties_mixin_init()</code></a> from your init function
or constructor, and <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-finalize" title="tp_properties_mixin_finalize ()"><code class="function">tp_properties_mixin_finalize()</code></a> from your dispose
or finalize function.
</p>
<p>
To use the properties mixin as the implementation of
<a class="link" href="telepathy-glib-svc-generic.html#TpSvcPropertiesInterface"><span class="type">TpSvcPropertiesInterface</span></a>, call
<code class="literal">G_IMPLEMENT_INTERFACE (TP_TYPE_SVC_PROPERTIES_INTERFACE,
tp_properties_mixin_iface_init)</code> in the fourth argument to
<code class="literal">G_DEFINE_TYPE_WITH_CODE</code>.
</p>
</div>
<div class="refsect1">
<a name="telepathy-glib-TpPropertiesMixin.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="TpPropertySignature"></a><h3>TpPropertySignature</h3>
<pre class="programlisting">typedef struct {
    gchar *name;
    GType type;
} TpPropertySignature;
</pre>
<p>
Signature of a property in the Telepathy properties interface.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="TpPropertySignature.name"></a>name</code></em>;</span></p></td>
<td>Name of the property as seen in the Telepathy D-Bus protocol</td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> <em class="structfield"><code><a name="TpPropertySignature.type"></a>type</code></em>;</span></p></td>
<td>GType which the variant value must have. We currently support
only <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-UINT:CAPS"><code class="literal">G_TYPE_UINT</code></a>, <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a>, <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a>, <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS"><code class="literal">G_TYPE_BOOLEAN</code></a>,
corresponding to D-Bus signatures 'u', 'i', 's', 'b'.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TpProperty"></a><h3>TpProperty</h3>
<pre class="programlisting">typedef struct {
    /* FIXME: if we ever break ABI, make this a (GValue) rather than a
     * (GValue *) */
    GValue *value;
    guint flags;
} TpProperty;
</pre>
<p>
Structure representing the current state of a property.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *<em class="structfield"><code><a name="TpProperty.value"></a>value</code></em>;</span></p></td>
<td>The value of the property</td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="TpProperty.flags"></a>flags</code></em>;</span></p></td>
<td>
<a class="link" href="telepathy-glib-enums.html#TpPropertyFlags" title="enum TpPropertyFlags"><span class="type">TpPropertyFlags</span></a> indicating the property's permissions</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TpPropertiesContext"></a><h3>TpPropertiesContext</h3>
<pre class="programlisting">typedef struct _TpPropertiesContext TpPropertiesContext;</pre>
<p>
Opaque pointer representing an incomplete property-setting operation, used
in the implementation of SetProperties.
</p>
</div>
<hr>
<div class="refsect2">
<a name="TpPropertiesSetFunc"></a><h3>TpPropertiesSetFunc ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            (*TpPropertiesSetFunc)              (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
A callback used to implement the SetProperties D-Bus method by setting
properties in the underlying IM protocol.
</p>
<p>
The callback must either:
</p>
<p>
* return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to indicate immediate failure
* call <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-context-return" title="tp_properties_context_return ()"><code class="function">tp_properties_context_return()</code></a> with an error to indicate failure
* call <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-context-remove" title="tp_properties_context_remove ()"><code class="function">tp_properties_context_remove()</code></a> to remove each property from the set
  of pending properties, then call <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-context-return-if-done" title="tp_properties_context_return_if_done ()"><code class="function">tp_properties_context_return_if_done()</code></a>
  or <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-context-return" title="tp_properties_context_return ()"><code class="function">tp_properties_context_return()</code></a> when all were set
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>An object with the properties mixin</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td>
<td>A properties context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>Set to the error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on immediate failure, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> otherwise</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TpPropertiesMixin"></a><h3>struct TpPropertiesMixin</h3>
<pre class="programlisting">struct TpPropertiesMixin {
    TpProperty *properties;

    TpPropertiesMixinPrivate *priv;
};
</pre>
<p>
Structure to be placed in a GObject-derived structure containing
instance data for the properties mixin (i.e. the properties). Initialize
it using <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-init" title="tp_properties_mixin_init ()"><code class="function">tp_properties_mixin_init()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpProperty" title="TpProperty"><span class="type">TpProperty</span></a> *<em class="structfield"><code><a name="TpPropertiesMixin.properties"></a>properties</code></em>;</span></p></td>
<td>Array of property values, of length klass-&gt;num_props.
Should be considered read-only.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">TpPropertiesMixinPrivate</span> *<em class="structfield"><code><a name="TpPropertiesMixin.priv"></a>priv</code></em>;</span></p></td>
<td>Pointer to opaque private data.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TpPropertiesMixinClass"></a><h3>struct TpPropertiesMixinClass</h3>
<pre class="programlisting">struct TpPropertiesMixinClass {
  const TpPropertySignature *signatures;
  guint num_props;

  TpPropertiesSetFunc set_properties;

  TpPropertiesMixinClassPrivate *priv;
};
</pre>
<p>
Structure to be placed in a GObjectClass-derived structure containing
settings for the properties mixin. Initialize it using
<a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-class-init" title="tp_properties_mixin_class_init ()"><code class="function">tp_properties_mixin_class_init()</code></a>.
</p>
<p>
All fields should be considered read-only.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term">const <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertySignature" title="TpPropertySignature"><span class="type">TpPropertySignature</span></a> *<em class="structfield"><code><a name="TpPropertiesMixinClass.signatures"></a>signatures</code></em>;</span></p></td>
<td>Array of property signatures, as provided via
<a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-class-init" title="tp_properties_mixin_class_init ()"><code class="function">tp_properties_mixin_class_init()</code></a>, of length <em class="parameter"><code>num_props</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="TpPropertiesMixinClass.num-props"></a>num_props</code></em>;</span></p></td>
<td>Number of properties supported.</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesSetFunc" title="TpPropertiesSetFunc ()"><span class="type">TpPropertiesSetFunc</span></a> <em class="structfield"><code><a name="TpPropertiesMixinClass.set-properties"></a>set_properties</code></em>;</span></p></td>
<td>Properties setting function, as supplied to
<a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-class-init" title="tp_properties_mixin_class_init ()"><code class="function">tp_properties_mixin_class_init()</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">TpPropertiesMixinClassPrivate</span> *<em class="structfield"><code><a name="TpPropertiesMixinClass.priv"></a>priv</code></em>;</span></p></td>
<td>Pointer to opaque private data.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-class-init"></a><h3>tp_properties_mixin_class_init ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_properties_mixin_class_init      (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *obj_cls</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a> offset</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertySignature" title="TpPropertySignature"><span class="type">TpPropertySignature</span></a> *signatures</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> num_properties</code></em>,
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesSetFunc" title="TpPropertiesSetFunc ()"><span class="type">TpPropertiesSetFunc</span></a> set_func</code></em>);</pre>
<p>
Initialize the mixin. Should be called from the implementation's
class_init function like so:
</p>
<p>
</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-class-init">tp_properties_mixin_class_init</a></span><span class="normal"> </span><span class="symbol">((</span><span class="normal"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass">GObjectClass</a> </span><span class="symbol">*)</span><span class="normal"> klass</span><span class="symbol">,</span>
<span class="normal">                                </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">SomeObjectClass</span><span class="symbol">,</span>
<span class="normal">                                 properties_mixin</span><span class="symbol">));</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<p>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj_cls</code></em> :</span></p></td>
<td>The class of an object that has this mixin</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td>
<td>The offset of the TpPropertiesMixinClass structure in the class
structure</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>signatures</code></em> :</span></p></td>
<td>An array of property signatures</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>num_properties</code></em> :</span></p></td>
<td>The number of entries in <em class="parameter"><code>signatures</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>set_func</code></em> :</span></p></td>
<td>Callback used to set the properties</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-init"></a><h3>tp_properties_mixin_init ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_properties_mixin_init            (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a> offset</code></em>);</pre>
<p>
Initialize the mixin. Should be called from the implementation's
instance init function like so:
</p>
<p>
</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-init">tp_properties_mixin_init</a></span><span class="normal"> </span><span class="symbol">((</span><span class="normal"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> </span><span class="symbol">*)</span><span class="normal"> self</span><span class="symbol">,</span>
<span class="normal">                          </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">SomeObject</span><span class="symbol">,</span><span class="normal"> properties_mixin</span><span class="symbol">),</span>
<span class="normal">                          self</span><span class="symbol">-&gt;</span><span class="normal">contact_repo</span><span class="symbol">);</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<p>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>An object that has this mixin</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td>
<td>The offset of the TpPropertiesMixin structure in the object
structure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-finalize"></a><h3>tp_properties_mixin_finalize ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_properties_mixin_finalize        (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>);</pre>
<p>
Free memory used by the TpPropertiesMixin.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>An object that has this mixin</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-list-properties"></a><h3>tp_properties_mixin_list_properties ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            tp_properties_mixin_list_properties (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> **ret</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
List all available properties and their flags, as in the ListProperties
D-Bus method.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>An object with this mixin</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ret</code></em> :</span></p></td>
<td>Output parameter which will be set to a GPtrArray of D-Bus structures
if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>Set to the error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-get-properties"></a><h3>tp_properties_mixin_get_properties ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            tp_properties_mixin_get_properties  (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *properties</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> **ret</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Retrieve the values of the given properties, as in the GetProperties
D-Bus method.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>An object with this mixin</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>properties</code></em> :</span></p></td>
<td>an array of integer property IDs</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ret</code></em> :</span></p></td>
<td>set to an array of D-Bus structures if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>Set to the error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-set-properties"></a><h3>tp_properties_mixin_set_properties ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_properties_mixin_set_properties  (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *properties</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
<p>
Start to change properties in response to user request via D-Bus.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>An object with this mixin</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>properties</code></em> :</span></p></td>
<td>An array of D-Bus structures containing property ID and value</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
<td>A D-Bus method invocation context for the SetProperties method</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-has-property"></a><h3>tp_properties_mixin_has_property ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            tp_properties_mixin_has_property    (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *property</code></em>);</pre>
<p>

</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>an object with a properties mixin</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>the string name of the property</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property</code></em> :</span></p></td>
<td>either <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, or a pointer to a location to receive the property
index</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, setting <em class="parameter"><code>property</code></em>, if <em class="parameter"><code>obj</code></em> has a property of that name</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-context-has"></a><h3>tp_properties_context_has ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            tp_properties_context_has           (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property</code></em>);</pre>
<p>

</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td>
<td>the properties context representing a SetProperties call</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property</code></em> :</span></p></td>
<td>the property ID</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>ctx</code></em> indicates that <em class="parameter"><code>property</code></em> still needs to be set on
the server.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-context-has-other-than"></a><h3>tp_properties_context_has_other_than ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            tp_properties_context_has_other_than
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property</code></em>);</pre>
<p>

</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td>
<td>the properties context representing a SetProperties call</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property</code></em> :</span></p></td>
<td>the property ID</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>ctx</code></em> has properties other than <em class="parameter"><code>property</code></em> that still
need to be set on the server</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-context-get"></a><h3>tp_properties_context_get ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *      tp_properties_context_get           (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property</code></em>);</pre>
<p>

</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td>
<td>the properties context representing a SetProperties call</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property</code></em> :</span></p></td>
<td>a property ID</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the value to be set on the server for the property <em class="parameter"><code>property</code></em>
in <em class="parameter"><code>ctx</code></em> (whether it has been set already or not)</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-context-get-value-count"></a><h3>tp_properties_context_get_value_count ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               tp_properties_context_get_value_count
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>);</pre>
<p>

</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td>
<td>the properties context representing a SetProperties call</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the number of properties in <em class="parameter"><code>ctx</code></em> which still need to be set on
the server, or have already been set</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-context-remove"></a><h3>tp_properties_context_remove ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_properties_context_remove        (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property</code></em>);</pre>
<p>
Mark the given property as having been set successfully.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td>
<td>the properties context representing a SetProperties call</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property</code></em> :</span></p></td>
<td>a property ID</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-context-return"></a><h3>tp_properties_context_return ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_properties_context_return        (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
<p>
Commit the property changes and return from the pending D-Bus call.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td>
<td>the properties context representing a SetProperties call</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, return successfully; otherwise return this error</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-context-return-if-done"></a><h3>tp_properties_context_return_if_done ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            tp_properties_context_return_if_done
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-TpPropertiesMixin.html#TpPropertiesContext" title="TpPropertiesContext"><span class="type">TpPropertiesContext</span></a> *ctx</code></em>);</pre>
<p>
Return from the pending D-Bus call if there are no more properties to be
dealt with.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td>
<td>the properties context representing a SetProperties call</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if we returned from the D-Bus call.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-change-value"></a><h3>tp_properties_mixin_change_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_properties_mixin_change_value    (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prop_id</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *new_value</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpIntset.html" title="TpIntset"><span class="type">TpIntset</span></a> *props</code></em>);</pre>
<p>
Change the value of the given property ID in response to a server state
change.
</p>
<p>
If the old and new values match, nothing happens; no signal is emitted and
<em class="parameter"><code>props</code></em> is ignored. Otherwise, the following applies:
</p>
<p>
If <em class="parameter"><code>props</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> the PropertiesChanged signal is emitted for this one
property.
</p>
<p>
Otherwise, the property ID is added to the set; the caller is responsible
for passing the set to <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-emit-changed" title="tp_properties_mixin_emit_changed ()"><code class="function">tp_properties_mixin_emit_changed()</code></a> once a batch of
properties have been changed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>An object with the properties mixin</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>prop_id</code></em> :</span></p></td>
<td>A property ID on which to act</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>new_value</code></em> :</span></p></td>
<td>Property value</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>props</code></em> :</span></p></td>
<td>either <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, or a pointer to a TpIntset</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-change-flags"></a><h3>tp_properties_mixin_change_flags ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_properties_mixin_change_flags    (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prop_id</code></em>,
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpPropertyFlags" title="enum TpPropertyFlags"><span class="type">TpPropertyFlags</span></a> add</code></em>,
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpPropertyFlags" title="enum TpPropertyFlags"><span class="type">TpPropertyFlags</span></a> del</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpIntset.html" title="TpIntset"><span class="type">TpIntset</span></a> *props</code></em>);</pre>
<p>
Change the flags for the given property ID in response to a server state
change.
</p>
<p>
Flags removed by <em class="parameter"><code>del</code></em> override flags added by <em class="parameter"><code>add</code></em>. This should not be
relied upon.
</p>
<p>
If <em class="parameter"><code>props</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> the PropertyFlagsChanged signal is emitted for this
single property.
</p>
<p>
Otherwise, the property ID is added to the set; the caller is responsible
for passing the set to <a class="link" href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-emit-flags" title="tp_properties_mixin_emit_flags ()"><code class="function">tp_properties_mixin_emit_flags()</code></a> once a batch of
properties have been changed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>An object with the properties mixin</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>prop_id</code></em> :</span></p></td>
<td>A property ID on which to act</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>add</code></em> :</span></p></td>
<td>Property flags to be added via bitwise OR</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>del</code></em> :</span></p></td>
<td>Property flags to be removed via bitwise AND</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>props</code></em> :</span></p></td>
<td>either <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, or a pointer to a TpIntset</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-emit-changed"></a><h3>tp_properties_mixin_emit_changed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_properties_mixin_emit_changed    (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="TpIntset.html" title="TpIntset"><span class="type">TpIntset</span></a> *props</code></em>);</pre>
<p>
Emit the PropertiesChanged signal to indicate that the values of the
given property IDs have changed; the actual values are automatically
added using their stored values.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>an object with the properties mixin</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>props</code></em> :</span></p></td>
<td>a set of property IDs</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-emit-flags"></a><h3>tp_properties_mixin_emit_flags ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_properties_mixin_emit_flags      (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="TpIntset.html" title="TpIntset"><span class="type">TpIntset</span></a> *props</code></em>);</pre>
<p>
Emit the PropertyFlagsChanged signal to indicate that the flags of the
given property IDs have changed; the actual flags are automatically
added using their stored values.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>an object with the properties mixin</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>props</code></em> :</span></p></td>
<td>a set of property IDs</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-is-readable"></a><h3>tp_properties_mixin_is_readable ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            tp_properties_mixin_is_readable     (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prop_id</code></em>);</pre>
<p>

</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>an object with this mixin</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>prop_id</code></em> :</span></p></td>
<td>an integer property ID</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the given property has the READ flag</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-is-writable"></a><h3>tp_properties_mixin_is_writable ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            tp_properties_mixin_is_writable     (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> prop_id</code></em>);</pre>
<p>

</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
<td>an object with this mixin</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>prop_id</code></em> :</span></p></td>
<td>an integer property ID</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the given property has the WRITE flag</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="tp-properties-mixin-iface-init"></a><h3>tp_properties_mixin_iface_init ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_properties_mixin_iface_init      (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> iface_data</code></em>);</pre>
<p>
Fill in this mixin's method implementations in the given interface vtable.
This function should usually be called via G_IMPLEMENT_INTERFACE
inside the G_DEFINE_TYPE_WITH_CODE macro.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>g_iface</code></em> :</span></p></td>
<td>A pointer to the <a class="link" href="telepathy-glib-svc-generic.html#TpSvcPropertiesInterfaceClass" title="TpSvcPropertiesInterfaceClass"><span class="type">TpSvcPropertiesInterfaceClass</span></a> in an object class</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iface_data</code></em> :</span></p></td>
<td>Ignored</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TP-TYPE-PROPERTY-INFO-STRUCT:CAPS"></a><h3>TP_TYPE_PROPERTY_INFO_STRUCT</h3>
<pre class="programlisting">#define TP_TYPE_PROPERTY_INFO_STRUCT TP_STRUCT_TYPE_PROPERTY_SPEC
</pre>
<p>
The GType of the structures with D-Bus signature '(ussu)' returned by
ListProperties.
</p>
<p>
<em class="parameter"><code>Deprecated</code></em>: Since 0.7.0. Use TP_STRUCT_TYPE_PROPERTY_SPEC instead.
</p>
</div>
<hr>
<div class="refsect2">
<a name="TP-TYPE-PROPERTY-INFO-LIST:CAPS"></a><h3>TP_TYPE_PROPERTY_INFO_LIST</h3>
<pre class="programlisting">#define TP_TYPE_PROPERTY_INFO_LIST TP_ARRAY_TYPE_PROPERTY_SPEC_LIST
</pre>
<p>
The GType of the return from ListProperties (i.e. a GPtrArray
of structures of type TP_TYPE_PROPERTY_INFO_STRUCT), corresponding to
D-Bus signature 'a(ussu)'.
</p>
<p>
<em class="parameter"><code>Deprecated</code></em>: Since 0.7.0. Use TP_ARRAY_TYPE_PROPERTY_SPEC_LIST instead.
</p>
</div>
<hr>
<div class="refsect2">
<a name="TP-TYPE-PROPERTY-VALUE-STRUCT:CAPS"></a><h3>TP_TYPE_PROPERTY_VALUE_STRUCT</h3>
<pre class="programlisting">#define TP_TYPE_PROPERTY_VALUE_STRUCT TP_STRUCT_TYPE_PROPERTY_VALUE
</pre>
<p>
The GType of the structures with signature '(uv)' returned by
GetProperties and emitted in PropertiesChanged.
</p>
<p>
<em class="parameter"><code>Deprecated</code></em>: Since 0.7.0. Use TP_STRUCT_TYPE_PROPERTY_VALUE instead.
</p>
</div>
<hr>
<div class="refsect2">
<a name="TP-TYPE-PROPERTY-VALUE-LIST:CAPS"></a><h3>TP_TYPE_PROPERTY_VALUE_LIST</h3>
<pre class="programlisting">#define TP_TYPE_PROPERTY_VALUE_LIST TP_ARRAY_TYPE_PROPERTY_VALUE_LIST
</pre>
<p>
The GType of the return from GetProperties and the parameter to
PropertiesChanged (i.e. a GPtrArray of structures of type
TP_TYPE_PROPERTY_VALUE_STRUCT), corresponding to D-Bus signature 'a(uv)'.
</p>
<p>
<em class="parameter"><code>Deprecated</code></em>: Since 0.7.0. Use TP_ARRAY_TYPE_PROPERTY_VALUE_LIST instead.
</p>
</div>
<hr>
<div class="refsect2">
<a name="TP-TYPE-PROPERTY-FLAGS-STRUCT:CAPS"></a><h3>TP_TYPE_PROPERTY_FLAGS_STRUCT</h3>
<pre class="programlisting">#define TP_TYPE_PROPERTY_FLAGS_STRUCT TP_STRUCT_TYPE_PROPERTY_FLAGS_CHANGE
</pre>
<p>
The GType of the structures with D-Bus signature '(uu)' emitted in
PropertyFlagsChanged.
</p>
<p>
<em class="parameter"><code>Deprecated</code></em>: Since 0.7.0. Use TP_STRUCT_TYPE_PROPERTY_FLAGS_CHANGE instead.
</p>
</div>
<hr>
<div class="refsect2">
<a name="TP-TYPE-PROPERTY-FLAGS-LIST:CAPS"></a><h3>TP_TYPE_PROPERTY_FLAGS_LIST</h3>
<pre class="programlisting">#define TP_TYPE_PROPERTY_FLAGS_LIST TP_ARRAY_TYPE_PROPERTY_FLAGS_CHANGE_LIST
</pre>
<p>
The GType of the parameter to PropertyFlagsChanged (i.e. a GPtrArray of
structures of type TP_TYPE_PROPERTY_FLAGS_STRUCT), corresponding to
D-Bus signature 'a(uu)'.
</p>
<p>
<em class="parameter"><code>Deprecated</code></em>: Since 0.7.0. Use TP_ARRAY_TYPE_PROPERTY_FLAGS_CHANGE_LIST
 instead.
</p>
</div>
</div>
<div class="refsect1">
<a name="telepathy-glib-TpPropertiesMixin.see-also"></a><h2>See Also</h2>
<a class="link" href="telepathy-glib-svc-generic.html#TpSvcPropertiesInterface"><span class="type">TpSvcPropertiesInterface</span></a>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19</div>
</body>
</html>