Lines Matching refs:outfile
81 outfile, argument
93 self.outfile = outfile
99 self.outfile.write(LICENSE_STR.format(config.VERSION, basenames))
100 self.outfile.write("\n")
103 self.outfile.write("#pragma once\n")
105 self.outfile.write("#ifndef __{!s}__\n".format(self.header_guard))
106 self.outfile.write("#define __{!s}__\n".format(self.header_guard))
109 self.outfile.write("\n")
110 self.outfile.write('#include "%s"\n' % self.symbol_decorator_header)
112 self.outfile.write("\n")
113 self.outfile.write("#include <gio/gio.h>\n")
114 self.outfile.write("\n")
115 self.outfile.write("G_BEGIN_DECLS\n")
116 self.outfile.write("\n")
122 self.outfile.write("\n")
123 self.outfile.write(
126 self.outfile.write("/* Declarations for %s */\n" % i.name)
127 self.outfile.write("\n")
130 self.outfile.write(
134 self.outfile.write(
138 self.outfile.write(
142 self.outfile.write(
146 self.outfile.write("\n")
147 self.outfile.write("struct _%s;\n" % (i.camel_name))
148 self.outfile.write(
151 self.outfile.write(
154 self.outfile.write("\n")
155 self.outfile.write("struct _%sIface\n" % (i.camel_name))
156 self.outfile.write("{\n")
157 self.outfile.write(" GTypeInterface parent_iface;\n")
163 self.outfile.write("\n")
178 self.outfile.write("\n")
190 self.outfile.write("\n")
210 self.outfile.write("%s" % function_pointers[key])
212 self.outfile.write("};\n")
213 self.outfile.write("\n")
215 self.outfile.write("#if GLIB_CHECK_VERSION(2, 44, 0)\n")
216 self.outfile.write(
220 self.outfile.write("#endif\n")
221 self.outfile.write("\n")
223 self.outfile.write("%s\n" % self.symbol_decorator)
224 self.outfile.write(
227 self.outfile.write("\n")
229 self.outfile.write("%s\n" % self.symbol_decorator)
230 self.outfile.write(
234 self.outfile.write("%s\n" % self.symbol_decorator)
235 self.outfile.write(
239 self.outfile.write("\n")
243 self.outfile.write("\n")
244 self.outfile.write("/* D-Bus method call completion functions: */\n")
247 self.outfile.write("%s\n" % self.symbol_decorator)
249 self.outfile.write("G_GNUC_DEPRECATED ")
250 self.outfile.write(
257 self.outfile.write(",\n GUnixFDList *fd_list")
259 self.outfile.write(",\n %s%s" % (a.ctype_in, a.name))
260 self.outfile.write(");\n")
261 self.outfile.write("\n")
262 self.outfile.write("\n")
266 self.outfile.write("\n")
267 self.outfile.write("/* D-Bus signal emissions functions: */\n")
270 self.outfile.write("%s\n" % self.symbol_decorator)
272 self.outfile.write("G_GNUC_DEPRECATED ")
273 self.outfile.write(
278 self.outfile.write(",\n %sarg_%s" % (a.ctype_in, a.name))
279 self.outfile.write(");\n")
280 self.outfile.write("\n")
281 self.outfile.write("\n")
285 self.outfile.write("\n")
286 self.outfile.write("/* D-Bus method calls: */\n")
290 self.outfile.write("%s\n" % self.symbol_decorator)
292 self.outfile.write("G_GNUC_DEPRECATED ")
293 self.outfile.write(
298 self.outfile.write(",\n %sarg_%s" % (a.ctype_in, a.name))
300 self.outfile.write(
305 self.outfile.write(",\n GUnixFDList *fd_list")
306 self.outfile.write(
312 self.outfile.write("\n")
315 self.outfile.write("%s\n" % self.symbol_decorator)
317 self.outfile.write("G_GNUC_DEPRECATED ")
318 self.outfile.write(
323 self.outfile.write(",\n %sout_%s" % (a.ctype_out, a.name))
325 self.outfile.write(",\n GUnixFDList **out_fd_list")
326 self.outfile.write(
329 self.outfile.write("\n")
332 self.outfile.write("%s\n" % self.symbol_decorator)
334 self.outfile.write("G_GNUC_DEPRECATED ")
335 self.outfile.write(
340 self.outfile.write(",\n %sarg_%s" % (a.ctype_in, a.name))
342 self.outfile.write(
347 self.outfile.write(",\n GUnixFDList *fd_list")
349 self.outfile.write(",\n %sout_%s" % (a.ctype_out, a.name))
351 self.outfile.write(",\n GUnixFDList **out_fd_list")
352 self.outfile.write(
357 self.outfile.write("\n")
358 self.outfile.write("\n")
362 self.outfile.write("\n")
363 self.outfile.write("/* D-Bus property accessors: */\n")
367 self.outfile.write("%s\n" % self.symbol_decorator)
369 self.outfile.write("G_GNUC_DEPRECATED ")
370 self.outfile.write(
376 self.outfile.write("%s\n" % self.symbol_decorator)
378 self.outfile.write("G_GNUC_DEPRECATED ")
379 self.outfile.write(
390 self.outfile.write("%s\n" % self.symbol_decorator)
392 self.outfile.write("G_GNUC_DEPRECATED ")
393 self.outfile.write(
397 self.outfile.write("\n")
400 self.outfile.write("\n")
401 self.outfile.write("/* ---- */\n")
402 self.outfile.write("\n")
403 self.outfile.write(
407 self.outfile.write(
411 self.outfile.write(
415 self.outfile.write(
419 self.outfile.write(
423 self.outfile.write(
427 self.outfile.write("\n")
428 self.outfile.write(
431 self.outfile.write(
435 self.outfile.write(
439 self.outfile.write("\n")
440 self.outfile.write("struct _%sProxy\n" % (i.camel_name))
441 self.outfile.write("{\n")
442 self.outfile.write(" /*< private >*/\n")
443 self.outfile.write(" GDBusProxy parent_instance;\n")
444 self.outfile.write(" %sProxyPrivate *priv;\n" % (i.camel_name))
445 self.outfile.write("};\n")
446 self.outfile.write("\n")
447 self.outfile.write("struct _%sProxyClass\n" % (i.camel_name))
448 self.outfile.write("{\n")
449 self.outfile.write(" GDBusProxyClass parent_class;\n")
450 self.outfile.write("};\n")
451 self.outfile.write("\n")
453 self.outfile.write("%s\n" % self.symbol_decorator)
454 self.outfile.write(
457 self.outfile.write("\n")
459 self.outfile.write("#if GLIB_CHECK_VERSION(2, 44, 0)\n")
460 self.outfile.write(
464 self.outfile.write("#endif\n")
465 self.outfile.write("\n")
467 self.outfile.write("%s\n" % self.symbol_decorator)
469 self.outfile.write("G_GNUC_DEPRECATED ")
470 self.outfile.write(
481 self.outfile.write("%s\n" % self.symbol_decorator)
483 self.outfile.write("G_GNUC_DEPRECATED ")
484 self.outfile.write(
490 self.outfile.write("%s\n" % self.symbol_decorator)
492 self.outfile.write("G_GNUC_DEPRECATED ")
493 self.outfile.write(
502 self.outfile.write("\n")
504 self.outfile.write("%s\n" % self.symbol_decorator)
506 self.outfile.write("G_GNUC_DEPRECATED ")
507 self.outfile.write(
518 self.outfile.write("%s\n" % self.symbol_decorator)
520 self.outfile.write("G_GNUC_DEPRECATED ")
521 self.outfile.write(
527 self.outfile.write("%s\n" % self.symbol_decorator)
529 self.outfile.write("G_GNUC_DEPRECATED ")
530 self.outfile.write(
539 self.outfile.write("\n")
542 self.outfile.write("\n")
543 self.outfile.write("/* ---- */\n")
544 self.outfile.write("\n")
545 self.outfile.write(
549 self.outfile.write(
553 self.outfile.write(
557 self.outfile.write(
561 self.outfile.write(
565 self.outfile.write(
569 self.outfile.write("\n")
570 self.outfile.write(
574 self.outfile.write(
578 self.outfile.write(
582 self.outfile.write("\n")
583 self.outfile.write("struct _%sSkeleton\n" % (i.camel_name))
584 self.outfile.write("{\n")
585 self.outfile.write(" /*< private >*/\n")
586 self.outfile.write(" GDBusInterfaceSkeleton parent_instance;\n")
587 self.outfile.write(" %sSkeletonPrivate *priv;\n" % (i.camel_name))
588 self.outfile.write("};\n")
589 self.outfile.write("\n")
590 self.outfile.write("struct _%sSkeletonClass\n" % (i.camel_name))
591 self.outfile.write("{\n")
592 self.outfile.write(" GDBusInterfaceSkeletonClass parent_class;\n")
593 self.outfile.write("};\n")
594 self.outfile.write("\n")
596 self.outfile.write("%s\n" % self.symbol_decorator)
597 self.outfile.write(
600 self.outfile.write("\n")
602 self.outfile.write("#if GLIB_CHECK_VERSION(2, 44, 0)\n")
603 self.outfile.write(
607 self.outfile.write("#endif\n")
608 self.outfile.write("\n")
610 self.outfile.write("%s\n" % self.symbol_decorator)
612 self.outfile.write("G_GNUC_DEPRECATED ")
613 self.outfile.write(
617 self.outfile.write("\n")
621 self.outfile.write("\n")
622 self.outfile.write("/* ---- */\n")
623 self.outfile.write("\n")
624 self.outfile.write(
628 self.outfile.write(
632 self.outfile.write(
636 self.outfile.write(
640 self.outfile.write("\n")
641 self.outfile.write("struct _%sObject;\n" % (self.namespace))
642 self.outfile.write(
646 self.outfile.write(
650 self.outfile.write("\n")
651 self.outfile.write("struct _%sObjectIface\n" % (self.namespace))
652 self.outfile.write("{\n" " GTypeInterface parent_iface;\n" "};\n" "\n")
654 self.outfile.write("%s\n" % self.symbol_decorator)
655 self.outfile.write(
659 self.outfile.write("#if GLIB_CHECK_VERSION(2, 44, 0)\n")
660 self.outfile.write(
664 self.outfile.write("#endif\n")
665 self.outfile.write("\n")
668 self.outfile.write("%s\n" % self.symbol_decorator)
670 self.outfile.write("G_GNUC_DEPRECATED ")
671 self.outfile.write(
682 self.outfile.write("%s\n" % self.symbol_decorator)
684 self.outfile.write("G_GNUC_DEPRECATED ")
685 self.outfile.write(
694 self.outfile.write("\n")
695 self.outfile.write(
699 self.outfile.write(
703 self.outfile.write(
707 self.outfile.write(
711 self.outfile.write(
715 self.outfile.write(
719 self.outfile.write("\n")
720 self.outfile.write(
724 self.outfile.write(
728 self.outfile.write(
732 self.outfile.write("\n")
733 self.outfile.write("struct _%sObjectProxy\n" % (self.namespace))
734 self.outfile.write("{\n")
735 self.outfile.write(" /*< private >*/\n")
736 self.outfile.write(" GDBusObjectProxy parent_instance;\n")
737 self.outfile.write(" %sObjectProxyPrivate *priv;\n" % (self.namespace))
738 self.outfile.write("};\n")
739 self.outfile.write("\n")
740 self.outfile.write("struct _%sObjectProxyClass\n" % (self.namespace))
741 self.outfile.write("{\n")
742 self.outfile.write(" GDBusObjectProxyClass parent_class;\n")
743 self.outfile.write("};\n")
744 self.outfile.write("\n")
746 self.outfile.write("%s\n" % self.symbol_decorator)
747 self.outfile.write(
750 self.outfile.write("\n")
752 self.outfile.write("#if GLIB_CHECK_VERSION(2, 44, 0)\n")
753 self.outfile.write(
757 self.outfile.write("#endif\n")
758 self.outfile.write("\n")
760 self.outfile.write("%s\n" % self.symbol_decorator)
761 self.outfile.write(
765 self.outfile.write("\n")
766 self.outfile.write(
770 self.outfile.write(
774 self.outfile.write(
778 self.outfile.write(
782 self.outfile.write(
786 self.outfile.write(
790 self.outfile.write("\n")
791 self.outfile.write(
795 self.outfile.write(
799 self.outfile.write(
803 self.outfile.write("\n")
804 self.outfile.write("struct _%sObjectSkeleton\n" % (self.namespace))
805 self.outfile.write("{\n")
806 self.outfile.write(" /*< private >*/\n")
807 self.outfile.write(" GDBusObjectSkeleton parent_instance;\n")
808 self.outfile.write(" %sObjectSkeletonPrivate *priv;\n" % (self.namespace))
809 self.outfile.write("};\n")
810 self.outfile.write("\n")
811 self.outfile.write("struct _%sObjectSkeletonClass\n" % (self.namespace))
812 self.outfile.write("{\n")
813 self.outfile.write(" GDBusObjectSkeletonClass parent_class;\n")
814 self.outfile.write("};\n")
815 self.outfile.write("\n")
817 self.outfile.write("%s\n" % self.symbol_decorator)
818 self.outfile.write(
822 self.outfile.write("\n")
824 self.outfile.write("#if GLIB_CHECK_VERSION(2, 44, 0)\n")
825 self.outfile.write(
829 self.outfile.write("#endif\n")
830 self.outfile.write("\n")
832 self.outfile.write("%s\n" % self.symbol_decorator)
833 self.outfile.write(
839 self.outfile.write("%s\n" % self.symbol_decorator)
841 self.outfile.write("G_GNUC_DEPRECATED ")
842 self.outfile.write(
851 self.outfile.write("\n")
853 self.outfile.write("/* ---- */\n")
854 self.outfile.write("\n")
855 self.outfile.write(
859 self.outfile.write(
863 self.outfile.write(
867 self.outfile.write(
871 self.outfile.write(
875 self.outfile.write(
879 self.outfile.write("\n")
880 self.outfile.write(
884 self.outfile.write(
888 self.outfile.write(
892 self.outfile.write("\n")
893 self.outfile.write("struct _%sObjectManagerClient\n" % (self.namespace))
894 self.outfile.write("{\n")
895 self.outfile.write(" /*< private >*/\n")
896 self.outfile.write(" GDBusObjectManagerClient parent_instance;\n")
897 self.outfile.write(
900 self.outfile.write("};\n")
901 self.outfile.write("\n")
902 self.outfile.write(
905 self.outfile.write("{\n")
906 self.outfile.write(" GDBusObjectManagerClientClass parent_class;\n")
907 self.outfile.write("};\n")
908 self.outfile.write("\n")
910 self.outfile.write("#if GLIB_CHECK_VERSION(2, 44, 0)\n")
911 self.outfile.write(
915 self.outfile.write("#endif\n")
916 self.outfile.write("\n")
918 self.outfile.write("%s\n" % self.symbol_decorator)
919 self.outfile.write(
923 self.outfile.write("\n")
925 self.outfile.write("%s\n" % self.symbol_decorator)
926 self.outfile.write(
930 self.outfile.write("\n")
932 self.outfile.write("%s\n" % self.symbol_decorator)
933 self.outfile.write(
944 self.outfile.write("%s\n" % self.symbol_decorator)
945 self.outfile.write(
951 self.outfile.write("%s\n" % self.symbol_decorator)
952 self.outfile.write(
961 self.outfile.write("\n")
963 self.outfile.write("%s\n" % self.symbol_decorator)
964 self.outfile.write(
975 self.outfile.write("%s\n" % self.symbol_decorator)
976 self.outfile.write(
982 self.outfile.write("%s\n" % self.symbol_decorator)
983 self.outfile.write(
992 self.outfile.write("\n")
997 self.outfile.write("\n")
998 self.outfile.write("G_END_DECLS\n")
1001 self.outfile.write("\n")
1002 self.outfile.write("#endif /* __{!s}__ */\n".format(self.header_guard))
1026 outfile, argument
1038 self.outfile = outfile
1044 self.outfile.write(LICENSE_STR.format(config.VERSION, basenames))
1045 self.outfile.write("\n")
1048 self.outfile.write("#pragma once\n")
1050 self.outfile.write("#ifndef __{!s}__\n".format(self.header_guard))
1051 self.outfile.write("#define __{!s}__\n".format(self.header_guard))
1054 self.outfile.write("\n")
1055 self.outfile.write('#include "%s"\n' % self.symbol_decorator_header)
1057 self.outfile.write("\n")
1058 self.outfile.write("#include <gio/gio.h>\n")
1059 self.outfile.write("\n")
1060 self.outfile.write("G_BEGIN_DECLS\n")
1061 self.outfile.write("\n")
1067 self.outfile.write(
1075 self.outfile.write("\n")
1076 self.outfile.write("G_END_DECLS\n")
1079 self.outfile.write("\n")
1080 self.outfile.write("#endif /* __{!s}__ */\n".format(self.header_guard))
1102 outfile, argument
1110 self.outfile = outfile
1116 self.outfile.write(LICENSE_STR.format(config.VERSION, basenames))
1119 self.outfile.write("\n")
1120 self.outfile.write("#define %s\n" % self.symbol_decoration_define)
1122 self.outfile.write("\n")
1123 self.outfile.write(
1132 self.outfile.write("\n")
1137 self.outfile.write(
1140 self.outfile.write("{\n")
1142 self.outfile.write(" &%s,\n" % name)
1143 self.outfile.write(" NULL,\n")
1144 self.outfile.write("};\n")
1145 self.outfile.write("\n")
1162 self.outfile.write(
1166 self.outfile.write("{\n")
1167 self.outfile.write(" -1, /* ref count */\n")
1168 self.outfile.write(' (gchar *) "%s",\n' % a.key)
1169 self.outfile.write(' (gchar *) "%s",\n' % a.value)
1171 self.outfile.write(
1176 self.outfile.write(" NULL, /* no annotations */\n")
1177 self.outfile.write("};\n")
1178 self.outfile.write("\n")
1198 self.outfile.write(
1201 self.outfile.write("{\n")
1202 self.outfile.write(" -1, /* ref count */\n")
1203 self.outfile.write(' (gchar *) "%s",\n' % a.name)
1204 self.outfile.write(' (gchar *) "%s",\n' % a.signature)
1206 self.outfile.write(
1211 self.outfile.write(" NULL, /* no annotations */\n")
1212 self.outfile.write("};\n")
1213 self.outfile.write("\n")
1222 self.outfile.write(
1225 self.outfile.write("/* Definitions for %s */\n" % i.name)
1226 self.outfile.write("\n")
1249 self.outfile.write(
1253 self.outfile.write("{\n")
1254 self.outfile.write(" -1, /* ref count */\n")
1255 self.outfile.write(' (gchar *) "%s",\n' % m.name)
1257 self.outfile.write(
1262 self.outfile.write(" NULL, /* no in args */\n")
1264 self.outfile.write(
1269 self.outfile.write(" NULL, /* no out args */\n")
1271 self.outfile.write(
1276 self.outfile.write(" NULL, /* no annotations */\n")
1277 self.outfile.write("};\n")
1278 self.outfile.write("\n")
1307 self.outfile.write(
1311 self.outfile.write("{\n")
1312 self.outfile.write(" -1, /* ref count */\n")
1313 self.outfile.write(' (gchar *) "%s",\n' % s.name)
1315 self.outfile.write(
1320 self.outfile.write(" NULL, /* no args */\n")
1322 self.outfile.write(
1327 self.outfile.write(" NULL, /* no annotations */\n")
1328 self.outfile.write("};\n")
1329 self.outfile.write("\n")
1363 self.outfile.write(
1367 self.outfile.write("{\n")
1368 self.outfile.write(" -1, /* ref count */\n")
1369 self.outfile.write(' (gchar *) "%s",\n' % p.name)
1370 self.outfile.write(' (gchar *) "%s",\n' % p.signature)
1371 self.outfile.write(" %s,\n" % flags)
1373 self.outfile.write(
1378 self.outfile.write(" NULL, /* no annotations */\n")
1379 self.outfile.write("};\n")
1380 self.outfile.write("\n")
1399 self.outfile.write(
1402 self.outfile.write("{\n")
1403 self.outfile.write(" -1, /* ref count */\n")
1404 self.outfile.write(' (gchar *) "%s",\n' % i.name)
1406 self.outfile.write(
1410 self.outfile.write(" NULL, /* no methods */\n")
1412 self.outfile.write(
1416 self.outfile.write(" NULL, /* no signals */\n")
1418 self.outfile.write(
1422 self.outfile.write("NULL, /* no properties */\n")
1424 self.outfile.write(
1429 self.outfile.write(" NULL, /* no annotations */\n")
1430 self.outfile.write("};\n")
1431 self.outfile.write("\n")
1454 outfile, argument
1464 self.outfile = outfile
1470 self.outfile.write(LICENSE_STR.format(config.VERSION, basenames))
1472 self.outfile.write("\n")
1473 self.outfile.write("#define %s\n" % self.symbol_decoration_define)
1474 self.outfile.write("\n")
1475 self.outfile.write(
1485 self.outfile.write(
1489 self.outfile.write(
1498 self.outfile.write(
1508 self.outfile.write(
1517 self.outfile.write(
1528 self.outfile.write(
1537 self.outfile.write(
1554 self.outfile.write(
1579 self.outfile.write(
1599 self.outfile.write(
1663 self.outfile.write(
1671 self.outfile.write(" NULL\n")
1673 self.outfile.write(
1676 self.outfile.write("};\n" "\n")
1680 self.outfile.write(
1688 self.outfile.write(" &%s_%d,\n" % (prefix, m))
1690 self.outfile.write(" NULL\n" "};\n" "\n")
1699 self.outfile.write(
1708 self.outfile.write(" NULL\n")
1710 self.outfile.write(
1714 self.outfile.write(" },\n")
1718 self.outfile.write(" FALSE\n")
1720 self.outfile.write(" TRUE\n")
1721 self.outfile.write("};\n" "\n")
1724 self.outfile.write(
1728 self.outfile.write(" &%s_%s.parent_struct,\n" % (prefix, a.name))
1729 self.outfile.write(" NULL\n" "};\n" "\n")
1732 self.outfile.write(
1752 self.outfile.write(
1760 self.outfile.write(" NULL,\n")
1762 self.outfile.write(
1767 self.outfile.write(" NULL,\n")
1769 self.outfile.write(
1774 self.outfile.write(" NULL\n")
1776 self.outfile.write(
1780 self.outfile.write(
1785 self.outfile.write("};\n" "\n")
1787 self.outfile.write(
1792 self.outfile.write(
1796 self.outfile.write(" NULL\n" "};\n" "\n")
1810 self.outfile.write(
1818 self.outfile.write(" NULL,\n")
1820 self.outfile.write(
1825 self.outfile.write(" NULL\n")
1827 self.outfile.write(
1831 self.outfile.write(" },\n" ' "%s"\n' % (s.name_hyphen))
1832 self.outfile.write("};\n" "\n")
1834 self.outfile.write(
1839 self.outfile.write(
1843 self.outfile.write(" NULL\n" "};\n" "\n")
1861 self.outfile.write(
1872 self.outfile.write(" NULL\n")
1874 self.outfile.write(
1878 self.outfile.write(" },\n" ' "%s",\n' % (p.name_hyphen))
1882 self.outfile.write(" FALSE,\n")
1884 self.outfile.write(" TRUE,\n")
1886 self.outfile.write(" TRUE\n")
1888 self.outfile.write(" FALSE\n")
1889 self.outfile.write("};\n" "\n")
1891 self.outfile.write(
1896 self.outfile.write(
1900 self.outfile.write(" NULL\n" "};\n" "\n")
1905 self.outfile.write(
1913 self.outfile.write(" NULL,\n")
1915 self.outfile.write(
1919 self.outfile.write(" NULL,\n")
1921 self.outfile.write(
1925 self.outfile.write(" NULL,\n")
1927 self.outfile.write(
1932 self.outfile.write(" NULL\n")
1934 self.outfile.write(
1938 self.outfile.write(" },\n" ' "%s",\n' "};\n" "\n" % (i.name_hyphen))
1939 self.outfile.write("\n")
1940 self.outfile.write(
1952 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
1953 self.outfile.write(
1962 self.outfile.write(
1976 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
1977 self.outfile.write(
1981 self.outfile.write(" G_GNUC_UNUSED")
1982 self.outfile.write(", guint property_id_begin)\n" "{\n")
1984 self.outfile.write(
1988 self.outfile.write(" return property_id_begin - 1;\n" "}\n" "\n")
1989 self.outfile.write("\n")
1994 self.outfile.write("\n")
1996 self.outfile.write(
2006 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
2007 self.outfile.write("\n")
2009 self.outfile.write(
2047 self.outfile.write(" * %s\n" % doc_bits[key])
2049 self.outfile.write(
2055 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
2056 self.outfile.write("\n")
2058 self.outfile.write(
2061 self.outfile.write(
2065 self.outfile.write("\n")
2067 self.outfile.write(
2072 self.outfile.write(" G_GNUC_UNUSED)\n")
2074 self.outfile.write(")\n")
2075 self.outfile.write("{\n")
2077 self.outfile.write(
2081 self.outfile.write(
2092 self.outfile.write(
2096 self.outfile.write(
2099 self.outfile.write(
2111 self.write_gtkdoc_deprecated_and_since_and_close(m, self.outfile, 2)
2116 self.outfile.write(
2135 self.outfile.write(", G_TYPE_UNIX_FD_LIST")
2137 self.outfile.write(", %s" % (a.gtype))
2138 self.outfile.write(");\n")
2139 self.outfile.write("\n")
2142 self.outfile.write(" /* GObject signals for received D-Bus signals: */\n")
2144 self.outfile.write(
2154 self.outfile.write(" * @arg_%s: Argument.\n" % (a.name))
2155 self.outfile.write(
2165 self.write_gtkdoc_deprecated_and_since_and_close(s, self.outfile, 2)
2166 self.outfile.write(
2178 self.outfile.write(", %s" % (a.gtype))
2179 self.outfile.write(");\n")
2180 self.outfile.write("\n")
2183 self.outfile.write(" /* GObject properties for D-Bus properties: */\n")
2197 self.outfile.write(
2209 self.write_gtkdoc_deprecated_and_since_and_close(p, self.outfile, 2)
2210 self.outfile.write(" g_object_interface_install_property (iface,\n")
2315 self.outfile.write(" %s, %s));" % (s, flags))
2316 self.outfile.write("\n")
2318 self.outfile.write("}\n" "\n")
2337 self.outfile.write(
2352 self.outfile.write(
2359 self.outfile.write(" * Returns: The property value.\n")
2360 self.write_gtkdoc_deprecated_and_since_and_close(p, self.outfile, 0)
2361 self.outfile.write(
2366 self.outfile.write(
2370 self.outfile.write("}\n")
2371 self.outfile.write("\n")
2374 self.outfile.write(
2397 self.write_gtkdoc_deprecated_and_since_and_close(p, self.outfile, 0)
2398 self.outfile.write(
2411 self.outfile.write(
2415 self.outfile.write(" return value;\n")
2416 self.outfile.write("}\n")
2417 self.outfile.write("\n")
2432 self.outfile.write(
2446 self.write_gtkdoc_deprecated_and_since_and_close(p, self.outfile, 0)
2447 self.outfile.write(
2452 self.outfile.write(
2456 self.outfile.write("}\n")
2457 self.outfile.write("\n")
2463 self.outfile.write(
2472 self.outfile.write(
2475 self.outfile.write(
2481 self.write_gtkdoc_deprecated_and_since_and_close(s, self.outfile, 0)
2482 self.outfile.write(
2488 self.outfile.write(",\n %sarg_%s" % (a.ctype_in, a.name))
2489 self.outfile.write(
2493 self.outfile.write(", arg_%s" % a.name)
2494 self.outfile.write(");\n")
2495 self.outfile.write("}\n" "\n")
2502 self.outfile.write(
2508 self.outfile.write(
2513 self.outfile.write(
2520 self.outfile.write(
2523 self.outfile.write(
2545 self.write_gtkdoc_deprecated_and_since_and_close(m, self.outfile, 0)
2546 self.outfile.write(
2552 self.outfile.write(",\n %sarg_%s" % (a.ctype_in, a.name))
2554 self.outfile.write(
2558 self.outfile.write(",\n GUnixFDList *fd_list")
2559 self.outfile.write(
2567 self.outfile.write(
2571 self.outfile.write(" g_dbus_proxy_call (G_DBUS_PROXY (proxy),\n")
2572 self.outfile.write(' "%s",\n' ' g_variant_new ("(' % (m.name))
2574 self.outfile.write("%s" % (a.format_in))
2575 self.outfile.write(')"')
2577 self.outfile.write(",\n arg_%s" % (a.name))
2578 self.outfile.write("),\n")
2580 self.outfile.write(" call_flags,\n" " timeout_msec,\n")
2582 self.outfile.write(" G_DBUS_CALL_FLAGS_NONE,\n" " -1,\n")
2584 self.outfile.write(" fd_list,\n")
2585 self.outfile.write(
2588 self.outfile.write("}\n" "\n")
2590 self.outfile.write(
2596 self.outfile.write(
2601 self.outfile.write(
2604 self.outfile.write(
2616 self.write_gtkdoc_deprecated_and_since_and_close(m, self.outfile, 0)
2617 self.outfile.write(
2623 self.outfile.write(",\n %sout_%s" % (a.ctype_out, a.name))
2625 self.outfile.write(",\n GUnixFDList **out_fd_list")
2626 self.outfile.write(
2634 self.outfile.write(
2638 self.outfile.write(
2641 self.outfile.write(" if (_ret == NULL)\n" " goto _out;\n")
2642 self.outfile.write(" g_variant_get (_ret,\n" ' "(')
2644 self.outfile.write("%s" % (a.format_out))
2645 self.outfile.write(')"')
2647 self.outfile.write(",\n out_%s" % (a.name))
2648 self.outfile.write(");\n" " g_variant_unref (_ret);\n")
2649 self.outfile.write("_out:\n" " return _ret != NULL;\n" "}\n" "\n")
2652 self.outfile.write(
2658 self.outfile.write(
2663 self.outfile.write(
2670 self.outfile.write(
2674 self.outfile.write(
2679 self.outfile.write(
2682 self.outfile.write(
2696 self.write_gtkdoc_deprecated_and_since_and_close(m, self.outfile, 0)
2697 self.outfile.write(
2703 self.outfile.write(",\n %sarg_%s" % (a.ctype_in, a.name))
2705 self.outfile.write(
2709 self.outfile.write(",\n GUnixFDList *fd_list")
2711 self.outfile.write(",\n %sout_%s" % (a.ctype_out, a.name))
2713 self.outfile.write(",\n GUnixFDList **out_fd_list")
2714 self.outfile.write(
2722 self.outfile.write(
2726 self.outfile.write(
2729 self.outfile.write(' "%s",\n' ' g_variant_new ("(' % (m.name))
2731 self.outfile.write("%s" % (a.format_in))
2732 self.outfile.write(')"')
2734 self.outfile.write(",\n arg_%s" % (a.name))
2735 self.outfile.write("),\n")
2737 self.outfile.write(" call_flags,\n" " timeout_msec,\n")
2739 self.outfile.write(" G_DBUS_CALL_FLAGS_NONE,\n" " -1,\n")
2741 self.outfile.write(" fd_list,\n" " out_fd_list,\n")
2742 self.outfile.write(
2748 self.outfile.write(" g_variant_get (_ret,\n" ' "(')
2750 self.outfile.write("%s" % (a.format_out))
2751 self.outfile.write(')"')
2753 self.outfile.write(",\n out_%s" % (a.name))
2754 self.outfile.write(");\n" " g_variant_unref (_ret);\n")
2755 self.outfile.write("_out:\n" " return _ret != NULL;\n" "}\n" "\n")
2761 self.outfile.write(
2769 self.outfile.write(
2773 self.outfile.write(" * @%s: Parameter to return.\n" % (a.name))
2774 self.outfile.write(
2784 self.write_gtkdoc_deprecated_and_since_and_close(m, self.outfile, 0)
2785 self.outfile.write(
2793 self.outfile.write(",\n GUnixFDList *fd_list")
2795 self.outfile.write(",\n %s%s" % (a.ctype_in, a.name))
2796 self.outfile.write(")\n" "{\n")
2799 self.outfile.write(
2804 self.outfile.write(
2809 self.outfile.write("%s" % (a.format_in))
2810 self.outfile.write(')"')
2812 self.outfile.write(",\n %s" % (a.name))
2814 self.outfile.write("),\n fd_list);\n")
2816 self.outfile.write("));\n")
2817 self.outfile.write("}\n" "\n")
2823 self.outfile.write(
2828 self.outfile.write(
2838 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
2839 self.outfile.write("\n")
2841 self.outfile.write(
2851 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
2852 self.outfile.write("\n")
2854 self.outfile.write(
2862 self.outfile.write(
2866 self.outfile.write("#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38\n")
2867 self.outfile.write(
2871 self.outfile.write(
2874 self.outfile.write(
2878 self.outfile.write("#else\n")
2879 self.outfile.write(
2883 self.outfile.write(
2887 self.outfile.write("#endif\n")
2890 self.outfile.write(
2895 self.outfile.write(
2899 self.outfile.write(" g_datalist_clear (&proxy->priv->qdata);\n")
2900 self.outfile.write(
2911 self.outfile.write(
2916 self.outfile.write(
2922 self.outfile.write(
2925 self.outfile.write(" GParamSpec *pspec G_GNUC_UNUSED)\n" "{\n")
2927 self.outfile.write(
2947 self.outfile.write("}\n" "\n")
2949 self.outfile.write(
2956 self.outfile.write(
2974 self.outfile.write("}\n" "\n")
2975 self.outfile.write("static void\n" "%s_proxy_set_property (" % (i.name_lower))
2977 self.outfile.write(
2983 self.outfile.write(
2988 self.outfile.write(" GParamSpec *pspec G_GNUC_UNUSED)\n" "{\n")
2990 self.outfile.write(
3005 self.outfile.write("}\n" "\n")
3008 self.outfile.write(
3016 self.outfile.write(
3026 self.outfile.write(
3031 self.outfile.write(
3037 self.outfile.write(
3054 self.outfile.write(
3058 self.outfile.write(" g_signal_emitv (paramv, signal_id, 0, NULL);\n")
3059 self.outfile.write(
3064 self.outfile.write("}\n" "\n")
3067 self.outfile.write(
3075 self.outfile.write(
3106 self.outfile.write(
3142 self.outfile.write(
3147 self.outfile.write(
3152 self.outfile.write(" value = variant;\n")
3153 self.outfile.write(" if (variant != NULL)\n")
3154 self.outfile.write(" g_variant_unref (variant);\n")
3156 self.outfile.write(" if (variant != NULL)\n" " {\n")
3165 self.outfile.write(
3169 self.outfile.write(
3173 self.outfile.write(" g_variant_unref (variant);\n")
3174 self.outfile.write(" }\n")
3175 self.outfile.write(" return value;\n")
3176 self.outfile.write("}\n")
3177 self.outfile.write("\n")
3180 self.outfile.write(
3202 self.outfile.write(
3229 self.outfile.write(
3232 self.outfile.write(
3237 self.outfile.write("}\n" "\n")
3239 self.outfile.write(
3244 self.outfile.write(" G_GNUC_UNUSED)\n")
3246 self.outfile.write(")\n")
3247 self.outfile.write("{\n")
3249 self.outfile.write(
3253 self.outfile.write("}\n" "\n")
3256 self.outfile.write(
3278 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
3279 self.outfile.write(
3294 self.outfile.write(
3305 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
3306 self.outfile.write(
3324 self.outfile.write(
3346 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
3347 self.outfile.write(
3375 self.outfile.write("\n")
3376 self.outfile.write(
3398 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
3399 self.outfile.write(
3414 self.outfile.write(
3425 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
3426 self.outfile.write(
3444 self.outfile.write(
3466 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
3467 self.outfile.write(
3495 self.outfile.write("\n")
3501 self.outfile.write(
3506 self.outfile.write(
3516 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
3517 self.outfile.write("\n")
3519 self.outfile.write(
3529 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
3530 self.outfile.write("\n")
3532 self.outfile.write(
3544 self.outfile.write(
3568 self.outfile.write(
3572 self.outfile.write(
3591 self.outfile.write(
3607 self.outfile.write(
3611 self.outfile.write(
3618 self.outfile.write(
3623 self.outfile.write("}\n" "\n")
3625 self.outfile.write(
3643 self.outfile.write(
3664 self.outfile.write(
3682 self.outfile.write(
3706 self.outfile.write(
3717 self.outfile.write(
3723 self.outfile.write("}\n" "\n")
3725 self.outfile.write(
3732 self.outfile.write("}\n" "\n")
3734 self.outfile.write(
3741 self.outfile.write(
3770 self.outfile.write(
3775 self.outfile.write(
3781 self.outfile.write(" G_GNUC_UNUSED)\n")
3783 self.outfile.write(")\n")
3784 self.outfile.write("{\n")
3786 self.outfile.write(
3803 self.outfile.write("}\n" "\n")
3806 self.outfile.write(
3812 self.outfile.write(",\n %sarg_%s" % (a.ctype_in, a.name))
3813 self.outfile.write(
3822 self.outfile.write(
3826 self.outfile.write("%s" % (a.format_in))
3827 self.outfile.write(')"')
3829 self.outfile.write(",\n arg_%s" % (a.name))
3830 self.outfile.write("));\n")
3832 self.outfile.write(
3841 self.outfile.write(" g_variant_unref (signal_variant);\n")
3842 self.outfile.write(" g_list_free_full (connections, g_object_unref);\n")
3843 self.outfile.write("}\n" "\n")
3845 self.outfile.write(
3850 self.outfile.write("#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38\n")
3851 self.outfile.write(
3855 self.outfile.write(
3858 self.outfile.write(
3862 self.outfile.write("#else\n")
3863 self.outfile.write(
3867 self.outfile.write(
3871 self.outfile.write("#endif\n")
3874 self.outfile.write(
3879 self.outfile.write(
3884 self.outfile.write(
3890 self.outfile.write(" g_free (skeleton->priv->properties);\n")
3891 self.outfile.write(
3894 self.outfile.write(
3897 self.outfile.write(
3900 self.outfile.write(" g_main_context_unref (skeleton->priv->context);\n")
3901 self.outfile.write(" g_mutex_clear (&skeleton->priv->lock);\n")
3902 self.outfile.write(
3910 self.outfile.write(
3918 self.outfile.write(
3926 self.outfile.write("}\n" "\n")
3940 self.outfile.write(
3947 self.outfile.write(
3999 self.outfile.write(
4002 self.outfile.write(" skeleton->priv->changed_properties = NULL;\n")
4003 self.outfile.write(
4006 self.outfile.write(" g_mutex_unlock (&skeleton->priv->lock);\n")
4007 self.outfile.write(" return FALSE;\n" "}\n" "\n")
4009 self.outfile.write(
4026 self.outfile.write(
4044 self.outfile.write(
4074 self.outfile.write(
4082 self.outfile.write(
4108 self.outfile.write("}\n" "\n")
4110 self.outfile.write(
4128 self.outfile.write(" g_mutex_init (&skeleton->priv->lock);\n")
4129 self.outfile.write(
4133 self.outfile.write(
4139 self.outfile.write(
4144 self.outfile.write("}\n" "\n")
4149 self.outfile.write(
4154 self.outfile.write(
4158 self.outfile.write(
4165 self.outfile.write(" return value;\n")
4166 self.outfile.write("}\n")
4167 self.outfile.write("\n")
4170 self.outfile.write(
4182 self.outfile.write(
4188 self.outfile.write(
4191 self.outfile.write(
4194 self.outfile.write(
4198 self.outfile.write(
4202 self.outfile.write(
4206 self.outfile.write(
4211 self.outfile.write(
4218 self.outfile.write("}\n" "\n")
4220 self.outfile.write(
4225 self.outfile.write(" G_GNUC_UNUSED)\n")
4227 self.outfile.write(")\n")
4228 self.outfile.write("{\n")
4230 self.outfile.write(
4235 self.outfile.write(
4239 self.outfile.write("}\n" "\n")
4242 self.outfile.write(
4254 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
4255 self.outfile.write(
4275 self.outfile.write(
4283 self.outfile.write(
4302 self.outfile.write("\n")
4304 self.outfile.write(
4314 self.outfile.write("\n")
4316 self.outfile.write(
4327 self.outfile.write("\n")
4329 self.outfile.write(
4333 self.outfile.write(
4337 self.outfile.write("\n")
4338 self.outfile.write(
4344 self.outfile.write(
4356 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 2)
4360 self.outfile.write(
4372 self.outfile.write("}\n" "\n")
4375 self.outfile.write(
4395 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
4396 self.outfile.write(
4400 self.outfile.write(
4410 self.outfile.write("\n")
4412 self.outfile.write(
4434 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
4435 self.outfile.write(
4439 self.outfile.write(
4450 self.outfile.write("\n")
4452 self.outfile.write(
4466 self.outfile.write(
4476 self.outfile.write(" */\n")
4477 self.outfile.write("\n")
4478 self.outfile.write(
4489 self.outfile.write(" */\n")
4490 self.outfile.write("\n")
4492 self.outfile.write(
4499 self.outfile.write(
4508 self.outfile.write("\n")
4509 self.outfile.write(
4524 self.outfile.write(
4531 self.outfile.write(
4541 self.outfile.write("}\n" "\n")
4542 self.outfile.write(
4557 self.outfile.write(
4565 self.outfile.write(
4573 self.outfile.write(
4585 self.outfile.write(
4590 self.outfile.write("}\n" "\n")
4592 self.outfile.write(
4606 self.outfile.write(
4618 self.outfile.write(
4628 self.outfile.write(" */\n")
4629 self.outfile.write("\n")
4630 self.outfile.write(
4641 self.outfile.write(" */\n")
4642 self.outfile.write("\n")
4644 self.outfile.write(
4651 self.outfile.write("\n")
4652 self.outfile.write(
4661 self.outfile.write(
4676 self.outfile.write(
4683 self.outfile.write(
4698 self.outfile.write(
4714 self.outfile.write(
4722 self.outfile.write(
4737 self.outfile.write(
4745 self.outfile.write(
4753 self.outfile.write(
4765 self.outfile.write(
4770 self.outfile.write("}\n" "\n")
4771 self.outfile.write(
4784 self.outfile.write(
4794 self.outfile.write(
4813 self.write_gtkdoc_deprecated_and_since_and_close(i, self.outfile, 0)
4814 self.outfile.write(
4818 self.outfile.write(
4824 self.outfile.write("\n")
4827 self.outfile.write(
4835 self.outfile.write(
4847 self.outfile.write("\n")
4849 self.outfile.write(
4859 self.outfile.write(" */\n")
4860 self.outfile.write("\n")
4862 self.outfile.write(
4873 self.outfile.write(" */\n")
4874 self.outfile.write("\n")
4877 self.outfile.write(
4883 self.outfile.write(
4890 self.outfile.write(
4898 self.outfile.write(
4914 self.outfile.write(" */\n")
4915 self.outfile.write(
4920 self.outfile.write(
4933 self.outfile.write(
4937 self.outfile.write(" g_once_init_leave (&once_init_value, 1);\n" " }\n")
4938 self.outfile.write(
4943 self.outfile.write(" return ret;\n" "}\n" "\n")
4946 self.outfile.write(
4968 self.outfile.write(" */\n")
4969 self.outfile.write(
4984 self.outfile.write(
4995 self.outfile.write(" */\n")
4996 self.outfile.write(
5014 self.outfile.write(
5036 self.outfile.write(" */\n")
5037 self.outfile.write(
5056 self.outfile.write("\n")
5057 self.outfile.write(
5079 self.outfile.write(" */\n")
5080 self.outfile.write(
5095 self.outfile.write(
5106 self.outfile.write(" */\n")
5107 self.outfile.write(
5125 self.outfile.write(
5147 self.outfile.write(" */\n")
5148 self.outfile.write(
5167 self.outfile.write("\n")
5198 self.outfile.write(
5206 self.outfile.write(
5218 self.outfile.write("\n")