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
|
/* colord.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Cd", gir_namespace = "Colord", gir_version = "1.0", lower_case_cprefix = "cd_")]
namespace Cd {
[CCode (cheader_filename = "colord.h", type_id = "cd_client_get_type ()")]
public class Client : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "0.1.0")]
public Client ();
[Version (since = "0.1.6")]
public async bool connect (GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.0")]
public bool connect_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public async Cd.Device create_device (string id, Cd.ObjectScope scope, GLib.HashTable<string,string>? properties, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.2")]
public Cd.Device create_device_sync (string id, Cd.ObjectScope scope, GLib.HashTable<string,string>? properties, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public async Cd.Profile create_profile (string id, Cd.ObjectScope scope, GLib.HashTable<string,string>? properties, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "1.1.1")]
public async Cd.Profile create_profile_for_icc (Cd.Icc icc, Cd.ObjectScope scope, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "1.1.1")]
public Cd.Profile create_profile_for_icc_sync (Cd.Icc icc, Cd.ObjectScope scope, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.2")]
public Cd.Profile create_profile_sync (string id, Cd.ObjectScope scope, GLib.HashTable<string,string>? properties, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public async bool delete_device (Cd.Device device, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public bool delete_device_sync (Cd.Device device, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public async bool delete_profile (Cd.Profile profile, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public bool delete_profile_sync (Cd.Profile profile, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.26")]
public static Cd.ClientError error_from_string (string error_desc);
[Version (since = "0.1.0")]
public static GLib.Quark error_quark ();
[Version (since = "0.1.26")]
public static unowned string error_to_string (Cd.ClientError error_enum);
[Version (since = "0.1.8")]
public async Cd.Device find_device (string id, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public async Cd.Device find_device_by_property (string key, string value, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public Cd.Device find_device_by_property_sync (string key, string value, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.0")]
public Cd.Device find_device_sync (string id, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public async Cd.Profile find_profile (string id, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public async Cd.Profile find_profile_by_filename (string filename, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.3")]
public Cd.Profile find_profile_by_filename_sync (string filename, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.24")]
public async Cd.Profile find_profile_by_property (string key, string value, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.24")]
public Cd.Profile find_profile_by_property_sync (string key, string value, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.0")]
public Cd.Profile find_profile_sync (string id, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.26")]
public async Cd.Sensor find_sensor (string id, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.26")]
public Cd.Sensor find_sensor_sync (string id, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.9")]
public bool get_connected ();
[Version (since = "0.1.0")]
public unowned string get_daemon_version ();
[Version (since = "0.1.8")]
public async GLib.GenericArray<Cd.Device> get_devices (GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public async GLib.GenericArray<Cd.Device> get_devices_by_kind (Cd.DeviceKind kind, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.0")]
public GLib.GenericArray<weak Cd.Device> get_devices_by_kind_sync (Cd.DeviceKind kind, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.0")]
public GLib.GenericArray<weak Cd.Device> get_devices_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.12")]
public bool get_has_server ();
[Version (since = "0.1.8")]
public async GLib.GenericArray<Cd.Profile> get_profiles (GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.0")]
public GLib.GenericArray<weak Cd.Profile> get_profiles_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public async GLib.GenericArray<Cd.Sensor> get_sensors (GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.0")]
public GLib.GenericArray<weak Cd.Sensor> get_sensors_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public async Cd.Profile get_standard_space (Cd.StandardSpace standard_space, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.2")]
public Cd.Profile get_standard_space_sync (Cd.StandardSpace standard_space, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "1.0.2")]
public unowned string get_system_model ();
[Version (since = "1.0.2")]
public unowned string get_system_vendor ();
[Version (since = "0.1.12")]
public async Cd.Profile import_profile (GLib.File file, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.12")]
public Cd.Profile import_profile_sync (GLib.File file, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.9")]
public string connected { get; }
[Version (since = "0.1.0")]
public string daemon_version { get; }
[Version (since = "1.0.2")]
public string system_model { get; }
[Version (since = "1.0.2")]
public string system_vendor { get; }
[Version (since = "0.1.0")]
public virtual signal void changed ();
[Version (since = "0.1.0")]
public virtual signal void device_added (Cd.Device device);
[Version (since = "0.1.2")]
public virtual signal void device_changed (Cd.Device device);
[Version (since = "0.1.0")]
public virtual signal void device_removed (Cd.Device device);
[Version (since = "0.1.2")]
public virtual signal void profile_added (Cd.Profile profile);
[Version (since = "0.1.2")]
public virtual signal void profile_changed (Cd.Profile profile);
[Version (since = "0.1.2")]
public virtual signal void profile_removed (Cd.Profile profile);
[Version (since = "0.1.6")]
public virtual signal void sensor_added (Cd.Sensor sensor);
[Version (since = "0.1.6")]
public virtual signal void sensor_changed (Cd.Sensor sensor);
[Version (since = "0.1.6")]
public virtual signal void sensor_removed (Cd.Sensor sensor);
}
[CCode (cheader_filename = "colord.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "cd_color_lab_get_type ()")]
[Compact]
public class ColorLab {
public double L;
public double a;
public double b;
[CCode (has_construct_function = false)]
[Version (since = "0.1.32")]
public ColorLab ();
[Version (since = "0.1.32")]
public void copy (Cd.ColorLab dest);
[Version (since = "0.1.32")]
public double delta_e76 (Cd.ColorLab p2);
[Version (since = "0.1.32")]
public Cd.ColorLab dup ();
[Version (since = "0.1.32")]
public void free ();
[Version (since = "0.1.32")]
public void @set (double L, double a, double b);
}
[CCode (cheader_filename = "colord.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "cd_color_rgb_get_type ()")]
[Compact]
public class ColorRGB {
public double B;
public double G;
public double R;
[CCode (has_construct_function = false)]
[Version (since = "0.1.0")]
public ColorRGB ();
[Version (since = "0.1.31")]
public static GLib.GenericArray<Cd.ColorRGB> array_interpolate (GLib.GenericArray<Cd.ColorRGB> array, uint new_length);
[Version (since = "0.1.31")]
public static bool array_is_monotonic (GLib.GenericArray<Cd.ColorRGB> array);
[Version (since = "0.1.31")]
public static GLib.GenericArray<Cd.ColorRGB> array_new ();
[Version (since = "0.1.27")]
public void copy (Cd.ColorRGB dest);
[Version (since = "0.1.27")]
public Cd.ColorRGB dup ();
[Version (since = "0.1.0")]
public void free ();
[Version (since = "0.1.26")]
public void interpolate (Cd.ColorRGB p2, double index, Cd.ColorRGB result);
[Version (since = "0.1.27")]
public void @set (double R, double G, double B);
[Version (since = "0.1.27")]
public void to_rgb8 (Cd.ColorRGB8 dest);
}
[CCode (cheader_filename = "colord.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "cd_color_swatch_get_type ()")]
[Compact]
public class ColorSwatch {
[CCode (has_construct_function = false)]
[Version (since = "0.1.32")]
public ColorSwatch ();
[Version (since = "0.1.32")]
public Cd.ColorSwatch dup ();
[Version (since = "0.1.32")]
public void free ();
[Version (since = "0.1.32")]
public unowned string get_name ();
[Version (since = "0.1.32")]
public unowned Cd.ColorLab get_value ();
[Version (since = "0.1.32")]
public void set_name (string name);
[Version (since = "0.1.32")]
public void set_value (Cd.ColorLab value);
}
[CCode (cheader_filename = "colord.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "cd_color_uvw_get_type ()")]
[Compact]
public class ColorUVW {
public double U;
public double V;
public double W;
[CCode (has_construct_function = false)]
[Version (since = "1.1.6")]
public ColorUVW ();
[Version (since = "1.1.6")]
public void copy (Cd.ColorUVW dest);
[Version (since = "1.1.6")]
public Cd.ColorUVW dup ();
[Version (since = "1.1.6")]
public void free ();
[Version (since = "1.1.6")]
public double get_chroma_difference (Cd.ColorUVW p2);
[Version (since = "1.1.6")]
public void @set (double U, double V, double W);
[Version (since = "1.1.6")]
public void set_planckian_locus (double temp);
}
[CCode (cheader_filename = "colord.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "cd_color_xyz_get_type ()")]
[Compact]
public class ColorXYZ {
public double X;
public double Y;
public double Z;
[CCode (has_construct_function = false)]
[Version (since = "0.1.0")]
public ColorXYZ ();
[Version (since = "0.1.27")]
public void clear ();
[Version (since = "0.1.27")]
public void copy (Cd.ColorXYZ dest);
[Version (since = "0.1.27")]
public Cd.ColorXYZ dup ();
[Version (since = "0.1.0")]
public void free ();
[Version (since = "1.1.6")]
public void normalize (double max, Cd.ColorXYZ dest);
[Version (since = "0.1.27")]
public void @set (double X, double Y, double Z);
[Version (since = "1.1.6")]
public double to_cct ();
[Version (since = "1.1.6")]
public void to_uvw (Cd.ColorXYZ whitepoint, Cd.ColorUVW dest);
[Version (since = "0.1.27")]
public void to_yxy (Cd.ColorYxy dest);
}
[CCode (cheader_filename = "colord.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "cd_color_yxy_get_type ()")]
[Compact]
public class ColorYxy {
public double Y;
public double x;
public double y;
[CCode (has_construct_function = false)]
[Version (since = "0.1.0")]
public ColorYxy ();
[Version (since = "0.1.27")]
public void copy (Cd.ColorYxy dest);
[Version (since = "0.1.27")]
public Cd.ColorYxy dup ();
[Version (since = "0.1.0")]
public void free ();
[Version (since = "0.1.27")]
public void @set (double Y, double x, double y);
[Version (since = "1.1.6")]
public void to_uvw (Cd.ColorUVW dest);
[Version (since = "0.1.27")]
public void to_xyz (Cd.ColorXYZ dest);
}
[CCode (cheader_filename = "colord.h", type_id = "cd_device_get_type ()")]
public class Device : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "0.1.0")]
public Device ();
[Version (since = "0.1.8")]
public async bool add_profile (Cd.DeviceRelation relation, Cd.Profile profile, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.3")]
public bool add_profile_sync (Cd.DeviceRelation relation, Cd.Profile profile, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public async bool connect (GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public bool connect_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public bool equal (Cd.Device device2);
[Version (since = "0.1.26")]
public static Cd.DeviceError error_from_string (string error_desc);
[Version (since = "0.1.0")]
public static GLib.Quark error_quark ();
[Version (since = "0.1.26")]
public static unowned string error_to_string (Cd.DeviceError error_enum);
[Version (since = "0.1.1")]
public Cd.Colorspace get_colorspace ();
[Version (since = "0.1.9")]
public bool get_connected ();
[Version (since = "0.1.0")]
public uint64 get_created ();
[Version (since = "0.1.1")]
public Cd.Profile get_default_profile ();
[Version (since = "0.1.27")]
public bool get_embedded ();
[Version (since = "0.1.26")]
public bool get_enabled ();
[Version (since = "0.1.9")]
public unowned string get_format ();
[Version (since = "0.1.0")]
public unowned string get_id ();
[Version (since = "0.1.0")]
public Cd.DeviceKind get_kind ();
[Version (since = "0.1.5")]
public GLib.HashTable<weak string,weak string> get_metadata ();
[Version (since = "0.1.5")]
public unowned string get_metadata_item (string key);
[Version (since = "0.1.2")]
public Cd.DeviceMode get_mode ();
[Version (since = "0.1.0")]
public unowned string get_model ();
[Version (since = "0.1.1")]
public uint64 get_modified ();
[Version (since = "0.1.0")]
public unowned string get_object_path ();
[Version (since = "0.1.13")]
public uint get_owner ();
[Version (since = "0.1.8")]
public async Cd.Profile get_profile_for_qualifiers (string qualifiers, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public Cd.Profile get_profile_for_qualifiers_sync (string qualifiers, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public async Cd.DeviceRelation get_profile_relation (Cd.Profile profile, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public Cd.DeviceRelation get_profile_relation_sync (Cd.Profile profile, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.0")]
public GLib.GenericArray<weak Cd.Profile> get_profiles ();
[CCode (array_length = false, array_null_terminated = true)]
[Version (since = "0.1.17")]
public unowned string[] get_profiling_inhibitors ();
[Version (since = "0.1.10")]
public Cd.ObjectScope get_scope ();
[Version (since = "0.1.24")]
public unowned string get_seat ();
[Version (since = "0.1.0")]
public unowned string get_serial ();
[Version (since = "0.1.1")]
public unowned string get_vendor ();
[Version (since = "0.1.0")]
public static Cd.DeviceKind kind_from_string (string kind);
[Version (since = "0.1.6")]
public static Cd.ProfileKind kind_to_profile_kind (Cd.DeviceKind device_kind);
[Version (since = "0.1.0")]
public static unowned string kind_to_string (Cd.DeviceKind kind_enum);
[Version (since = "0.1.8")]
public async bool make_profile_default (Cd.Profile profile, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public bool make_profile_default_sync (Cd.Profile profile, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static Cd.DeviceMode mode_from_string (string device_mode);
public static unowned string mode_to_string (Cd.DeviceMode device_mode);
[Version (since = "0.1.8")]
public async bool profiling_inhibit (GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.1")]
public bool profiling_inhibit_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public async bool profiling_uninhibit (GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.1")]
public bool profiling_uninhibit_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
public static Cd.DeviceRelation relation_from_string (string device_relation);
public static unowned string relation_to_string (Cd.DeviceRelation device_relation);
[Version (since = "0.1.8")]
public async bool remove_profile (Cd.Profile profile, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.2")]
public bool remove_profile_sync (Cd.Profile profile, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.1")]
public bool set_colorspace_sync (Cd.Colorspace colorspace, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.26")]
public async bool set_enabled (bool enabled, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.26")]
public bool set_enabled_sync (bool enabled, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.0")]
public bool set_kind_sync (Cd.DeviceKind kind, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.2")]
public bool set_mode_sync (Cd.DeviceMode mode, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.0")]
public bool set_model_sync (string value, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public void set_object_path (string object_path);
[Version (since = "0.1.8")]
public async bool set_property (string key, string value, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public bool set_property_sync (string key, string value, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.1")]
public bool set_serial_sync (string value, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.1")]
public bool set_vendor_sync (string value, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.0")]
public string to_string ();
[CCode (has_construct_function = false)]
[Version (since = "0.1.8")]
public Device.with_object_path (string object_path);
[Version (since = "0.1.1")]
public uint colorspace { get; }
[Version (since = "0.1.9")]
public string connected { get; }
[Version (since = "0.1.0")]
public uint64 created { get; }
[Version (since = "0.1.27")]
public string embedded { get; }
[Version (since = "0.1.26")]
public bool enabled { get; }
[Version (since = "0.1.9")]
public string format { get; }
[Version (since = "0.1.0")]
public string id { get; }
[Version (since = "0.1.0")]
public uint kind { get; }
[Version (since = "0.1.2")]
public uint mode { get; }
[Version (since = "0.1.0")]
public string model { get; }
[Version (since = "0.1.1")]
public uint64 modified { get; }
[Version (since = "0.1.8")]
public string object_path { get; set construct; }
[Version (since = "0.1.13")]
public uint owner { get; }
[CCode (array_length = false, array_null_terminated = true)]
public string[] profiling_inhibitors { get; }
[Version (since = "0.1.10")]
public uint scope { get; }
[Version (since = "0.1.24")]
public string seat { get; }
[Version (since = "0.1.1")]
public string serial { get; }
[Version (since = "0.1.1")]
public string vendor { get; }
[Version (since = "0.1.0")]
public virtual signal void changed ();
}
[CCode (cheader_filename = "colord.h", type_id = "cd_dom_get_type ()")]
public class Dom : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "0.1.31")]
public Dom ();
[Version (since = "0.1.31")]
public static GLib.Quark error_quark ();
[Version (since = "0.1.31")]
public unowned GLib.Node get_node (GLib.Node root, string path);
[Version (since = "0.1.31")]
public static unowned string get_node_attribute (GLib.Node node, string key);
[Version (since = "0.1.31")]
public static unowned string get_node_data (GLib.Node node);
[Version (since = "0.1.32")]
public static double get_node_data_as_double (GLib.Node node);
[Version (since = "0.1.32")]
public static int get_node_data_as_int (GLib.Node node);
[Version (since = "0.1.31")]
public static bool get_node_lab (GLib.Node node, Cd.ColorLab lab);
[Version (since = "0.1.31")]
public static GLib.HashTable<void*,void*> get_node_localized (GLib.Node node, string key);
[Version (since = "0.1.31")]
public static unowned string get_node_name (GLib.Node node);
[Version (since = "0.1.31")]
public static bool get_node_rgb (GLib.Node node, Cd.ColorRGB rgb);
[Version (since = "0.1.31")]
public static bool get_node_yxy (GLib.Node node, Cd.ColorYxy yxy);
[Version (since = "0.1.31")]
public bool parse_xml_data (string data, ssize_t data_len) throws GLib.Error;
[Version (since = "0.1.31")]
public string to_string ();
}
[CCode (cheader_filename = "colord.h", type_id = "cd_edid_get_type ()")]
public class Edid : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "1.1.2")]
public Edid ();
[Version (since = "1.1.2")]
public static GLib.Quark error_quark ();
[Version (since = "1.1.2")]
public unowned Cd.ColorYxy get_blue ();
[Version (since = "1.1.2")]
public unowned string get_checksum ();
[Version (since = "1.1.2")]
public unowned string get_eisa_id ();
[Version (since = "1.1.2")]
public double get_gamma ();
[Version (since = "1.1.2")]
public unowned Cd.ColorYxy get_green ();
[Version (since = "1.1.2")]
public uint get_height ();
[Version (since = "1.1.2")]
public unowned string get_monitor_name ();
[Version (since = "1.1.2")]
public unowned string get_pnp_id ();
[Version (since = "1.1.2")]
public unowned Cd.ColorYxy get_red ();
[Version (since = "1.1.2")]
public unowned string get_serial_number ();
[Version (since = "1.1.2")]
public unowned string get_vendor_name ();
[Version (since = "1.1.2")]
public unowned Cd.ColorYxy get_white ();
[Version (since = "1.1.2")]
public uint get_width ();
[Version (since = "1.1.2")]
public bool parse (GLib.Bytes edid_data) throws GLib.Error;
[Version (since = "1.1.2")]
public void reset ();
}
[CCode (cheader_filename = "colord.h", type_id = "cd_icc_get_type ()")]
public class Icc : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "0.1.32")]
public Icc ();
[Version (since = "0.1.32")]
public void add_metadata (string key, string value);
[Version (since = "1.1.2")]
public bool create_default () throws GLib.Error;
[Version (since = "0.1.32")]
public bool create_from_edid (double gamma_value, Cd.ColorYxy red, Cd.ColorYxy green, Cd.ColorYxy blue, Cd.ColorYxy white) throws GLib.Error;
[Version (since = "1.1.2")]
public bool create_from_edid_data (Cd.Edid edid) throws GLib.Error;
[Version (since = "0.1.32")]
public static GLib.Quark error_quark ();
[Version (since = "0.1.32")]
public unowned Cd.ColorXYZ get_blue ();
[Version (since = "0.1.32")]
public bool get_can_delete ();
[Version (since = "1.1.1")]
public unowned string get_characterization_data ();
[Version (since = "0.1.32")]
public unowned string get_checksum ();
[Version (since = "0.1.32")]
public Cd.Colorspace get_colorspace ();
[Version (since = "1.1.7")]
public void* get_context ();
[Version (since = "0.1.32")]
public unowned string get_copyright (string locale) throws GLib.Error;
[Version (since = "0.1.32")]
public GLib.DateTime get_created ();
[Version (since = "0.1.32")]
public unowned string get_description (string locale) throws GLib.Error;
[Version (since = "0.1.32")]
public unowned string get_filename ();
[Version (since = "0.1.32")]
public unowned Cd.ColorXYZ get_green ();
public void* get_handle ();
[Version (since = "0.1.32")]
public Cd.ProfileKind get_kind ();
[Version (since = "0.1.32")]
public unowned string get_manufacturer (string locale) throws GLib.Error;
[Version (since = "0.1.32")]
public GLib.HashTable<weak void*,weak void*> get_metadata ();
[Version (since = "0.1.32")]
public unowned string get_metadata_item (string key);
[Version (since = "0.1.32")]
public unowned string get_model (string locale) throws GLib.Error;
[Version (since = "0.1.32")]
public GLib.GenericArray<weak Cd.ColorSwatch> get_named_colors ();
[Version (since = "0.1.32")]
public unowned Cd.ColorXYZ get_red ();
[Version (since = "0.1.34")]
public GLib.GenericArray<weak Cd.ColorRGB> get_response (uint size) throws GLib.Error;
[Version (since = "0.1.32")]
public uint32 get_size ();
[Version (since = "1.1.6")]
public GLib.Bytes get_tag_data (string tag) throws GLib.Error;
[CCode (array_length = false, array_null_terminated = true)]
[Version (since = "1.1.6")]
public string[] get_tags () throws GLib.Error;
[Version (since = "0.1.32")]
public uint get_temperature ();
[Version (since = "0.1.34")]
public GLib.GenericArray<weak Cd.ColorRGB> get_vcgt (uint size) throws GLib.Error;
[Version (since = "0.1.32")]
public double get_version ();
[Version (since = "0.1.34")]
public GLib.Array<weak Cd.ProfileWarning> get_warnings ();
[Version (since = "0.1.32")]
public unowned Cd.ColorXYZ get_white ();
[Version (since = "0.1.32")]
public bool load_data (uint8 data, size_t data_len, Cd.IccLoadFlags flags) throws GLib.Error;
[Version (since = "0.1.32")]
public bool load_fd (int fd, Cd.IccLoadFlags flags) throws GLib.Error;
[Version (since = "0.1.32")]
public bool load_file (GLib.File file, Cd.IccLoadFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.33")]
public bool load_handle (void* handle, Cd.IccLoadFlags flags) throws GLib.Error;
[Version (since = "0.1.32")]
public void remove_metadata (string key);
[Version (since = "1.0.2")]
public GLib.Bytes save_data (Cd.IccSaveFlags flags) throws GLib.Error;
[Version (since = "1.1.1")]
public bool save_default (Cd.IccSaveFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.32")]
public bool save_file (GLib.File file, Cd.IccSaveFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "1.1.1")]
public void set_characterization_data (string data);
[Version (since = "0.1.32")]
public void set_colorspace (Cd.Colorspace colorspace);
[Version (since = "0.1.32")]
public void set_copyright (string locale, string? value);
[Version (since = "0.1.32")]
public void set_copyright_items (GLib.HashTable<void*,void*> values);
[Version (since = "0.1.32")]
public void set_description (string locale, string? value);
[Version (since = "0.1.32")]
public void set_description_items (GLib.HashTable<void*,void*> values);
[Version (since = "1.1.1")]
public void set_filename (string filename);
[Version (since = "0.1.32")]
public void set_kind (Cd.ProfileKind kind);
[Version (since = "0.1.32")]
public void set_manufacturer (string locale, string? value);
[Version (since = "0.1.32")]
public void set_manufacturer_items (GLib.HashTable<void*,void*> values);
[Version (since = "0.1.32")]
public void set_model (string locale, string? value);
[Version (since = "0.1.32")]
public void set_model_items (GLib.HashTable<void*,void*> values);
[Version (since = "1.1.6")]
public bool set_tag_data (string tag, GLib.Bytes data) throws GLib.Error;
[Version (since = "0.1.34")]
public bool set_vcgt (GLib.GenericArray<Cd.ColorRGB> vcgt) throws GLib.Error;
[Version (since = "0.1.32")]
public void set_version (double version);
[Version (since = "0.1.32")]
public string to_string ();
public bool utils_get_coverage (Cd.Icc icc_reference, double coverage) throws GLib.Error;
public Cd.ColorXYZ blue { get; }
public bool can_delete { get; }
public string checksum { get; }
public uint colorspace { get; set; }
public string filename { get; }
public Cd.ColorXYZ green { get; }
public uint kind { get; set; }
public Cd.ColorXYZ red { get; }
public uint size { get; }
public uint temperature { get; }
public double version { get; set; }
public Cd.ColorXYZ white { get; }
}
[CCode (cheader_filename = "colord.h", type_id = "cd_icc_store_get_type ()")]
public class IccStore : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "1.0.2")]
public IccStore ();
[Version (since = "1.0.2")]
public Cd.Icc find_by_checksum (string checksum);
[Version (since = "1.0.2")]
public Cd.Icc find_by_filename (string filename);
[Version (since = "1.0.2")]
public GLib.GenericArray<weak Cd.Icc> get_all ();
[Version (since = "1.0.2")]
public Cd.IccLoadFlags get_load_flags ();
[Version (since = "1.0.2")]
public bool search_kind (Cd.IccStoreSearchKind search_kind, Cd.IccStoreSearchFlags search_flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "1.0.2")]
public bool search_location (string location, Cd.IccStoreSearchFlags search_flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "1.0.2")]
public void set_cache (GLib.Resource cache);
[Version (since = "1.0.2")]
public void set_load_flags (Cd.IccLoadFlags load_flags);
[Version (since = "1.0.2")]
public virtual signal void added (Cd.Icc icc);
[Version (since = "1.0.2")]
public virtual signal void removed (Cd.Icc icc);
}
[CCode (cheader_filename = "colord.h", type_id = "cd_interp_get_type ()")]
public class Interp : GLib.Object {
[CCode (has_construct_function = false)]
protected Interp ();
[Version (since = "0.1.31")]
public static GLib.Quark error_quark ();
[Version (since = "0.1.31")]
public virtual double eval (double value) throws GLib.Error;
[Version (since = "0.1.31")]
public Cd.InterpKind get_kind ();
[Version (since = "0.1.31")]
public uint get_size ();
[Version (since = "0.1.31")]
public unowned GLib.Array<double> get_x ();
[Version (since = "0.1.31")]
public unowned GLib.Array<double> get_y ();
[Version (since = "0.1.31")]
public void insert (double x, double y);
public static unowned string kind_to_string (Cd.InterpKind kind);
[Version (since = "0.1.31")]
public virtual bool prepare () throws GLib.Error;
[NoAccessorMethod]
[Version (since = "0.1.20")]
public uint kind { get; set; }
}
[CCode (cheader_filename = "colord.h", type_id = "cd_interp_akima_get_type ()")]
public class InterpAkima : Cd.Interp {
[CCode (has_construct_function = false, type = "CdInterp*")]
[Version (since = "0.1.31")]
public InterpAkima ();
}
[CCode (cheader_filename = "colord.h", type_id = "cd_interp_linear_get_type ()")]
public class InterpLinear : Cd.Interp {
[CCode (has_construct_function = false, type = "CdInterp*")]
[Version (since = "0.1.31")]
public InterpLinear ();
}
[CCode (cheader_filename = "colord.h", type_id = "cd_it8_get_type ()")]
public class It8 : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "0.1.20")]
public It8 ();
[Version (since = "0.1.20")]
public void add_data (Cd.ColorRGB rgb, Cd.ColorXYZ xyz);
[Version (since = "0.1.20")]
public void add_option (string option);
[Version (since = "1.1.6")]
public void add_spectrum (Cd.Spectrum spectrum);
[Version (since = "0.1.0")]
public static GLib.Quark error_quark ();
[Version (since = "0.1.20")]
public bool get_data_item (uint idx, Cd.ColorRGB rgb, Cd.ColorXYZ xyz);
[Version (since = "0.1.20")]
public uint get_data_size ();
[Version (since = "0.1.33")]
public bool get_enable_created ();
[Version (since = "0.1.20")]
public unowned string get_instrument ();
[Version (since = "0.1.20")]
public Cd.It8Kind get_kind ();
[Version (since = "0.1.20")]
public unowned Cd.Mat3x3? get_matrix ();
[Version (since = "0.1.20")]
public bool get_normalized ();
[Version (since = "0.1.20")]
public unowned string get_originator ();
[Version (since = "0.1.20")]
public unowned string get_reference ();
[Version (since = "0.1.20")]
public bool get_spectral ();
[Version (since = "1.1.6")]
public GLib.GenericArray<weak Cd.Spectrum> get_spectrum_array ();
[Version (since = "1.1.6")]
public unowned Cd.Spectrum get_spectrum_by_id (string id);
[Version (since = "0.1.20")]
public unowned string get_title ();
[Version (since = "1.2.6")]
public unowned Cd.ColorXYZ get_xyz_for_rgb (double R, double G, double B, double delta);
[Version (since = "0.1.20")]
public bool has_option (string option);
[Version (since = "0.1.20")]
public bool load_from_data (string data, size_t size) throws GLib.Error;
[Version (since = "0.1.20")]
public bool load_from_file (GLib.File file) throws GLib.Error;
[Version (since = "0.1.26")]
public bool save_to_data (string data, size_t size) throws GLib.Error;
[Version (since = "0.1.20")]
public bool save_to_file (GLib.File file) throws GLib.Error;
[Version (since = "0.1.33")]
public void set_enable_created (bool enable_created);
[Version (since = "0.1.20")]
public void set_instrument (string instrument);
[Version (since = "0.1.20")]
public void set_kind (Cd.It8Kind kind);
[Version (since = "0.1.20")]
public void set_matrix (Cd.Mat3x3 matrix);
[Version (since = "0.1.20")]
public void set_normalized (bool normalized);
[Version (since = "0.1.20")]
public void set_originator (string originator);
[Version (since = "0.1.20")]
public void set_reference (string reference);
[Version (since = "0.1.20")]
public void set_spectral (bool spectral);
[Version (since = "1.1.6")]
public void set_spectrum_array (owned GLib.GenericArray<weak Cd.Spectrum> data);
[Version (since = "0.1.20")]
public void set_title (string title);
public bool utils_calculate_ccmx (Cd.It8 it8_measured, Cd.It8 it8_ccmx) throws GLib.Error;
public bool utils_calculate_cri_from_cmf (Cd.It8 tcs, Cd.Spectrum illuminant, double value, double resolution) throws GLib.Error;
[Version (since = "0.2.6")]
public bool utils_calculate_gamma (double gamma_y) throws GLib.Error;
public bool utils_calculate_xyz_from_cmf (Cd.Spectrum illuminant, Cd.Spectrum spectrum, Cd.ColorXYZ value, double resolution) throws GLib.Error;
[CCode (has_construct_function = false)]
[Version (since = "0.1.20")]
public It8.with_kind (Cd.It8Kind kind);
[Version (since = "0.1.20")]
public string instrument { get; }
[Version (since = "0.1.20")]
public uint kind { get; set; }
[Version (since = "0.1.20")]
public bool normalized { get; }
[Version (since = "0.1.20")]
public string originator { get; }
[Version (since = "0.1.20")]
public string reference { get; }
[Version (since = "0.1.20")]
public bool spectral { get; }
[Version (since = "0.1.20")]
public string title { get; }
}
[CCode (cheader_filename = "colord.h", type_id = "cd_profile_get_type ()")]
public class Profile : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "0.1.0")]
public Profile ();
[Version (since = "0.1.8")]
public async bool connect (GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public bool connect_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public bool equal (Cd.Profile profile2);
[Version (since = "0.1.26")]
public static Cd.ProfileError error_from_string (string error_desc);
[Version (since = "0.1.0")]
public static GLib.Quark error_quark ();
[Version (since = "0.1.26")]
public static unowned string error_to_string (Cd.ProfileError error_enum);
[Version (since = "0.1.8")]
public int64 get_age ();
[Version (since = "0.1.2")]
public Cd.Colorspace get_colorspace ();
[Version (since = "0.1.9")]
public bool get_connected ();
[Version (since = "0.1.8")]
public int64 get_created ();
[Version (since = "0.1.0")]
public unowned string get_filename ();
[Version (since = "0.1.4")]
public unowned string get_format ();
[Version (since = "0.1.2")]
public bool get_has_vcgt ();
[Version (since = "0.1.0")]
public unowned string get_id ();
[Version (since = "0.1.2")]
public bool get_is_system_wide ();
[Version (since = "0.1.1")]
public Cd.ProfileKind get_kind ();
[Version (since = "0.1.2")]
public GLib.HashTable<weak string,weak string> get_metadata ();
[Version (since = "0.1.5")]
public unowned string get_metadata_item (string key);
[Version (since = "0.1.0")]
public unowned string get_object_path ();
[Version (since = "0.1.13")]
public uint get_owner ();
[Version (since = "0.1.0")]
public unowned string get_qualifier ();
[Version (since = "0.1.10")]
public Cd.ObjectScope get_scope ();
[Version (since = "0.1.0")]
public unowned string get_title ();
[CCode (array_length = false, array_null_terminated = true)]
[Version (since = "0.1.25")]
public unowned string[] get_warnings ();
[Version (since = "0.1.13")]
public bool has_access ();
[Version (since = "0.1.8")]
public async bool install_system_wide (GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public bool install_system_wide_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "2.91.1")]
public static Cd.ProfileKind kind_from_string (string profile_kind);
[Version (since = "2.91.1")]
public static unowned string kind_to_string (Cd.ProfileKind profile_kind);
[Version (since = "0.1.32")]
public Cd.Icc load_icc (Cd.IccLoadFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.27")]
public static Cd.ProfileQuality quality_from_string (string quality);
[Version (since = "0.1.27")]
public static unowned string quality_to_string (Cd.ProfileQuality quality_enum);
[Version (since = "0.1.8")]
public void set_object_path (string object_path);
[Version (since = "0.1.8")]
public async bool set_property (string key, string value, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public bool set_property_sync (string key, string value, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.0")]
public string to_string ();
[Version (since = "0.1.25")]
public static Cd.ProfileWarning warning_from_string (string type);
[Version (since = "0.1.25")]
public static unowned string warning_to_string (Cd.ProfileWarning kind_enum);
[CCode (has_construct_function = false)]
[Version (since = "0.1.8")]
public Profile.with_object_path (string object_path);
[Version (since = "0.1.2")]
public string colorspace { get; }
[Version (since = "0.1.9")]
public string connected { get; }
[Version (since = "0.1.8")]
public int64 created { get; }
[Version (since = "0.1.0")]
public string filename { get; }
[Version (since = "0.1.4")]
public string format { get; }
[Version (since = "0.1.2")]
public string has_vcgt { get; }
[Version (since = "0.1.0")]
public string id { get; }
[Version (since = "0.1.2")]
public string is_system_wide { get; }
[Version (since = "0.1.1")]
public string kind { get; }
[Version (since = "0.1.8")]
public string object_path { get; set construct; }
[Version (since = "0.1.13")]
public uint owner { get; }
[Version (since = "0.1.0")]
public string qualifier { get; }
[Version (since = "0.1.10")]
public uint scope { get; }
[Version (since = "0.1.0")]
public string title { get; }
[CCode (array_length = false, array_null_terminated = true)]
[Version (since = "0.1.25")]
public string[] warnings { get; }
[Version (since = "0.1.0")]
public virtual signal void changed ();
}
[CCode (cheader_filename = "colord.h", type_id = "cd_sensor_get_type ()")]
public class Sensor : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "0.1.6")]
public Sensor ();
public static Cd.SensorCap cap_from_string (string sensor_cap);
public static unowned string cap_to_string (Cd.SensorCap sensor_cap);
[Version (since = "0.1.8")]
public async bool connect (GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public bool connect_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public bool equal (Cd.Sensor sensor2);
[Version (since = "0.1.26")]
public static Cd.SensorError error_from_string (string error_desc);
[Version (since = "0.1.6")]
public static GLib.Quark error_quark ();
[Version (since = "0.1.26")]
public static unowned string error_to_string (Cd.SensorError error_enum);
[Version (since = "0.1.6")]
public uint64 get_caps ();
[Version (since = "0.1.9")]
public bool get_connected ();
[Version (since = "0.1.26")]
public bool get_embedded ();
[Version (since = "0.1.26")]
public unowned string get_id ();
[Version (since = "0.1.6")]
public Cd.SensorKind get_kind ();
[Version (since = "0.1.6")]
public bool get_locked ();
[Version (since = "0.1.28")]
public GLib.HashTable<weak string,weak string> get_metadata ();
[Version (since = "0.1.28")]
public unowned string get_metadata_item (string key);
[Version (since = "0.1.6")]
public Cd.SensorCap get_mode ();
[Version (since = "0.1.6")]
public unowned string get_model ();
[Version (since = "0.1.6")]
public bool get_native ();
[Version (since = "0.1.6")]
public unowned string get_object_path ();
[Version (since = "0.1.20")]
public unowned string get_option (string key);
[Version (since = "0.1.20")]
public GLib.HashTable<weak string,weak GLib.Variant> get_options ();
[Version (since = "0.1.8")]
public async Cd.ColorXYZ get_sample (Cd.SensorCap cap, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.8")]
public Cd.ColorXYZ get_sample_sync (Cd.SensorCap cap, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.6")]
public unowned string get_serial ();
[Version (since = "1.3.1")]
public async Cd.Spectrum get_spectrum (Cd.SensorCap cap, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "1.3.1")]
public Cd.Spectrum get_spectrum_sync (Cd.SensorCap cap, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.6")]
public Cd.SensorState get_state ();
[Version (since = "0.1.6")]
public unowned string get_vendor ();
[Version (since = "0.1.6")]
public bool has_cap (Cd.SensorCap cap);
public static Cd.SensorKind kind_from_string (string sensor_kind);
public static unowned string kind_to_string (Cd.SensorKind sensor_kind);
[Version (since = "0.1.8")]
public async bool @lock (GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.6")]
public bool lock_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "0.1.8")]
public void set_object_path (string object_path);
[Version (since = "0.1.20")]
public async bool set_options (GLib.HashTable<string,GLib.Variant> values, GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.20")]
public bool set_options_sync (GLib.HashTable<string,GLib.Variant> values, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static Cd.SensorState state_from_string (string sensor_state);
public static unowned string state_to_string (Cd.SensorState sensor_state);
public string to_string ();
[Version (since = "0.1.8")]
public async bool unlock (GLib.Cancellable? cancellable) throws GLib.Error;
[Version (since = "0.1.6")]
public bool unlock_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (has_construct_function = false)]
[Version (since = "0.1.8")]
public Sensor.with_object_path (string object_path);
[Version (since = "0.1.9")]
public string connected { get; }
[Version (since = "0.1.26")]
public string embedded { get; }
[Version (since = "0.1.26")]
public string id { get; }
[Version (since = "0.1.6")]
public string kind { get; }
[Version (since = "0.1.6")]
public string locked { get; }
[Version (since = "0.1.6")]
public string mode { get; }
[Version (since = "0.1.6")]
public string model { get; }
[Version (since = "0.1.6")]
public string native { get; }
[Version (since = "0.1.8")]
public string object_path { get; set construct; }
[Version (since = "0.1.6")]
public string serial { get; }
[Version (since = "0.1.6")]
public string state { get; }
[Version (since = "0.1.6")]
public string vendor { get; }
[Version (since = "0.1.6")]
public virtual signal void button_pressed ();
}
[CCode (cheader_filename = "colord.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "cd_spectrum_get_type ()")]
[Compact]
public class Spectrum {
[CCode (has_construct_function = false)]
[Version (since = "1.1.6")]
public Spectrum ();
[Version (since = "1.1.6")]
public void add_value (double data);
[Version (since = "1.1.6")]
public Cd.Spectrum dup ();
[Version (since = "1.1.6")]
public void free ();
[Version (since = "1.1.6")]
public unowned GLib.Array<double> get_data ();
[Version (since = "1.1.6")]
public double get_end ();
[Version (since = "1.1.6")]
public unowned string get_id ();
[Version (since = "1.1.6")]
public double get_norm ();
[Version (since = "1.2.6")]
public double get_resolution ();
[Version (since = "1.1.6")]
public uint get_size ();
[Version (since = "1.1.6")]
public double get_start ();
[Version (since = "1.1.6")]
public double get_value (uint idx);
[Version (since = "1.1.6")]
public double get_value_for_nm (double wavelength);
[Version (since = "1.3.1")]
public double get_value_max ();
[Version (since = "1.3.1")]
public double get_value_min ();
[Version (since = "1.2.6")]
public double get_value_raw (uint idx);
[Version (since = "1.1.6")]
public double get_wavelength (uint idx);
[Version (since = "1.3.1")]
public void get_wavelength_cal (double c1, double c2, double c3);
[Version (since = "1.3.1")]
public void limit_max (double value);
[Version (since = "1.3.1")]
public void limit_min (double value);
[Version (since = "1.1.6")]
public Cd.Spectrum multiply (Cd.Spectrum s2, double resolution);
[Version (since = "1.1.6")]
public void normalize (double wavelength, double value);
[Version (since = "1.2.6")]
public void normalize_max (double value);
[CCode (cname = "cd_spectrum_planckian_new", has_construct_function = false)]
[Version (since = "1.1.6")]
public Spectrum.planckian_new (double temperature);
[CCode (cname = "cd_spectrum_planckian_new_full", has_construct_function = false)]
[Version (since = "1.3.1")]
public Spectrum.planckian_new_full (double temperature, double start, double end, double resolution);
[Version (since = "1.3.1")]
public Cd.Spectrum resample (double start, double end, double resolution);
[Version (since = "1.1.6")]
public void set_data (GLib.Array<double> value);
[Version (since = "1.1.6")]
public void set_end (double end);
[Version (since = "1.1.6")]
public void set_id (string id);
[Version (since = "1.1.6")]
public void set_norm (double norm);
[Version (since = "1.1.6")]
public void set_start (double start);
[Version (since = "1.2.6")]
public void set_value (uint idx, double data);
[Version (since = "1.3.1")]
public void set_wavelength_cal (double c1, double c2, double c3);
[CCode (cname = "cd_spectrum_sized_new", has_construct_function = false)]
[Version (since = "1.1.6")]
public Spectrum.sized_new (uint reserved_size);
[Version (since = "1.3.1")]
public Cd.Spectrum subtract (Cd.Spectrum s2, double resolution);
[Version (since = "1.3.1")]
public string to_string (uint max_width, uint max_height);
}
[CCode (cheader_filename = "colord.h", type_id = "cd_transform_get_type ()")]
public class Transform : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "0.1.34")]
public Transform ();
[Version (since = "0.1.34")]
public static GLib.Quark error_quark ();
[Version (since = "1.0.0")]
public unowned Cd.Icc get_abstract_icc ();
[Version (since = "1.0.0")]
public bool get_bpc ();
[Version (since = "1.0.0")]
public unowned Cd.Icc get_input_icc ();
[Version (since = "1.0.0")]
public Cd.PixelFormat get_input_pixel_format ();
[Version (since = "1.1.1")]
public uint get_max_threads ();
[Version (since = "1.0.0")]
public unowned Cd.Icc get_output_icc ();
[Version (since = "1.0.0")]
public Cd.PixelFormat get_output_pixel_format ();
[Version (since = "1.0.0")]
public Cd.RenderingIntent get_rendering_intent ();
[Version (since = "0.1.34")]
public bool process (void* data_in, void* data_out, uint width, uint height, uint rowstride, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "1.0.0")]
public void set_abstract_icc (Cd.Icc icc);
[Version (since = "1.0.0")]
public void set_bpc (bool bpc);
[Version (since = "1.0.0")]
public void set_input_icc (Cd.Icc icc);
[Version (since = "1.0.0")]
public void set_input_pixel_format (Cd.PixelFormat pixel_format);
[Version (since = "1.1.1")]
public void set_max_threads (uint max_threads);
[Version (since = "1.0.0")]
public void set_output_icc (Cd.Icc icc);
[Version (since = "1.0.0")]
public void set_output_pixel_format (Cd.PixelFormat pixel_format);
[Version (since = "1.0.0")]
public void set_rendering_intent (Cd.RenderingIntent rendering_intent);
public Cd.Icc abstract_icc { get; set; }
public bool bpc { get; set; }
public Cd.Icc input_icc { get; set; }
public uint input_pixel_format { get; set; }
public Cd.Icc output_icc { get; set; }
public uint output_pixel_format { get; set; }
public uint rendering_intent { get; set; }
}
[CCode (cheader_filename = "colord.h", has_type_id = false)]
public struct ColorRGB8 {
public uint8 R;
public uint8 G;
public uint8 B;
}
[CCode (cheader_filename = "colord.h", has_type_id = false)]
public struct Mat3x3 {
public double m00;
public double m01;
public double m02;
public double m10;
public double m11;
public double m12;
public double m20;
public double m21;
public double m22;
}
[CCode (cheader_filename = "colord.h")]
[SimpleType]
public struct PixelFormat : uint32 {
public static Cd.PixelFormat from_string (string pixel_format);
public static unowned string to_string (Cd.PixelFormat pixel_format);
}
[CCode (cheader_filename = "colord.h", has_type_id = false)]
public struct Vec3 {
public double v0;
public double v1;
public double v2;
public void add (Cd.Vec3 src2, Cd.Vec3 dest);
public void clear ();
public void copy (Cd.Vec3 dest);
public double get_data ();
public void init (double v0, double v1, double v2);
public void scalar_multiply (double value, Cd.Vec3 dest);
public double squared_error (Cd.Vec3 src2);
public void subtract (Cd.Vec3 src2, Cd.Vec3 dest);
public string to_string ();
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_BUFFER_KIND_", has_type_id = false)]
public enum BufferKind {
REQUEST,
RESPONSE,
UNKNOWN
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_CLIENT_ERROR_", has_type_id = false)]
public enum ClientError {
INTERNAL,
ALREADY_EXISTS,
FAILED_TO_AUTHENTICATE,
NOT_SUPPORTED,
NOT_FOUND,
INPUT_INVALID,
FILE_INVALID
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_COLORSPACE_", has_type_id = false)]
public enum Colorspace {
UNKNOWN,
XYZ,
LAB,
LUV,
YCBCR,
YXY,
RGB,
GRAY,
HSV,
CMYK,
CMY;
public static Cd.Colorspace from_string (string colorspace);
public static unowned string to_string (Cd.Colorspace colorspace);
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_DEVICE_ERROR_", has_type_id = false)]
public enum DeviceError {
INTERNAL,
PROFILE_DOES_NOT_EXIST,
PROFILE_ALREADY_ADDED,
PROFILING,
NOTHING_MATCHED,
FAILED_TO_INHIBIT,
FAILED_TO_UNINHIBIT,
FAILED_TO_AUTHENTICATE,
NOT_ENABLED
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_DEVICE_KIND_", has_type_id = false)]
public enum DeviceKind {
UNKNOWN,
DISPLAY,
SCANNER,
PRINTER,
CAMERA,
WEBCAM
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_DEVICE_MODE_", has_type_id = false)]
public enum DeviceMode {
UNKNOWN,
PHYSICAL,
VIRTUAL
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_DEVICE_RELATION_", has_type_id = false)]
public enum DeviceRelation {
UNKNOWN,
SOFT,
HARD
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_ICC_ERROR_", has_type_id = false)]
public enum IccError {
FAILED_TO_OPEN,
FAILED_TO_PARSE,
INVALID_LOCALE,
NO_DATA,
FAILED_TO_SAVE,
FAILED_TO_CREATE,
INVALID_COLORSPACE,
CORRUPTION_DETECTED,
INTERNAL
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_ICC_LOAD_FLAGS_", has_type_id = false)]
[Flags]
[Version (since = "0.1.32")]
public enum IccLoadFlags {
NONE,
NAMED_COLORS,
TRANSLATIONS,
METADATA,
FALLBACK_MD5,
PRIMARIES,
CHARACTERIZATION,
ALL
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_ICC_SAVE_FLAGS_", has_type_id = false)]
[Version (since = "0.1.32")]
public enum IccSaveFlags {
NONE
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_ICC_STORE_SEARCH_FLAGS_", has_type_id = false)]
[Version (since = "1.1.1")]
public enum IccStoreSearchFlags {
NONE,
CREATE_LOCATION
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_ICC_STORE_SEARCH_KIND_", has_type_id = false)]
[Version (since = "1.1.1")]
public enum IccStoreSearchKind {
SYSTEM,
MACHINE,
USER
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_INTERP_ERROR_", has_type_id = false)]
public enum InterpError {
FAILED
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_INTERP_KIND_", has_type_id = false)]
public enum InterpKind {
LINEAR,
AKIMA
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_IT8_ERROR_", has_type_id = false)]
public enum It8Error {
FAILED,
INVALID_FORMAT,
UNKNOWN_KIND
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_IT8_KIND_", has_type_id = false)]
public enum It8Kind {
UNKNOWN,
TI1,
TI3,
CCMX,
CAL,
CCSS,
SPECT,
CMF
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_OBJECT_SCOPE_", has_type_id = false)]
public enum ObjectScope {
UNKNOWN,
NORMAL,
TEMP,
DISK;
public static Cd.ObjectScope from_string (string object_scope);
public static unowned string to_string (Cd.ObjectScope object_scope);
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_PROFILE_ERROR_", has_type_id = false)]
public enum ProfileError {
INTERNAL,
ALREADY_INSTALLED,
FAILED_TO_WRITE,
FAILED_TO_PARSE,
FAILED_TO_READ,
FAILED_TO_AUTHENTICATE,
PROPERTY_INVALID,
FAILED_TO_GET_UID
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_PROFILE_KIND_", has_type_id = false)]
public enum ProfileKind {
UNKNOWN,
INPUT_DEVICE,
DISPLAY_DEVICE,
OUTPUT_DEVICE,
DEVICELINK,
COLORSPACE_CONVERSION,
ABSTRACT,
NAMED_COLOR
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_PROFILE_QUALITY_", has_type_id = false)]
public enum ProfileQuality {
LOW,
MEDIUM,
HIGH
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_PROFILE_WARNING_", has_type_id = false)]
public enum ProfileWarning {
NONE,
DESCRIPTION_MISSING,
COPYRIGHT_MISSING,
VCGT_NON_MONOTONIC,
SCUM_DOT,
GRAY_AXIS_INVALID,
GRAY_AXIS_NON_MONOTONIC,
PRIMARIES_INVALID,
PRIMARIES_NON_ADDITIVE,
PRIMARIES_UNLIKELY,
WHITEPOINT_INVALID,
WHITEPOINT_UNLIKELY
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_RENDERING_INTENT_", has_type_id = false)]
public enum RenderingIntent {
UNKNOWN,
PERCEPTUAL,
RELATIVE_COLORIMETRIC,
SATURATION,
ABSOLUTE_COLORIMETRIC;
public static Cd.RenderingIntent from_string (string rendering_intent);
public static unowned string to_string (Cd.RenderingIntent rendering_intent);
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_SENSOR_CAP_", has_type_id = false)]
public enum SensorCap {
UNKNOWN,
LCD,
CRT,
PRINTER,
SPOT,
PROJECTOR,
AMBIENT,
CALIBRATION,
LED,
PLASMA,
LCD_CCFL,
LCD_RGB_LED,
LCD_WHITE_LED,
WIDE_GAMUT_LCD_CCFL,
WIDE_GAMUT_LCD_RGB_LED,
SPECTRAL,
CALIBRATION_DARK,
CALIBRATION_IRRADIANCE
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_SENSOR_ERROR_", has_type_id = false)]
[Version (since = "0.1.26")]
public enum SensorError {
NO_SUPPORT,
NO_DATA,
INTERNAL,
ALREADY_LOCKED,
NOT_LOCKED,
IN_USE,
FAILED_TO_AUTHENTICATE,
REQUIRED_POSITION_CALIBRATE,
REQUIRED_POSITION_SURFACE,
REQUIRED_DARK_CALIBRATION,
REQUIRED_IRRADIANCE_CALIBRATION
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_SENSOR_KIND_", has_type_id = false)]
public enum SensorKind {
UNKNOWN,
DUMMY,
HUEY,
COLOR_MUNKI_PHOTO,
SPYDER,
DTP20,
DTP22,
DTP41,
DTP51,
DTP94,
SPECTRO_SCAN,
I1_PRO,
COLORIMTRE_HCFR,
I1_DISPLAY3,
COLORHUG,
SPYDER2,
SPYDER3,
COLORHUG_PLUS,
I1_DISPLAY1,
I1_DISPLAY2,
DTP92,
I1_MONITOR,
SPYDER4,
COLOR_MUNKI_SMILE,
COLORHUG2,
SPYDER5,
SPARK
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_SENSOR_STATE_", has_type_id = false)]
public enum SensorState {
UNKNOWN,
STARTING,
IDLE,
MEASURING,
BUSY
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_STANDARD_SPACE_", has_type_id = false)]
public enum StandardSpace {
UNKNOWN,
SRGB,
ADOBE_RGB,
PROPHOTO_RGB;
public static Cd.StandardSpace from_string (string standard_space);
public static unowned string to_string (Cd.StandardSpace standard_space);
}
[CCode (cheader_filename = "colord.h", cprefix = "CD_TRANSFORM_ERROR_", has_type_id = false)]
[Version (since = "0.1.34")]
public enum TransformError {
FAILED_TO_SETUP_TRANSFORM,
INVALID_COLORSPACE,
LAST
}
[CCode (cheader_filename = "colord.h", cname = "CD_CLIENT_PROPERTY_DAEMON_VERSION")]
public const string CLIENT_PROPERTY_DAEMON_VERSION;
[CCode (cheader_filename = "colord.h", cname = "CD_CLIENT_PROPERTY_SYSTEM_MODEL")]
public const string CLIENT_PROPERTY_SYSTEM_MODEL;
[CCode (cheader_filename = "colord.h", cname = "CD_CLIENT_PROPERTY_SYSTEM_VENDOR")]
public const string CLIENT_PROPERTY_SYSTEM_VENDOR;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_METADATA_OUTPUT_EDID_MD5")]
public const string DEVICE_METADATA_OUTPUT_EDID_MD5;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_METADATA_OUTPUT_PRIORITY")]
public const string DEVICE_METADATA_OUTPUT_PRIORITY;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_METADATA_OUTPUT_PRIORITY_PRIMARY")]
public const string DEVICE_METADATA_OUTPUT_PRIORITY_PRIMARY;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_METADATA_OUTPUT_PRIORITY_SECONDARY")]
public const string DEVICE_METADATA_OUTPUT_PRIORITY_SECONDARY;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_METADATA_OWNER_CMDLINE")]
public const string DEVICE_METADATA_OWNER_CMDLINE;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_METADATA_XRANDR_NAME")]
public const string DEVICE_METADATA_XRANDR_NAME;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_COLORSPACE")]
public const string DEVICE_PROPERTY_COLORSPACE;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_CREATED")]
public const string DEVICE_PROPERTY_CREATED;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_EMBEDDED")]
public const string DEVICE_PROPERTY_EMBEDDED;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_ENABLED")]
public const string DEVICE_PROPERTY_ENABLED;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_FORMAT")]
public const string DEVICE_PROPERTY_FORMAT;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_ID")]
public const string DEVICE_PROPERTY_ID;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_KIND")]
public const string DEVICE_PROPERTY_KIND;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_METADATA")]
public const string DEVICE_PROPERTY_METADATA;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_MODE")]
public const string DEVICE_PROPERTY_MODE;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_MODEL")]
public const string DEVICE_PROPERTY_MODEL;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_MODIFIED")]
public const string DEVICE_PROPERTY_MODIFIED;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_OWNER")]
public const string DEVICE_PROPERTY_OWNER;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_PROFILES")]
public const string DEVICE_PROPERTY_PROFILES;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_PROFILING_INHIBITORS")]
public const string DEVICE_PROPERTY_PROFILING_INHIBITORS;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_SCOPE")]
public const string DEVICE_PROPERTY_SCOPE;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_SEAT")]
public const string DEVICE_PROPERTY_SEAT;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_SERIAL")]
public const string DEVICE_PROPERTY_SERIAL;
[CCode (cheader_filename = "colord.h", cname = "CD_DEVICE_PROPERTY_VENDOR")]
public const string DEVICE_PROPERTY_VENDOR;
[CCode (cheader_filename = "colord.h", cname = "CD_MAJOR_VERSION")]
public const int MAJOR_VERSION;
[CCode (cheader_filename = "colord.h", cname = "CD_MICRO_VERSION")]
public const int MICRO_VERSION;
[CCode (cheader_filename = "colord.h", cname = "CD_MINOR_VERSION")]
public const int MINOR_VERSION;
[CCode (cheader_filename = "colord.h", cname = "CD_PIXEL_FORMAT_ARGB32")]
public const int PIXEL_FORMAT_ARGB32;
[CCode (cheader_filename = "colord.h", cname = "CD_PIXEL_FORMAT_BGRA32")]
public const int PIXEL_FORMAT_BGRA32;
[CCode (cheader_filename = "colord.h", cname = "CD_PIXEL_FORMAT_CMYK32")]
public const int PIXEL_FORMAT_CMYK32;
[CCode (cheader_filename = "colord.h", cname = "CD_PIXEL_FORMAT_RGB24")]
public const int PIXEL_FORMAT_RGB24;
[CCode (cheader_filename = "colord.h", cname = "CD_PIXEL_FORMAT_RGBA32")]
public const int PIXEL_FORMAT_RGBA32;
[CCode (cheader_filename = "colord.h", cname = "CD_PIXEL_FORMAT_UNKNOWN")]
public const int PIXEL_FORMAT_UNKNOWN;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_ACCURACY_DE76_AVG")]
public const string PROFILE_METADATA_ACCURACY_DE76_AVG;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_ACCURACY_DE76_MAX")]
public const string PROFILE_METADATA_ACCURACY_DE76_MAX;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_ACCURACY_DE76_RMS")]
public const string PROFILE_METADATA_ACCURACY_DE76_RMS;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_CMF_BINARY")]
public const string PROFILE_METADATA_CMF_BINARY;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_CMF_PRODUCT")]
public const string PROFILE_METADATA_CMF_PRODUCT;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_CMF_VERSION")]
public const string PROFILE_METADATA_CMF_VERSION;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_CONNECTION_TYPE")]
public const string PROFILE_METADATA_CONNECTION_TYPE;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_CONNECTION_TYPE_DISPLAYPORT")]
public const string PROFILE_METADATA_CONNECTION_TYPE_DISPLAYPORT;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_CONNECTION_TYPE_DVI")]
public const string PROFILE_METADATA_CONNECTION_TYPE_DVI;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_CONNECTION_TYPE_HDMI")]
public const string PROFILE_METADATA_CONNECTION_TYPE_HDMI;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_CONNECTION_TYPE_INTERNAL")]
public const string PROFILE_METADATA_CONNECTION_TYPE_INTERNAL;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_CONNECTION_TYPE_VGA")]
public const string PROFILE_METADATA_CONNECTION_TYPE_VGA;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_DATA_SOURCE")]
public const string PROFILE_METADATA_DATA_SOURCE;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_DATA_SOURCE_CALIB")]
public const string PROFILE_METADATA_DATA_SOURCE_CALIB;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_DATA_SOURCE_EDID")]
public const string PROFILE_METADATA_DATA_SOURCE_EDID;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_DATA_SOURCE_STANDARD")]
public const string PROFILE_METADATA_DATA_SOURCE_STANDARD;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_DATA_SOURCE_TEST")]
public const string PROFILE_METADATA_DATA_SOURCE_TEST;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_EDID_MD5")]
public const string PROFILE_METADATA_EDID_MD5;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_EDID_MNFT")]
public const string PROFILE_METADATA_EDID_MNFT;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_EDID_MODEL")]
public const string PROFILE_METADATA_EDID_MODEL;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_EDID_SERIAL")]
public const string PROFILE_METADATA_EDID_SERIAL;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_EDID_VENDOR")]
public const string PROFILE_METADATA_EDID_VENDOR;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_FILE_CHECKSUM")]
public const string PROFILE_METADATA_FILE_CHECKSUM;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_LICENSE")]
public const string PROFILE_METADATA_LICENSE;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_MAPPING_DEVICE_ID")]
public const string PROFILE_METADATA_MAPPING_DEVICE_ID;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_MAPPING_FORMAT")]
public const string PROFILE_METADATA_MAPPING_FORMAT;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_MAPPING_QUALIFIER")]
public const string PROFILE_METADATA_MAPPING_QUALIFIER;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_MEASUREMENT_DEVICE")]
public const string PROFILE_METADATA_MEASUREMENT_DEVICE;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_QUALITY")]
public const string PROFILE_METADATA_QUALITY;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_QUALITY_HIGH")]
public const string PROFILE_METADATA_QUALITY_HIGH;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_QUALITY_LOW")]
public const string PROFILE_METADATA_QUALITY_LOW;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_QUALITY_MEDIUM")]
public const string PROFILE_METADATA_QUALITY_MEDIUM;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_SCREEN_BRIGHTNESS")]
public const string PROFILE_METADATA_SCREEN_BRIGHTNESS;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_SCREEN_SURFACE")]
public const string PROFILE_METADATA_SCREEN_SURFACE;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_SCREEN_SURFACE_GLOSSY")]
public const string PROFILE_METADATA_SCREEN_SURFACE_GLOSSY;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_SCREEN_SURFACE_MATTE")]
public const string PROFILE_METADATA_SCREEN_SURFACE_MATTE;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_METADATA_STANDARD_SPACE")]
public const string PROFILE_METADATA_STANDARD_SPACE;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_COLORSPACE")]
public const string PROFILE_PROPERTY_COLORSPACE;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_CREATED")]
public const string PROFILE_PROPERTY_CREATED;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_FILENAME")]
public const string PROFILE_PROPERTY_FILENAME;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_FORMAT")]
public const string PROFILE_PROPERTY_FORMAT;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_HAS_VCGT")]
public const string PROFILE_PROPERTY_HAS_VCGT;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_ID")]
public const string PROFILE_PROPERTY_ID;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_IS_SYSTEM_WIDE")]
public const string PROFILE_PROPERTY_IS_SYSTEM_WIDE;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_KIND")]
public const string PROFILE_PROPERTY_KIND;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_METADATA")]
public const string PROFILE_PROPERTY_METADATA;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_OWNER")]
public const string PROFILE_PROPERTY_OWNER;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_QUALIFIER")]
public const string PROFILE_PROPERTY_QUALIFIER;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_SCOPE")]
public const string PROFILE_PROPERTY_SCOPE;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_TITLE")]
public const string PROFILE_PROPERTY_TITLE;
[CCode (cheader_filename = "colord.h", cname = "CD_PROFILE_PROPERTY_WARNINGS")]
public const string PROFILE_PROPERTY_WARNINGS;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_METADATA_IMAGE_ATTACH")]
public const string SENSOR_METADATA_IMAGE_ATTACH;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_METADATA_IMAGE_CALIBRATE")]
public const string SENSOR_METADATA_IMAGE_CALIBRATE;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_METADATA_IMAGE_SCREEN")]
public const string SENSOR_METADATA_IMAGE_SCREEN;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_PROPERTY_CAPABILITIES")]
public const string SENSOR_PROPERTY_CAPABILITIES;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_PROPERTY_EMBEDDED")]
public const string SENSOR_PROPERTY_EMBEDDED;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_PROPERTY_ID")]
public const string SENSOR_PROPERTY_ID;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_PROPERTY_KIND")]
public const string SENSOR_PROPERTY_KIND;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_PROPERTY_LOCKED")]
public const string SENSOR_PROPERTY_LOCKED;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_PROPERTY_METADATA")]
public const string SENSOR_PROPERTY_METADATA;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_PROPERTY_MODE")]
public const string SENSOR_PROPERTY_MODE;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_PROPERTY_MODEL")]
public const string SENSOR_PROPERTY_MODEL;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_PROPERTY_NATIVE")]
public const string SENSOR_PROPERTY_NATIVE;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_PROPERTY_OPTIONS")]
public const string SENSOR_PROPERTY_OPTIONS;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_PROPERTY_SERIAL")]
public const string SENSOR_PROPERTY_SERIAL;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_PROPERTY_STATE")]
public const string SENSOR_PROPERTY_STATE;
[CCode (cheader_filename = "colord.h", cname = "CD_SENSOR_PROPERTY_VENDOR")]
public const string SENSOR_PROPERTY_VENDOR;
[CCode (cheader_filename = "colord.h")]
public static void buffer_debug (Cd.BufferKind buffer_kind, uint8 data, size_t length);
[CCode (cheader_filename = "colord.h")]
public static uint16 buffer_read_uint16_be (uint8 buffer);
[CCode (cheader_filename = "colord.h")]
public static uint16 buffer_read_uint16_le (uint8 buffer);
[CCode (cheader_filename = "colord.h")]
public static uint32 buffer_read_uint32_be (uint8 buffer);
[CCode (cheader_filename = "colord.h")]
public static uint32 buffer_read_uint32_le (uint8 buffer);
[CCode (cheader_filename = "colord.h")]
public static void buffer_write_uint16_be (uint8 buffer, uint16 value);
[CCode (cheader_filename = "colord.h")]
public static void buffer_write_uint16_le (uint8 buffer, uint16 value);
[CCode (cheader_filename = "colord.h")]
public static void buffer_write_uint32_be (uint8 buffer, uint32 value);
[CCode (cheader_filename = "colord.h")]
public static void buffer_write_uint32_le (uint8 buffer, uint32 value);
[CCode (cheader_filename = "colord.h")]
[Version (since = "0.1.26")]
public static bool color_get_blackbody_rgb (uint temp, Cd.ColorRGB result);
[CCode (cheader_filename = "colord.h")]
[Version (since = "0.1.27")]
public static void color_rgb8_to_rgb (Cd.ColorRGB8 src, Cd.ColorRGB dest);
[CCode (cheader_filename = "colord.h")]
public static bool context_lcms_error_check (void* ctx) throws GLib.Error;
[CCode (cheader_filename = "colord.h")]
public static void context_lcms_error_clear (void* ctx);
[CCode (cheader_filename = "colord.h")]
public static void context_lcms_free (void* ctx);
[CCode (cheader_filename = "colord.h")]
public static void* context_lcms_new ();
[CCode (cheader_filename = "colord.h")]
public static void mat33_clear (Cd.Mat3x3 src);
[CCode (cheader_filename = "colord.h")]
public static void mat33_copy (Cd.Mat3x3 src, Cd.Mat3x3 dest);
[CCode (cheader_filename = "colord.h")]
public static double mat33_determinant (Cd.Mat3x3 src);
[CCode (cheader_filename = "colord.h")]
public static double mat33_get_data (Cd.Mat3x3 src);
[CCode (cheader_filename = "colord.h")]
public static void mat33_init (Cd.Mat3x3 dest, double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22);
[CCode (cheader_filename = "colord.h")]
public static void mat33_matrix_multiply (Cd.Mat3x3 mat_src1, Cd.Mat3x3 mat_src2, Cd.Mat3x3 mat_dest);
[CCode (cheader_filename = "colord.h")]
public static void mat33_normalize (Cd.Mat3x3 src, Cd.Mat3x3 dest);
[CCode (cheader_filename = "colord.h")]
public static bool mat33_reciprocal (Cd.Mat3x3 src, Cd.Mat3x3 dest);
[CCode (cheader_filename = "colord.h")]
public static void mat33_scalar_multiply (Cd.Mat3x3 mat_src, double value, Cd.Mat3x3 mat_dest);
[CCode (cheader_filename = "colord.h")]
public static void mat33_set_identity (Cd.Mat3x3 src);
[CCode (cheader_filename = "colord.h")]
public static string mat33_to_string (Cd.Mat3x3 src);
[CCode (cheader_filename = "colord.h")]
public static void mat33_vector_multiply (Cd.Mat3x3 mat_src, Cd.Vec3 vec_src, Cd.Vec3 vec_dest);
[CCode (cheader_filename = "colord.h")]
public static string quirk_vendor_name (string vendor);
}
|