/usr/include/goa-1.0/goa/goa-generated.h is in libgoa-1.0-dev 3.10.3-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 | /*
* Generated by gdbus-codegen 2.40.0. DO NOT EDIT.
*
* The license of this code is the same as for the source it was derived from.
*/
#ifndef __GOA_GENERATED_H__
#define __GOA_GENERATED_H__
#include <gio/gio.h>
G_BEGIN_DECLS
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.Account */
#define GOA_TYPE_ACCOUNT (goa_account_get_type ())
#define GOA_ACCOUNT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_ACCOUNT, GoaAccount))
#define GOA_IS_ACCOUNT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_ACCOUNT))
#define GOA_ACCOUNT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_ACCOUNT, GoaAccountIface))
struct _GoaAccount;
typedef struct _GoaAccount GoaAccount;
typedef struct _GoaAccountIface GoaAccountIface;
struct _GoaAccountIface
{
GTypeInterface parent_iface;
gboolean (*handle_ensure_credentials) (
GoaAccount *object,
GDBusMethodInvocation *invocation);
gboolean (*handle_remove) (
GoaAccount *object,
GDBusMethodInvocation *invocation);
gboolean (*get_attention_needed) (GoaAccount *object);
gboolean (*get_calendar_disabled) (GoaAccount *object);
gboolean (*get_chat_disabled) (GoaAccount *object);
gboolean (*get_contacts_disabled) (GoaAccount *object);
gboolean (*get_documents_disabled) (GoaAccount *object);
const gchar * (*get_id) (GoaAccount *object);
const gchar * (*get_identity) (GoaAccount *object);
gboolean (*get_is_temporary) (GoaAccount *object);
gboolean (*get_mail_disabled) (GoaAccount *object);
const gchar * (*get_presentation_identity) (GoaAccount *object);
const gchar * (*get_provider_icon) (GoaAccount *object);
const gchar * (*get_provider_name) (GoaAccount *object);
const gchar * (*get_provider_type) (GoaAccount *object);
gboolean (*get_ticketing_disabled) (GoaAccount *object);
gboolean (*get_files_disabled) (GoaAccount *object);
gboolean (*get_photos_disabled) (GoaAccount *object);
};
GType goa_account_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_account_interface_info (void);
guint goa_account_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus method call completion functions: */
void goa_account_complete_remove (
GoaAccount *object,
GDBusMethodInvocation *invocation);
void goa_account_complete_ensure_credentials (
GoaAccount *object,
GDBusMethodInvocation *invocation,
gint expires_in);
/* D-Bus method calls: */
void goa_account_call_remove (
GoaAccount *proxy,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean goa_account_call_remove_finish (
GoaAccount *proxy,
GAsyncResult *res,
GError **error);
gboolean goa_account_call_remove_sync (
GoaAccount *proxy,
GCancellable *cancellable,
GError **error);
void goa_account_call_ensure_credentials (
GoaAccount *proxy,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean goa_account_call_ensure_credentials_finish (
GoaAccount *proxy,
gint *out_expires_in,
GAsyncResult *res,
GError **error);
gboolean goa_account_call_ensure_credentials_sync (
GoaAccount *proxy,
gint *out_expires_in,
GCancellable *cancellable,
GError **error);
/* D-Bus property accessors: */
const gchar *goa_account_get_provider_type (GoaAccount *object);
gchar *goa_account_dup_provider_type (GoaAccount *object);
void goa_account_set_provider_type (GoaAccount *object, const gchar *value);
const gchar *goa_account_get_provider_name (GoaAccount *object);
gchar *goa_account_dup_provider_name (GoaAccount *object);
void goa_account_set_provider_name (GoaAccount *object, const gchar *value);
const gchar *goa_account_get_provider_icon (GoaAccount *object);
gchar *goa_account_dup_provider_icon (GoaAccount *object);
void goa_account_set_provider_icon (GoaAccount *object, const gchar *value);
const gchar *goa_account_get_id (GoaAccount *object);
gchar *goa_account_dup_id (GoaAccount *object);
void goa_account_set_id (GoaAccount *object, const gchar *value);
gboolean goa_account_get_is_temporary (GoaAccount *object);
void goa_account_set_is_temporary (GoaAccount *object, gboolean value);
gboolean goa_account_get_attention_needed (GoaAccount *object);
void goa_account_set_attention_needed (GoaAccount *object, gboolean value);
const gchar *goa_account_get_identity (GoaAccount *object);
gchar *goa_account_dup_identity (GoaAccount *object);
void goa_account_set_identity (GoaAccount *object, const gchar *value);
const gchar *goa_account_get_presentation_identity (GoaAccount *object);
gchar *goa_account_dup_presentation_identity (GoaAccount *object);
void goa_account_set_presentation_identity (GoaAccount *object, const gchar *value);
gboolean goa_account_get_mail_disabled (GoaAccount *object);
void goa_account_set_mail_disabled (GoaAccount *object, gboolean value);
gboolean goa_account_get_calendar_disabled (GoaAccount *object);
void goa_account_set_calendar_disabled (GoaAccount *object, gboolean value);
gboolean goa_account_get_contacts_disabled (GoaAccount *object);
void goa_account_set_contacts_disabled (GoaAccount *object, gboolean value);
gboolean goa_account_get_chat_disabled (GoaAccount *object);
void goa_account_set_chat_disabled (GoaAccount *object, gboolean value);
gboolean goa_account_get_documents_disabled (GoaAccount *object);
void goa_account_set_documents_disabled (GoaAccount *object, gboolean value);
gboolean goa_account_get_photos_disabled (GoaAccount *object);
void goa_account_set_photos_disabled (GoaAccount *object, gboolean value);
gboolean goa_account_get_files_disabled (GoaAccount *object);
void goa_account_set_files_disabled (GoaAccount *object, gboolean value);
gboolean goa_account_get_ticketing_disabled (GoaAccount *object);
void goa_account_set_ticketing_disabled (GoaAccount *object, gboolean value);
/* ---- */
#define GOA_TYPE_ACCOUNT_PROXY (goa_account_proxy_get_type ())
#define GOA_ACCOUNT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_ACCOUNT_PROXY, GoaAccountProxy))
#define GOA_ACCOUNT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_ACCOUNT_PROXY, GoaAccountProxyClass))
#define GOA_ACCOUNT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_ACCOUNT_PROXY, GoaAccountProxyClass))
#define GOA_IS_ACCOUNT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_ACCOUNT_PROXY))
#define GOA_IS_ACCOUNT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_ACCOUNT_PROXY))
typedef struct _GoaAccountProxy GoaAccountProxy;
typedef struct _GoaAccountProxyClass GoaAccountProxyClass;
typedef struct _GoaAccountProxyPrivate GoaAccountProxyPrivate;
struct _GoaAccountProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaAccountProxyPrivate *priv;
};
struct _GoaAccountProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_account_proxy_get_type (void) G_GNUC_CONST;
void goa_account_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaAccount *goa_account_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaAccount *goa_account_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_account_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaAccount *goa_account_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaAccount *goa_account_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_ACCOUNT_SKELETON (goa_account_skeleton_get_type ())
#define GOA_ACCOUNT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_ACCOUNT_SKELETON, GoaAccountSkeleton))
#define GOA_ACCOUNT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_ACCOUNT_SKELETON, GoaAccountSkeletonClass))
#define GOA_ACCOUNT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_ACCOUNT_SKELETON, GoaAccountSkeletonClass))
#define GOA_IS_ACCOUNT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_ACCOUNT_SKELETON))
#define GOA_IS_ACCOUNT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_ACCOUNT_SKELETON))
typedef struct _GoaAccountSkeleton GoaAccountSkeleton;
typedef struct _GoaAccountSkeletonClass GoaAccountSkeletonClass;
typedef struct _GoaAccountSkeletonPrivate GoaAccountSkeletonPrivate;
struct _GoaAccountSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaAccountSkeletonPrivate *priv;
};
struct _GoaAccountSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_account_skeleton_get_type (void) G_GNUC_CONST;
GoaAccount *goa_account_skeleton_new (void);
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.OAuth2Based */
#define GOA_TYPE_OAUTH2_BASED (goa_oauth2_based_get_type ())
#define GOA_OAUTH2_BASED(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OAUTH2_BASED, GoaOAuth2Based))
#define GOA_IS_OAUTH2_BASED(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_OAUTH2_BASED))
#define GOA_OAUTH2_BASED_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_OAUTH2_BASED, GoaOAuth2BasedIface))
struct _GoaOAuth2Based;
typedef struct _GoaOAuth2Based GoaOAuth2Based;
typedef struct _GoaOAuth2BasedIface GoaOAuth2BasedIface;
struct _GoaOAuth2BasedIface
{
GTypeInterface parent_iface;
gboolean (*handle_get_access_token) (
GoaOAuth2Based *object,
GDBusMethodInvocation *invocation);
const gchar * (*get_client_id) (GoaOAuth2Based *object);
const gchar * (*get_client_secret) (GoaOAuth2Based *object);
};
GType goa_oauth2_based_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_oauth2_based_interface_info (void);
guint goa_oauth2_based_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus method call completion functions: */
void goa_oauth2_based_complete_get_access_token (
GoaOAuth2Based *object,
GDBusMethodInvocation *invocation,
const gchar *access_token,
gint expires_in);
/* D-Bus method calls: */
void goa_oauth2_based_call_get_access_token (
GoaOAuth2Based *proxy,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean goa_oauth2_based_call_get_access_token_finish (
GoaOAuth2Based *proxy,
gchar **out_access_token,
gint *out_expires_in,
GAsyncResult *res,
GError **error);
gboolean goa_oauth2_based_call_get_access_token_sync (
GoaOAuth2Based *proxy,
gchar **out_access_token,
gint *out_expires_in,
GCancellable *cancellable,
GError **error);
/* D-Bus property accessors: */
const gchar *goa_oauth2_based_get_client_id (GoaOAuth2Based *object);
gchar *goa_oauth2_based_dup_client_id (GoaOAuth2Based *object);
void goa_oauth2_based_set_client_id (GoaOAuth2Based *object, const gchar *value);
const gchar *goa_oauth2_based_get_client_secret (GoaOAuth2Based *object);
gchar *goa_oauth2_based_dup_client_secret (GoaOAuth2Based *object);
void goa_oauth2_based_set_client_secret (GoaOAuth2Based *object, const gchar *value);
/* ---- */
#define GOA_TYPE_OAUTH2_BASED_PROXY (goa_oauth2_based_proxy_get_type ())
#define GOA_OAUTH2_BASED_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OAUTH2_BASED_PROXY, GoaOAuth2BasedProxy))
#define GOA_OAUTH2_BASED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_OAUTH2_BASED_PROXY, GoaOAuth2BasedProxyClass))
#define GOA_OAUTH2_BASED_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_OAUTH2_BASED_PROXY, GoaOAuth2BasedProxyClass))
#define GOA_IS_OAUTH2_BASED_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_OAUTH2_BASED_PROXY))
#define GOA_IS_OAUTH2_BASED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_OAUTH2_BASED_PROXY))
typedef struct _GoaOAuth2BasedProxy GoaOAuth2BasedProxy;
typedef struct _GoaOAuth2BasedProxyClass GoaOAuth2BasedProxyClass;
typedef struct _GoaOAuth2BasedProxyPrivate GoaOAuth2BasedProxyPrivate;
struct _GoaOAuth2BasedProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaOAuth2BasedProxyPrivate *priv;
};
struct _GoaOAuth2BasedProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_oauth2_based_proxy_get_type (void) G_GNUC_CONST;
void goa_oauth2_based_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaOAuth2Based *goa_oauth2_based_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaOAuth2Based *goa_oauth2_based_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_oauth2_based_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaOAuth2Based *goa_oauth2_based_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaOAuth2Based *goa_oauth2_based_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_OAUTH2_BASED_SKELETON (goa_oauth2_based_skeleton_get_type ())
#define GOA_OAUTH2_BASED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OAUTH2_BASED_SKELETON, GoaOAuth2BasedSkeleton))
#define GOA_OAUTH2_BASED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_OAUTH2_BASED_SKELETON, GoaOAuth2BasedSkeletonClass))
#define GOA_OAUTH2_BASED_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_OAUTH2_BASED_SKELETON, GoaOAuth2BasedSkeletonClass))
#define GOA_IS_OAUTH2_BASED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_OAUTH2_BASED_SKELETON))
#define GOA_IS_OAUTH2_BASED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_OAUTH2_BASED_SKELETON))
typedef struct _GoaOAuth2BasedSkeleton GoaOAuth2BasedSkeleton;
typedef struct _GoaOAuth2BasedSkeletonClass GoaOAuth2BasedSkeletonClass;
typedef struct _GoaOAuth2BasedSkeletonPrivate GoaOAuth2BasedSkeletonPrivate;
struct _GoaOAuth2BasedSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaOAuth2BasedSkeletonPrivate *priv;
};
struct _GoaOAuth2BasedSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_oauth2_based_skeleton_get_type (void) G_GNUC_CONST;
GoaOAuth2Based *goa_oauth2_based_skeleton_new (void);
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.OAuthBased */
#define GOA_TYPE_OAUTH_BASED (goa_oauth_based_get_type ())
#define GOA_OAUTH_BASED(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OAUTH_BASED, GoaOAuthBased))
#define GOA_IS_OAUTH_BASED(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_OAUTH_BASED))
#define GOA_OAUTH_BASED_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_OAUTH_BASED, GoaOAuthBasedIface))
struct _GoaOAuthBased;
typedef struct _GoaOAuthBased GoaOAuthBased;
typedef struct _GoaOAuthBasedIface GoaOAuthBasedIface;
struct _GoaOAuthBasedIface
{
GTypeInterface parent_iface;
gboolean (*handle_get_access_token) (
GoaOAuthBased *object,
GDBusMethodInvocation *invocation);
const gchar * (*get_consumer_key) (GoaOAuthBased *object);
const gchar * (*get_consumer_secret) (GoaOAuthBased *object);
};
GType goa_oauth_based_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_oauth_based_interface_info (void);
guint goa_oauth_based_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus method call completion functions: */
void goa_oauth_based_complete_get_access_token (
GoaOAuthBased *object,
GDBusMethodInvocation *invocation,
const gchar *access_token,
const gchar *access_token_secret,
gint expires_in);
/* D-Bus method calls: */
void goa_oauth_based_call_get_access_token (
GoaOAuthBased *proxy,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean goa_oauth_based_call_get_access_token_finish (
GoaOAuthBased *proxy,
gchar **out_access_token,
gchar **out_access_token_secret,
gint *out_expires_in,
GAsyncResult *res,
GError **error);
gboolean goa_oauth_based_call_get_access_token_sync (
GoaOAuthBased *proxy,
gchar **out_access_token,
gchar **out_access_token_secret,
gint *out_expires_in,
GCancellable *cancellable,
GError **error);
/* D-Bus property accessors: */
const gchar *goa_oauth_based_get_consumer_key (GoaOAuthBased *object);
gchar *goa_oauth_based_dup_consumer_key (GoaOAuthBased *object);
void goa_oauth_based_set_consumer_key (GoaOAuthBased *object, const gchar *value);
const gchar *goa_oauth_based_get_consumer_secret (GoaOAuthBased *object);
gchar *goa_oauth_based_dup_consumer_secret (GoaOAuthBased *object);
void goa_oauth_based_set_consumer_secret (GoaOAuthBased *object, const gchar *value);
/* ---- */
#define GOA_TYPE_OAUTH_BASED_PROXY (goa_oauth_based_proxy_get_type ())
#define GOA_OAUTH_BASED_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OAUTH_BASED_PROXY, GoaOAuthBasedProxy))
#define GOA_OAUTH_BASED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_OAUTH_BASED_PROXY, GoaOAuthBasedProxyClass))
#define GOA_OAUTH_BASED_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_OAUTH_BASED_PROXY, GoaOAuthBasedProxyClass))
#define GOA_IS_OAUTH_BASED_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_OAUTH_BASED_PROXY))
#define GOA_IS_OAUTH_BASED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_OAUTH_BASED_PROXY))
typedef struct _GoaOAuthBasedProxy GoaOAuthBasedProxy;
typedef struct _GoaOAuthBasedProxyClass GoaOAuthBasedProxyClass;
typedef struct _GoaOAuthBasedProxyPrivate GoaOAuthBasedProxyPrivate;
struct _GoaOAuthBasedProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaOAuthBasedProxyPrivate *priv;
};
struct _GoaOAuthBasedProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_oauth_based_proxy_get_type (void) G_GNUC_CONST;
void goa_oauth_based_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaOAuthBased *goa_oauth_based_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaOAuthBased *goa_oauth_based_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_oauth_based_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaOAuthBased *goa_oauth_based_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaOAuthBased *goa_oauth_based_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_OAUTH_BASED_SKELETON (goa_oauth_based_skeleton_get_type ())
#define GOA_OAUTH_BASED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OAUTH_BASED_SKELETON, GoaOAuthBasedSkeleton))
#define GOA_OAUTH_BASED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_OAUTH_BASED_SKELETON, GoaOAuthBasedSkeletonClass))
#define GOA_OAUTH_BASED_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_OAUTH_BASED_SKELETON, GoaOAuthBasedSkeletonClass))
#define GOA_IS_OAUTH_BASED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_OAUTH_BASED_SKELETON))
#define GOA_IS_OAUTH_BASED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_OAUTH_BASED_SKELETON))
typedef struct _GoaOAuthBasedSkeleton GoaOAuthBasedSkeleton;
typedef struct _GoaOAuthBasedSkeletonClass GoaOAuthBasedSkeletonClass;
typedef struct _GoaOAuthBasedSkeletonPrivate GoaOAuthBasedSkeletonPrivate;
struct _GoaOAuthBasedSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaOAuthBasedSkeletonPrivate *priv;
};
struct _GoaOAuthBasedSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_oauth_based_skeleton_get_type (void) G_GNUC_CONST;
GoaOAuthBased *goa_oauth_based_skeleton_new (void);
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.PasswordBased */
#define GOA_TYPE_PASSWORD_BASED (goa_password_based_get_type ())
#define GOA_PASSWORD_BASED(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_PASSWORD_BASED, GoaPasswordBased))
#define GOA_IS_PASSWORD_BASED(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_PASSWORD_BASED))
#define GOA_PASSWORD_BASED_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_PASSWORD_BASED, GoaPasswordBasedIface))
struct _GoaPasswordBased;
typedef struct _GoaPasswordBased GoaPasswordBased;
typedef struct _GoaPasswordBasedIface GoaPasswordBasedIface;
struct _GoaPasswordBasedIface
{
GTypeInterface parent_iface;
gboolean (*handle_get_password) (
GoaPasswordBased *object,
GDBusMethodInvocation *invocation,
const gchar *arg_id);
};
GType goa_password_based_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_password_based_interface_info (void);
guint goa_password_based_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus method call completion functions: */
void goa_password_based_complete_get_password (
GoaPasswordBased *object,
GDBusMethodInvocation *invocation,
const gchar *password);
/* D-Bus method calls: */
void goa_password_based_call_get_password (
GoaPasswordBased *proxy,
const gchar *arg_id,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean goa_password_based_call_get_password_finish (
GoaPasswordBased *proxy,
gchar **out_password,
GAsyncResult *res,
GError **error);
gboolean goa_password_based_call_get_password_sync (
GoaPasswordBased *proxy,
const gchar *arg_id,
gchar **out_password,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_PASSWORD_BASED_PROXY (goa_password_based_proxy_get_type ())
#define GOA_PASSWORD_BASED_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_PASSWORD_BASED_PROXY, GoaPasswordBasedProxy))
#define GOA_PASSWORD_BASED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_PASSWORD_BASED_PROXY, GoaPasswordBasedProxyClass))
#define GOA_PASSWORD_BASED_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_PASSWORD_BASED_PROXY, GoaPasswordBasedProxyClass))
#define GOA_IS_PASSWORD_BASED_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_PASSWORD_BASED_PROXY))
#define GOA_IS_PASSWORD_BASED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_PASSWORD_BASED_PROXY))
typedef struct _GoaPasswordBasedProxy GoaPasswordBasedProxy;
typedef struct _GoaPasswordBasedProxyClass GoaPasswordBasedProxyClass;
typedef struct _GoaPasswordBasedProxyPrivate GoaPasswordBasedProxyPrivate;
struct _GoaPasswordBasedProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaPasswordBasedProxyPrivate *priv;
};
struct _GoaPasswordBasedProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_password_based_proxy_get_type (void) G_GNUC_CONST;
void goa_password_based_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaPasswordBased *goa_password_based_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaPasswordBased *goa_password_based_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_password_based_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaPasswordBased *goa_password_based_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaPasswordBased *goa_password_based_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_PASSWORD_BASED_SKELETON (goa_password_based_skeleton_get_type ())
#define GOA_PASSWORD_BASED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_PASSWORD_BASED_SKELETON, GoaPasswordBasedSkeleton))
#define GOA_PASSWORD_BASED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_PASSWORD_BASED_SKELETON, GoaPasswordBasedSkeletonClass))
#define GOA_PASSWORD_BASED_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_PASSWORD_BASED_SKELETON, GoaPasswordBasedSkeletonClass))
#define GOA_IS_PASSWORD_BASED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_PASSWORD_BASED_SKELETON))
#define GOA_IS_PASSWORD_BASED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_PASSWORD_BASED_SKELETON))
typedef struct _GoaPasswordBasedSkeleton GoaPasswordBasedSkeleton;
typedef struct _GoaPasswordBasedSkeletonClass GoaPasswordBasedSkeletonClass;
typedef struct _GoaPasswordBasedSkeletonPrivate GoaPasswordBasedSkeletonPrivate;
struct _GoaPasswordBasedSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaPasswordBasedSkeletonPrivate *priv;
};
struct _GoaPasswordBasedSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_password_based_skeleton_get_type (void) G_GNUC_CONST;
GoaPasswordBased *goa_password_based_skeleton_new (void);
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.Manager */
#define GOA_TYPE_MANAGER (goa_manager_get_type ())
#define GOA_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_MANAGER, GoaManager))
#define GOA_IS_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_MANAGER))
#define GOA_MANAGER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_MANAGER, GoaManagerIface))
struct _GoaManager;
typedef struct _GoaManager GoaManager;
typedef struct _GoaManagerIface GoaManagerIface;
struct _GoaManagerIface
{
GTypeInterface parent_iface;
gboolean (*handle_add_account) (
GoaManager *object,
GDBusMethodInvocation *invocation,
const gchar *arg_provider,
const gchar *arg_identity,
const gchar *arg_presentation_identity,
GVariant *arg_credentials,
GVariant *arg_details);
};
GType goa_manager_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_manager_interface_info (void);
guint goa_manager_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus method call completion functions: */
void goa_manager_complete_add_account (
GoaManager *object,
GDBusMethodInvocation *invocation,
const gchar *account_object_path);
/* D-Bus method calls: */
void goa_manager_call_add_account (
GoaManager *proxy,
const gchar *arg_provider,
const gchar *arg_identity,
const gchar *arg_presentation_identity,
GVariant *arg_credentials,
GVariant *arg_details,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean goa_manager_call_add_account_finish (
GoaManager *proxy,
gchar **out_account_object_path,
GAsyncResult *res,
GError **error);
gboolean goa_manager_call_add_account_sync (
GoaManager *proxy,
const gchar *arg_provider,
const gchar *arg_identity,
const gchar *arg_presentation_identity,
GVariant *arg_credentials,
GVariant *arg_details,
gchar **out_account_object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_MANAGER_PROXY (goa_manager_proxy_get_type ())
#define GOA_MANAGER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_MANAGER_PROXY, GoaManagerProxy))
#define GOA_MANAGER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_MANAGER_PROXY, GoaManagerProxyClass))
#define GOA_MANAGER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_MANAGER_PROXY, GoaManagerProxyClass))
#define GOA_IS_MANAGER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_MANAGER_PROXY))
#define GOA_IS_MANAGER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_MANAGER_PROXY))
typedef struct _GoaManagerProxy GoaManagerProxy;
typedef struct _GoaManagerProxyClass GoaManagerProxyClass;
typedef struct _GoaManagerProxyPrivate GoaManagerProxyPrivate;
struct _GoaManagerProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaManagerProxyPrivate *priv;
};
struct _GoaManagerProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_manager_proxy_get_type (void) G_GNUC_CONST;
void goa_manager_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaManager *goa_manager_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaManager *goa_manager_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_manager_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaManager *goa_manager_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaManager *goa_manager_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_MANAGER_SKELETON (goa_manager_skeleton_get_type ())
#define GOA_MANAGER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_MANAGER_SKELETON, GoaManagerSkeleton))
#define GOA_MANAGER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_MANAGER_SKELETON, GoaManagerSkeletonClass))
#define GOA_MANAGER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_MANAGER_SKELETON, GoaManagerSkeletonClass))
#define GOA_IS_MANAGER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_MANAGER_SKELETON))
#define GOA_IS_MANAGER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_MANAGER_SKELETON))
typedef struct _GoaManagerSkeleton GoaManagerSkeleton;
typedef struct _GoaManagerSkeletonClass GoaManagerSkeletonClass;
typedef struct _GoaManagerSkeletonPrivate GoaManagerSkeletonPrivate;
struct _GoaManagerSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaManagerSkeletonPrivate *priv;
};
struct _GoaManagerSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_manager_skeleton_get_type (void) G_GNUC_CONST;
GoaManager *goa_manager_skeleton_new (void);
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.Mail */
#define GOA_TYPE_MAIL (goa_mail_get_type ())
#define GOA_MAIL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_MAIL, GoaMail))
#define GOA_IS_MAIL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_MAIL))
#define GOA_MAIL_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_MAIL, GoaMailIface))
struct _GoaMail;
typedef struct _GoaMail GoaMail;
typedef struct _GoaMailIface GoaMailIface;
struct _GoaMailIface
{
GTypeInterface parent_iface;
const gchar * (*get_email_address) (GoaMail *object);
const gchar * (*get_imap_host) (GoaMail *object);
gboolean (*get_imap_supported) (GoaMail *object);
gboolean (*get_imap_use_tls) (GoaMail *object);
const gchar * (*get_imap_user_name) (GoaMail *object);
const gchar * (*get_smtp_host) (GoaMail *object);
gboolean (*get_smtp_supported) (GoaMail *object);
gboolean (*get_smtp_use_tls) (GoaMail *object);
const gchar * (*get_smtp_user_name) (GoaMail *object);
gboolean (*get_imap_accept_ssl_errors) (GoaMail *object);
gboolean (*get_imap_use_ssl) (GoaMail *object);
const gchar * (*get_name) (GoaMail *object);
gboolean (*get_smtp_accept_ssl_errors) (GoaMail *object);
gboolean (*get_smtp_use_auth) (GoaMail *object);
gboolean (*get_smtp_use_ssl) (GoaMail *object);
};
GType goa_mail_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_mail_interface_info (void);
guint goa_mail_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus property accessors: */
const gchar *goa_mail_get_email_address (GoaMail *object);
gchar *goa_mail_dup_email_address (GoaMail *object);
void goa_mail_set_email_address (GoaMail *object, const gchar *value);
const gchar *goa_mail_get_name (GoaMail *object);
gchar *goa_mail_dup_name (GoaMail *object);
void goa_mail_set_name (GoaMail *object, const gchar *value);
gboolean goa_mail_get_imap_supported (GoaMail *object);
void goa_mail_set_imap_supported (GoaMail *object, gboolean value);
gboolean goa_mail_get_imap_accept_ssl_errors (GoaMail *object);
void goa_mail_set_imap_accept_ssl_errors (GoaMail *object, gboolean value);
const gchar *goa_mail_get_imap_host (GoaMail *object);
gchar *goa_mail_dup_imap_host (GoaMail *object);
void goa_mail_set_imap_host (GoaMail *object, const gchar *value);
gboolean goa_mail_get_imap_use_ssl (GoaMail *object);
void goa_mail_set_imap_use_ssl (GoaMail *object, gboolean value);
gboolean goa_mail_get_imap_use_tls (GoaMail *object);
void goa_mail_set_imap_use_tls (GoaMail *object, gboolean value);
const gchar *goa_mail_get_imap_user_name (GoaMail *object);
gchar *goa_mail_dup_imap_user_name (GoaMail *object);
void goa_mail_set_imap_user_name (GoaMail *object, const gchar *value);
gboolean goa_mail_get_smtp_supported (GoaMail *object);
void goa_mail_set_smtp_supported (GoaMail *object, gboolean value);
gboolean goa_mail_get_smtp_accept_ssl_errors (GoaMail *object);
void goa_mail_set_smtp_accept_ssl_errors (GoaMail *object, gboolean value);
const gchar *goa_mail_get_smtp_host (GoaMail *object);
gchar *goa_mail_dup_smtp_host (GoaMail *object);
void goa_mail_set_smtp_host (GoaMail *object, const gchar *value);
gboolean goa_mail_get_smtp_use_auth (GoaMail *object);
void goa_mail_set_smtp_use_auth (GoaMail *object, gboolean value);
gboolean goa_mail_get_smtp_use_ssl (GoaMail *object);
void goa_mail_set_smtp_use_ssl (GoaMail *object, gboolean value);
gboolean goa_mail_get_smtp_use_tls (GoaMail *object);
void goa_mail_set_smtp_use_tls (GoaMail *object, gboolean value);
const gchar *goa_mail_get_smtp_user_name (GoaMail *object);
gchar *goa_mail_dup_smtp_user_name (GoaMail *object);
void goa_mail_set_smtp_user_name (GoaMail *object, const gchar *value);
/* ---- */
#define GOA_TYPE_MAIL_PROXY (goa_mail_proxy_get_type ())
#define GOA_MAIL_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_MAIL_PROXY, GoaMailProxy))
#define GOA_MAIL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_MAIL_PROXY, GoaMailProxyClass))
#define GOA_MAIL_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_MAIL_PROXY, GoaMailProxyClass))
#define GOA_IS_MAIL_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_MAIL_PROXY))
#define GOA_IS_MAIL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_MAIL_PROXY))
typedef struct _GoaMailProxy GoaMailProxy;
typedef struct _GoaMailProxyClass GoaMailProxyClass;
typedef struct _GoaMailProxyPrivate GoaMailProxyPrivate;
struct _GoaMailProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaMailProxyPrivate *priv;
};
struct _GoaMailProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_mail_proxy_get_type (void) G_GNUC_CONST;
void goa_mail_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaMail *goa_mail_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaMail *goa_mail_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_mail_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaMail *goa_mail_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaMail *goa_mail_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_MAIL_SKELETON (goa_mail_skeleton_get_type ())
#define GOA_MAIL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_MAIL_SKELETON, GoaMailSkeleton))
#define GOA_MAIL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_MAIL_SKELETON, GoaMailSkeletonClass))
#define GOA_MAIL_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_MAIL_SKELETON, GoaMailSkeletonClass))
#define GOA_IS_MAIL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_MAIL_SKELETON))
#define GOA_IS_MAIL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_MAIL_SKELETON))
typedef struct _GoaMailSkeleton GoaMailSkeleton;
typedef struct _GoaMailSkeletonClass GoaMailSkeletonClass;
typedef struct _GoaMailSkeletonPrivate GoaMailSkeletonPrivate;
struct _GoaMailSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaMailSkeletonPrivate *priv;
};
struct _GoaMailSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_mail_skeleton_get_type (void) G_GNUC_CONST;
GoaMail *goa_mail_skeleton_new (void);
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.Calendar */
#define GOA_TYPE_CALENDAR (goa_calendar_get_type ())
#define GOA_CALENDAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_CALENDAR, GoaCalendar))
#define GOA_IS_CALENDAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_CALENDAR))
#define GOA_CALENDAR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_CALENDAR, GoaCalendarIface))
struct _GoaCalendar;
typedef struct _GoaCalendar GoaCalendar;
typedef struct _GoaCalendarIface GoaCalendarIface;
struct _GoaCalendarIface
{
GTypeInterface parent_iface;
gboolean (*get_accept_ssl_errors) (GoaCalendar *object);
const gchar * (*get_uri) (GoaCalendar *object);
};
GType goa_calendar_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_calendar_interface_info (void);
guint goa_calendar_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus property accessors: */
gboolean goa_calendar_get_accept_ssl_errors (GoaCalendar *object);
void goa_calendar_set_accept_ssl_errors (GoaCalendar *object, gboolean value);
const gchar *goa_calendar_get_uri (GoaCalendar *object);
gchar *goa_calendar_dup_uri (GoaCalendar *object);
void goa_calendar_set_uri (GoaCalendar *object, const gchar *value);
/* ---- */
#define GOA_TYPE_CALENDAR_PROXY (goa_calendar_proxy_get_type ())
#define GOA_CALENDAR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_CALENDAR_PROXY, GoaCalendarProxy))
#define GOA_CALENDAR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_CALENDAR_PROXY, GoaCalendarProxyClass))
#define GOA_CALENDAR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_CALENDAR_PROXY, GoaCalendarProxyClass))
#define GOA_IS_CALENDAR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_CALENDAR_PROXY))
#define GOA_IS_CALENDAR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_CALENDAR_PROXY))
typedef struct _GoaCalendarProxy GoaCalendarProxy;
typedef struct _GoaCalendarProxyClass GoaCalendarProxyClass;
typedef struct _GoaCalendarProxyPrivate GoaCalendarProxyPrivate;
struct _GoaCalendarProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaCalendarProxyPrivate *priv;
};
struct _GoaCalendarProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_calendar_proxy_get_type (void) G_GNUC_CONST;
void goa_calendar_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaCalendar *goa_calendar_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaCalendar *goa_calendar_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_calendar_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaCalendar *goa_calendar_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaCalendar *goa_calendar_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_CALENDAR_SKELETON (goa_calendar_skeleton_get_type ())
#define GOA_CALENDAR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_CALENDAR_SKELETON, GoaCalendarSkeleton))
#define GOA_CALENDAR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_CALENDAR_SKELETON, GoaCalendarSkeletonClass))
#define GOA_CALENDAR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_CALENDAR_SKELETON, GoaCalendarSkeletonClass))
#define GOA_IS_CALENDAR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_CALENDAR_SKELETON))
#define GOA_IS_CALENDAR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_CALENDAR_SKELETON))
typedef struct _GoaCalendarSkeleton GoaCalendarSkeleton;
typedef struct _GoaCalendarSkeletonClass GoaCalendarSkeletonClass;
typedef struct _GoaCalendarSkeletonPrivate GoaCalendarSkeletonPrivate;
struct _GoaCalendarSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaCalendarSkeletonPrivate *priv;
};
struct _GoaCalendarSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_calendar_skeleton_get_type (void) G_GNUC_CONST;
GoaCalendar *goa_calendar_skeleton_new (void);
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.Contacts */
#define GOA_TYPE_CONTACTS (goa_contacts_get_type ())
#define GOA_CONTACTS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_CONTACTS, GoaContacts))
#define GOA_IS_CONTACTS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_CONTACTS))
#define GOA_CONTACTS_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_CONTACTS, GoaContactsIface))
struct _GoaContacts;
typedef struct _GoaContacts GoaContacts;
typedef struct _GoaContactsIface GoaContactsIface;
struct _GoaContactsIface
{
GTypeInterface parent_iface;
gboolean (*get_accept_ssl_errors) (GoaContacts *object);
const gchar * (*get_uri) (GoaContacts *object);
};
GType goa_contacts_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_contacts_interface_info (void);
guint goa_contacts_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus property accessors: */
gboolean goa_contacts_get_accept_ssl_errors (GoaContacts *object);
void goa_contacts_set_accept_ssl_errors (GoaContacts *object, gboolean value);
const gchar *goa_contacts_get_uri (GoaContacts *object);
gchar *goa_contacts_dup_uri (GoaContacts *object);
void goa_contacts_set_uri (GoaContacts *object, const gchar *value);
/* ---- */
#define GOA_TYPE_CONTACTS_PROXY (goa_contacts_proxy_get_type ())
#define GOA_CONTACTS_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_CONTACTS_PROXY, GoaContactsProxy))
#define GOA_CONTACTS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_CONTACTS_PROXY, GoaContactsProxyClass))
#define GOA_CONTACTS_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_CONTACTS_PROXY, GoaContactsProxyClass))
#define GOA_IS_CONTACTS_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_CONTACTS_PROXY))
#define GOA_IS_CONTACTS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_CONTACTS_PROXY))
typedef struct _GoaContactsProxy GoaContactsProxy;
typedef struct _GoaContactsProxyClass GoaContactsProxyClass;
typedef struct _GoaContactsProxyPrivate GoaContactsProxyPrivate;
struct _GoaContactsProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaContactsProxyPrivate *priv;
};
struct _GoaContactsProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_contacts_proxy_get_type (void) G_GNUC_CONST;
void goa_contacts_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaContacts *goa_contacts_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaContacts *goa_contacts_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_contacts_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaContacts *goa_contacts_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaContacts *goa_contacts_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_CONTACTS_SKELETON (goa_contacts_skeleton_get_type ())
#define GOA_CONTACTS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_CONTACTS_SKELETON, GoaContactsSkeleton))
#define GOA_CONTACTS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_CONTACTS_SKELETON, GoaContactsSkeletonClass))
#define GOA_CONTACTS_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_CONTACTS_SKELETON, GoaContactsSkeletonClass))
#define GOA_IS_CONTACTS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_CONTACTS_SKELETON))
#define GOA_IS_CONTACTS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_CONTACTS_SKELETON))
typedef struct _GoaContactsSkeleton GoaContactsSkeleton;
typedef struct _GoaContactsSkeletonClass GoaContactsSkeletonClass;
typedef struct _GoaContactsSkeletonPrivate GoaContactsSkeletonPrivate;
struct _GoaContactsSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaContactsSkeletonPrivate *priv;
};
struct _GoaContactsSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_contacts_skeleton_get_type (void) G_GNUC_CONST;
GoaContacts *goa_contacts_skeleton_new (void);
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.Chat */
#define GOA_TYPE_CHAT (goa_chat_get_type ())
#define GOA_CHAT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_CHAT, GoaChat))
#define GOA_IS_CHAT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_CHAT))
#define GOA_CHAT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_CHAT, GoaChatIface))
struct _GoaChat;
typedef struct _GoaChat GoaChat;
typedef struct _GoaChatIface GoaChatIface;
struct _GoaChatIface
{
GTypeInterface parent_iface;
};
GType goa_chat_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_chat_interface_info (void);
guint goa_chat_override_properties (GObjectClass *klass, guint property_id_begin);
/* ---- */
#define GOA_TYPE_CHAT_PROXY (goa_chat_proxy_get_type ())
#define GOA_CHAT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_CHAT_PROXY, GoaChatProxy))
#define GOA_CHAT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_CHAT_PROXY, GoaChatProxyClass))
#define GOA_CHAT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_CHAT_PROXY, GoaChatProxyClass))
#define GOA_IS_CHAT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_CHAT_PROXY))
#define GOA_IS_CHAT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_CHAT_PROXY))
typedef struct _GoaChatProxy GoaChatProxy;
typedef struct _GoaChatProxyClass GoaChatProxyClass;
typedef struct _GoaChatProxyPrivate GoaChatProxyPrivate;
struct _GoaChatProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaChatProxyPrivate *priv;
};
struct _GoaChatProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_chat_proxy_get_type (void) G_GNUC_CONST;
void goa_chat_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaChat *goa_chat_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaChat *goa_chat_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_chat_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaChat *goa_chat_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaChat *goa_chat_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_CHAT_SKELETON (goa_chat_skeleton_get_type ())
#define GOA_CHAT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_CHAT_SKELETON, GoaChatSkeleton))
#define GOA_CHAT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_CHAT_SKELETON, GoaChatSkeletonClass))
#define GOA_CHAT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_CHAT_SKELETON, GoaChatSkeletonClass))
#define GOA_IS_CHAT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_CHAT_SKELETON))
#define GOA_IS_CHAT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_CHAT_SKELETON))
typedef struct _GoaChatSkeleton GoaChatSkeleton;
typedef struct _GoaChatSkeletonClass GoaChatSkeletonClass;
typedef struct _GoaChatSkeletonPrivate GoaChatSkeletonPrivate;
struct _GoaChatSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaChatSkeletonPrivate *priv;
};
struct _GoaChatSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_chat_skeleton_get_type (void) G_GNUC_CONST;
GoaChat *goa_chat_skeleton_new (void);
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.Documents */
#define GOA_TYPE_DOCUMENTS (goa_documents_get_type ())
#define GOA_DOCUMENTS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_DOCUMENTS, GoaDocuments))
#define GOA_IS_DOCUMENTS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_DOCUMENTS))
#define GOA_DOCUMENTS_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_DOCUMENTS, GoaDocumentsIface))
struct _GoaDocuments;
typedef struct _GoaDocuments GoaDocuments;
typedef struct _GoaDocumentsIface GoaDocumentsIface;
struct _GoaDocumentsIface
{
GTypeInterface parent_iface;
};
GType goa_documents_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_documents_interface_info (void);
guint goa_documents_override_properties (GObjectClass *klass, guint property_id_begin);
/* ---- */
#define GOA_TYPE_DOCUMENTS_PROXY (goa_documents_proxy_get_type ())
#define GOA_DOCUMENTS_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_DOCUMENTS_PROXY, GoaDocumentsProxy))
#define GOA_DOCUMENTS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_DOCUMENTS_PROXY, GoaDocumentsProxyClass))
#define GOA_DOCUMENTS_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_DOCUMENTS_PROXY, GoaDocumentsProxyClass))
#define GOA_IS_DOCUMENTS_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_DOCUMENTS_PROXY))
#define GOA_IS_DOCUMENTS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_DOCUMENTS_PROXY))
typedef struct _GoaDocumentsProxy GoaDocumentsProxy;
typedef struct _GoaDocumentsProxyClass GoaDocumentsProxyClass;
typedef struct _GoaDocumentsProxyPrivate GoaDocumentsProxyPrivate;
struct _GoaDocumentsProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaDocumentsProxyPrivate *priv;
};
struct _GoaDocumentsProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_documents_proxy_get_type (void) G_GNUC_CONST;
void goa_documents_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaDocuments *goa_documents_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaDocuments *goa_documents_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_documents_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaDocuments *goa_documents_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaDocuments *goa_documents_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_DOCUMENTS_SKELETON (goa_documents_skeleton_get_type ())
#define GOA_DOCUMENTS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_DOCUMENTS_SKELETON, GoaDocumentsSkeleton))
#define GOA_DOCUMENTS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_DOCUMENTS_SKELETON, GoaDocumentsSkeletonClass))
#define GOA_DOCUMENTS_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_DOCUMENTS_SKELETON, GoaDocumentsSkeletonClass))
#define GOA_IS_DOCUMENTS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_DOCUMENTS_SKELETON))
#define GOA_IS_DOCUMENTS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_DOCUMENTS_SKELETON))
typedef struct _GoaDocumentsSkeleton GoaDocumentsSkeleton;
typedef struct _GoaDocumentsSkeletonClass GoaDocumentsSkeletonClass;
typedef struct _GoaDocumentsSkeletonPrivate GoaDocumentsSkeletonPrivate;
struct _GoaDocumentsSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaDocumentsSkeletonPrivate *priv;
};
struct _GoaDocumentsSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_documents_skeleton_get_type (void) G_GNUC_CONST;
GoaDocuments *goa_documents_skeleton_new (void);
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.Photos */
#define GOA_TYPE_PHOTOS (goa_photos_get_type ())
#define GOA_PHOTOS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_PHOTOS, GoaPhotos))
#define GOA_IS_PHOTOS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_PHOTOS))
#define GOA_PHOTOS_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_PHOTOS, GoaPhotosIface))
struct _GoaPhotos;
typedef struct _GoaPhotos GoaPhotos;
typedef struct _GoaPhotosIface GoaPhotosIface;
struct _GoaPhotosIface
{
GTypeInterface parent_iface;
};
GType goa_photos_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_photos_interface_info (void);
guint goa_photos_override_properties (GObjectClass *klass, guint property_id_begin);
/* ---- */
#define GOA_TYPE_PHOTOS_PROXY (goa_photos_proxy_get_type ())
#define GOA_PHOTOS_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_PHOTOS_PROXY, GoaPhotosProxy))
#define GOA_PHOTOS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_PHOTOS_PROXY, GoaPhotosProxyClass))
#define GOA_PHOTOS_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_PHOTOS_PROXY, GoaPhotosProxyClass))
#define GOA_IS_PHOTOS_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_PHOTOS_PROXY))
#define GOA_IS_PHOTOS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_PHOTOS_PROXY))
typedef struct _GoaPhotosProxy GoaPhotosProxy;
typedef struct _GoaPhotosProxyClass GoaPhotosProxyClass;
typedef struct _GoaPhotosProxyPrivate GoaPhotosProxyPrivate;
struct _GoaPhotosProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaPhotosProxyPrivate *priv;
};
struct _GoaPhotosProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_photos_proxy_get_type (void) G_GNUC_CONST;
void goa_photos_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaPhotos *goa_photos_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaPhotos *goa_photos_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_photos_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaPhotos *goa_photos_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaPhotos *goa_photos_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_PHOTOS_SKELETON (goa_photos_skeleton_get_type ())
#define GOA_PHOTOS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_PHOTOS_SKELETON, GoaPhotosSkeleton))
#define GOA_PHOTOS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_PHOTOS_SKELETON, GoaPhotosSkeletonClass))
#define GOA_PHOTOS_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_PHOTOS_SKELETON, GoaPhotosSkeletonClass))
#define GOA_IS_PHOTOS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_PHOTOS_SKELETON))
#define GOA_IS_PHOTOS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_PHOTOS_SKELETON))
typedef struct _GoaPhotosSkeleton GoaPhotosSkeleton;
typedef struct _GoaPhotosSkeletonClass GoaPhotosSkeletonClass;
typedef struct _GoaPhotosSkeletonPrivate GoaPhotosSkeletonPrivate;
struct _GoaPhotosSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaPhotosSkeletonPrivate *priv;
};
struct _GoaPhotosSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_photos_skeleton_get_type (void) G_GNUC_CONST;
GoaPhotos *goa_photos_skeleton_new (void);
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.Files */
#define GOA_TYPE_FILES (goa_files_get_type ())
#define GOA_FILES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_FILES, GoaFiles))
#define GOA_IS_FILES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_FILES))
#define GOA_FILES_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_FILES, GoaFilesIface))
struct _GoaFiles;
typedef struct _GoaFiles GoaFiles;
typedef struct _GoaFilesIface GoaFilesIface;
struct _GoaFilesIface
{
GTypeInterface parent_iface;
gboolean (*get_accept_ssl_errors) (GoaFiles *object);
const gchar * (*get_uri) (GoaFiles *object);
};
GType goa_files_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_files_interface_info (void);
guint goa_files_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus property accessors: */
gboolean goa_files_get_accept_ssl_errors (GoaFiles *object);
void goa_files_set_accept_ssl_errors (GoaFiles *object, gboolean value);
const gchar *goa_files_get_uri (GoaFiles *object);
gchar *goa_files_dup_uri (GoaFiles *object);
void goa_files_set_uri (GoaFiles *object, const gchar *value);
/* ---- */
#define GOA_TYPE_FILES_PROXY (goa_files_proxy_get_type ())
#define GOA_FILES_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_FILES_PROXY, GoaFilesProxy))
#define GOA_FILES_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_FILES_PROXY, GoaFilesProxyClass))
#define GOA_FILES_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_FILES_PROXY, GoaFilesProxyClass))
#define GOA_IS_FILES_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_FILES_PROXY))
#define GOA_IS_FILES_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_FILES_PROXY))
typedef struct _GoaFilesProxy GoaFilesProxy;
typedef struct _GoaFilesProxyClass GoaFilesProxyClass;
typedef struct _GoaFilesProxyPrivate GoaFilesProxyPrivate;
struct _GoaFilesProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaFilesProxyPrivate *priv;
};
struct _GoaFilesProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_files_proxy_get_type (void) G_GNUC_CONST;
void goa_files_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaFiles *goa_files_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaFiles *goa_files_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_files_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaFiles *goa_files_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaFiles *goa_files_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_FILES_SKELETON (goa_files_skeleton_get_type ())
#define GOA_FILES_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_FILES_SKELETON, GoaFilesSkeleton))
#define GOA_FILES_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_FILES_SKELETON, GoaFilesSkeletonClass))
#define GOA_FILES_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_FILES_SKELETON, GoaFilesSkeletonClass))
#define GOA_IS_FILES_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_FILES_SKELETON))
#define GOA_IS_FILES_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_FILES_SKELETON))
typedef struct _GoaFilesSkeleton GoaFilesSkeleton;
typedef struct _GoaFilesSkeletonClass GoaFilesSkeletonClass;
typedef struct _GoaFilesSkeletonPrivate GoaFilesSkeletonPrivate;
struct _GoaFilesSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaFilesSkeletonPrivate *priv;
};
struct _GoaFilesSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_files_skeleton_get_type (void) G_GNUC_CONST;
GoaFiles *goa_files_skeleton_new (void);
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.Exchange */
#define GOA_TYPE_EXCHANGE (goa_exchange_get_type ())
#define GOA_EXCHANGE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_EXCHANGE, GoaExchange))
#define GOA_IS_EXCHANGE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_EXCHANGE))
#define GOA_EXCHANGE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_EXCHANGE, GoaExchangeIface))
struct _GoaExchange;
typedef struct _GoaExchange GoaExchange;
typedef struct _GoaExchangeIface GoaExchangeIface;
struct _GoaExchangeIface
{
GTypeInterface parent_iface;
const gchar * (*get_host) (GoaExchange *object);
gboolean (*get_accept_ssl_errors) (GoaExchange *object);
};
GType goa_exchange_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_exchange_interface_info (void);
guint goa_exchange_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus property accessors: */
gboolean goa_exchange_get_accept_ssl_errors (GoaExchange *object);
void goa_exchange_set_accept_ssl_errors (GoaExchange *object, gboolean value);
const gchar *goa_exchange_get_host (GoaExchange *object);
gchar *goa_exchange_dup_host (GoaExchange *object);
void goa_exchange_set_host (GoaExchange *object, const gchar *value);
/* ---- */
#define GOA_TYPE_EXCHANGE_PROXY (goa_exchange_proxy_get_type ())
#define GOA_EXCHANGE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_EXCHANGE_PROXY, GoaExchangeProxy))
#define GOA_EXCHANGE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_EXCHANGE_PROXY, GoaExchangeProxyClass))
#define GOA_EXCHANGE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_EXCHANGE_PROXY, GoaExchangeProxyClass))
#define GOA_IS_EXCHANGE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_EXCHANGE_PROXY))
#define GOA_IS_EXCHANGE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_EXCHANGE_PROXY))
typedef struct _GoaExchangeProxy GoaExchangeProxy;
typedef struct _GoaExchangeProxyClass GoaExchangeProxyClass;
typedef struct _GoaExchangeProxyPrivate GoaExchangeProxyPrivate;
struct _GoaExchangeProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaExchangeProxyPrivate *priv;
};
struct _GoaExchangeProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_exchange_proxy_get_type (void) G_GNUC_CONST;
void goa_exchange_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaExchange *goa_exchange_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaExchange *goa_exchange_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_exchange_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaExchange *goa_exchange_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaExchange *goa_exchange_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_EXCHANGE_SKELETON (goa_exchange_skeleton_get_type ())
#define GOA_EXCHANGE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_EXCHANGE_SKELETON, GoaExchangeSkeleton))
#define GOA_EXCHANGE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_EXCHANGE_SKELETON, GoaExchangeSkeletonClass))
#define GOA_EXCHANGE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_EXCHANGE_SKELETON, GoaExchangeSkeletonClass))
#define GOA_IS_EXCHANGE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_EXCHANGE_SKELETON))
#define GOA_IS_EXCHANGE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_EXCHANGE_SKELETON))
typedef struct _GoaExchangeSkeleton GoaExchangeSkeleton;
typedef struct _GoaExchangeSkeletonClass GoaExchangeSkeletonClass;
typedef struct _GoaExchangeSkeletonPrivate GoaExchangeSkeletonPrivate;
struct _GoaExchangeSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaExchangeSkeletonPrivate *priv;
};
struct _GoaExchangeSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_exchange_skeleton_get_type (void) G_GNUC_CONST;
GoaExchange *goa_exchange_skeleton_new (void);
/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.OnlineAccounts.Ticketing */
#define GOA_TYPE_TICKETING (goa_ticketing_get_type ())
#define GOA_TICKETING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_TICKETING, GoaTicketing))
#define GOA_IS_TICKETING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_TICKETING))
#define GOA_TICKETING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_TICKETING, GoaTicketingIface))
struct _GoaTicketing;
typedef struct _GoaTicketing GoaTicketing;
typedef struct _GoaTicketingIface GoaTicketingIface;
struct _GoaTicketingIface
{
GTypeInterface parent_iface;
gboolean (*handle_get_ticket) (
GoaTicketing *object,
GDBusMethodInvocation *invocation);
};
GType goa_ticketing_get_type (void) G_GNUC_CONST;
GDBusInterfaceInfo *goa_ticketing_interface_info (void);
guint goa_ticketing_override_properties (GObjectClass *klass, guint property_id_begin);
/* D-Bus method call completion functions: */
void goa_ticketing_complete_get_ticket (
GoaTicketing *object,
GDBusMethodInvocation *invocation);
/* D-Bus method calls: */
void goa_ticketing_call_get_ticket (
GoaTicketing *proxy,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean goa_ticketing_call_get_ticket_finish (
GoaTicketing *proxy,
GAsyncResult *res,
GError **error);
gboolean goa_ticketing_call_get_ticket_sync (
GoaTicketing *proxy,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_TICKETING_PROXY (goa_ticketing_proxy_get_type ())
#define GOA_TICKETING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_TICKETING_PROXY, GoaTicketingProxy))
#define GOA_TICKETING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_TICKETING_PROXY, GoaTicketingProxyClass))
#define GOA_TICKETING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_TICKETING_PROXY, GoaTicketingProxyClass))
#define GOA_IS_TICKETING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_TICKETING_PROXY))
#define GOA_IS_TICKETING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_TICKETING_PROXY))
typedef struct _GoaTicketingProxy GoaTicketingProxy;
typedef struct _GoaTicketingProxyClass GoaTicketingProxyClass;
typedef struct _GoaTicketingProxyPrivate GoaTicketingProxyPrivate;
struct _GoaTicketingProxy
{
/*< private >*/
GDBusProxy parent_instance;
GoaTicketingProxyPrivate *priv;
};
struct _GoaTicketingProxyClass
{
GDBusProxyClass parent_class;
};
GType goa_ticketing_proxy_get_type (void) G_GNUC_CONST;
void goa_ticketing_proxy_new (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaTicketing *goa_ticketing_proxy_new_finish (
GAsyncResult *res,
GError **error);
GoaTicketing *goa_ticketing_proxy_new_sync (
GDBusConnection *connection,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_ticketing_proxy_new_for_bus (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GoaTicketing *goa_ticketing_proxy_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GoaTicketing *goa_ticketing_proxy_new_for_bus_sync (
GBusType bus_type,
GDBusProxyFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
/* ---- */
#define GOA_TYPE_TICKETING_SKELETON (goa_ticketing_skeleton_get_type ())
#define GOA_TICKETING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_TICKETING_SKELETON, GoaTicketingSkeleton))
#define GOA_TICKETING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_TICKETING_SKELETON, GoaTicketingSkeletonClass))
#define GOA_TICKETING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_TICKETING_SKELETON, GoaTicketingSkeletonClass))
#define GOA_IS_TICKETING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_TICKETING_SKELETON))
#define GOA_IS_TICKETING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_TICKETING_SKELETON))
typedef struct _GoaTicketingSkeleton GoaTicketingSkeleton;
typedef struct _GoaTicketingSkeletonClass GoaTicketingSkeletonClass;
typedef struct _GoaTicketingSkeletonPrivate GoaTicketingSkeletonPrivate;
struct _GoaTicketingSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
GoaTicketingSkeletonPrivate *priv;
};
struct _GoaTicketingSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
GType goa_ticketing_skeleton_get_type (void) G_GNUC_CONST;
GoaTicketing *goa_ticketing_skeleton_new (void);
/* ---- */
#define GOA_TYPE_OBJECT (goa_object_get_type ())
#define GOA_OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OBJECT, GoaObject))
#define GOA_IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_OBJECT))
#define GOA_OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GOA_TYPE_OBJECT, GoaObject))
struct _GoaObject;
typedef struct _GoaObject GoaObject;
typedef struct _GoaObjectIface GoaObjectIface;
struct _GoaObjectIface
{
GTypeInterface parent_iface;
};
GType goa_object_get_type (void) G_GNUC_CONST;
GoaAccount *goa_object_get_account (GoaObject *object);
GoaOAuth2Based *goa_object_get_oauth2_based (GoaObject *object);
GoaOAuthBased *goa_object_get_oauth_based (GoaObject *object);
GoaPasswordBased *goa_object_get_password_based (GoaObject *object);
GoaManager *goa_object_get_manager (GoaObject *object);
GoaMail *goa_object_get_mail (GoaObject *object);
GoaCalendar *goa_object_get_calendar (GoaObject *object);
GoaContacts *goa_object_get_contacts (GoaObject *object);
GoaChat *goa_object_get_chat (GoaObject *object);
GoaDocuments *goa_object_get_documents (GoaObject *object);
GoaPhotos *goa_object_get_photos (GoaObject *object);
GoaFiles *goa_object_get_files (GoaObject *object);
GoaExchange *goa_object_get_exchange (GoaObject *object);
GoaTicketing *goa_object_get_ticketing (GoaObject *object);
GoaAccount *goa_object_peek_account (GoaObject *object);
GoaOAuth2Based *goa_object_peek_oauth2_based (GoaObject *object);
GoaOAuthBased *goa_object_peek_oauth_based (GoaObject *object);
GoaPasswordBased *goa_object_peek_password_based (GoaObject *object);
GoaManager *goa_object_peek_manager (GoaObject *object);
GoaMail *goa_object_peek_mail (GoaObject *object);
GoaCalendar *goa_object_peek_calendar (GoaObject *object);
GoaContacts *goa_object_peek_contacts (GoaObject *object);
GoaChat *goa_object_peek_chat (GoaObject *object);
GoaDocuments *goa_object_peek_documents (GoaObject *object);
GoaPhotos *goa_object_peek_photos (GoaObject *object);
GoaFiles *goa_object_peek_files (GoaObject *object);
GoaExchange *goa_object_peek_exchange (GoaObject *object);
GoaTicketing *goa_object_peek_ticketing (GoaObject *object);
#define GOA_TYPE_OBJECT_PROXY (goa_object_proxy_get_type ())
#define GOA_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OBJECT_PROXY, GoaObjectProxy))
#define GOA_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_OBJECT_PROXY, GoaObjectProxyClass))
#define GOA_OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_OBJECT_PROXY, GoaObjectProxyClass))
#define GOA_IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_OBJECT_PROXY))
#define GOA_IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_OBJECT_PROXY))
typedef struct _GoaObjectProxy GoaObjectProxy;
typedef struct _GoaObjectProxyClass GoaObjectProxyClass;
typedef struct _GoaObjectProxyPrivate GoaObjectProxyPrivate;
struct _GoaObjectProxy
{
/*< private >*/
GDBusObjectProxy parent_instance;
GoaObjectProxyPrivate *priv;
};
struct _GoaObjectProxyClass
{
GDBusObjectProxyClass parent_class;
};
GType goa_object_proxy_get_type (void) G_GNUC_CONST;
GoaObjectProxy *goa_object_proxy_new (GDBusConnection *connection, const gchar *object_path);
#define GOA_TYPE_OBJECT_SKELETON (goa_object_skeleton_get_type ())
#define GOA_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OBJECT_SKELETON, GoaObjectSkeleton))
#define GOA_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_OBJECT_SKELETON, GoaObjectSkeletonClass))
#define GOA_OBJECT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_OBJECT_SKELETON, GoaObjectSkeletonClass))
#define GOA_IS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_OBJECT_SKELETON))
#define GOA_IS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_OBJECT_SKELETON))
typedef struct _GoaObjectSkeleton GoaObjectSkeleton;
typedef struct _GoaObjectSkeletonClass GoaObjectSkeletonClass;
typedef struct _GoaObjectSkeletonPrivate GoaObjectSkeletonPrivate;
struct _GoaObjectSkeleton
{
/*< private >*/
GDBusObjectSkeleton parent_instance;
GoaObjectSkeletonPrivate *priv;
};
struct _GoaObjectSkeletonClass
{
GDBusObjectSkeletonClass parent_class;
};
GType goa_object_skeleton_get_type (void) G_GNUC_CONST;
GoaObjectSkeleton *goa_object_skeleton_new (const gchar *object_path);
void goa_object_skeleton_set_account (GoaObjectSkeleton *object, GoaAccount *interface_);
void goa_object_skeleton_set_oauth2_based (GoaObjectSkeleton *object, GoaOAuth2Based *interface_);
void goa_object_skeleton_set_oauth_based (GoaObjectSkeleton *object, GoaOAuthBased *interface_);
void goa_object_skeleton_set_password_based (GoaObjectSkeleton *object, GoaPasswordBased *interface_);
void goa_object_skeleton_set_manager (GoaObjectSkeleton *object, GoaManager *interface_);
void goa_object_skeleton_set_mail (GoaObjectSkeleton *object, GoaMail *interface_);
void goa_object_skeleton_set_calendar (GoaObjectSkeleton *object, GoaCalendar *interface_);
void goa_object_skeleton_set_contacts (GoaObjectSkeleton *object, GoaContacts *interface_);
void goa_object_skeleton_set_chat (GoaObjectSkeleton *object, GoaChat *interface_);
void goa_object_skeleton_set_documents (GoaObjectSkeleton *object, GoaDocuments *interface_);
void goa_object_skeleton_set_photos (GoaObjectSkeleton *object, GoaPhotos *interface_);
void goa_object_skeleton_set_files (GoaObjectSkeleton *object, GoaFiles *interface_);
void goa_object_skeleton_set_exchange (GoaObjectSkeleton *object, GoaExchange *interface_);
void goa_object_skeleton_set_ticketing (GoaObjectSkeleton *object, GoaTicketing *interface_);
/* ---- */
#define GOA_TYPE_OBJECT_MANAGER_CLIENT (goa_object_manager_client_get_type ())
#define GOA_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOA_TYPE_OBJECT_MANAGER_CLIENT, GoaObjectManagerClient))
#define GOA_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GOA_TYPE_OBJECT_MANAGER_CLIENT, GoaObjectManagerClientClass))
#define GOA_OBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOA_TYPE_OBJECT_MANAGER_CLIENT, GoaObjectManagerClientClass))
#define GOA_IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOA_TYPE_OBJECT_MANAGER_CLIENT))
#define GOA_IS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GOA_TYPE_OBJECT_MANAGER_CLIENT))
typedef struct _GoaObjectManagerClient GoaObjectManagerClient;
typedef struct _GoaObjectManagerClientClass GoaObjectManagerClientClass;
typedef struct _GoaObjectManagerClientPrivate GoaObjectManagerClientPrivate;
struct _GoaObjectManagerClient
{
/*< private >*/
GDBusObjectManagerClient parent_instance;
GoaObjectManagerClientPrivate *priv;
};
struct _GoaObjectManagerClientClass
{
GDBusObjectManagerClientClass parent_class;
};
GType goa_object_manager_client_get_type (void) G_GNUC_CONST;
GType goa_object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data);
void goa_object_manager_client_new (
GDBusConnection *connection,
GDBusObjectManagerClientFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GDBusObjectManager *goa_object_manager_client_new_finish (
GAsyncResult *res,
GError **error);
GDBusObjectManager *goa_object_manager_client_new_sync (
GDBusConnection *connection,
GDBusObjectManagerClientFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
void goa_object_manager_client_new_for_bus (
GBusType bus_type,
GDBusObjectManagerClientFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
GDBusObjectManager *goa_object_manager_client_new_for_bus_finish (
GAsyncResult *res,
GError **error);
GDBusObjectManager *goa_object_manager_client_new_for_bus_sync (
GBusType bus_type,
GDBusObjectManagerClientFlags flags,
const gchar *name,
const gchar *object_path,
GCancellable *cancellable,
GError **error);
G_END_DECLS
#endif /* __GOA_GENERATED_H__ */
|