/usr/share/vala/vapi/grilo-0.3.vapi is in libgrilo-0.3-dev 0.3.2-2.
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 | /* grilo-0.3.vapi generated by vapigen-0.34, do not modify. */
[CCode (cprefix = "Grl", gir_namespace = "Grl", gir_version = "0.3", lower_case_cprefix = "grl_")]
namespace Grl {
[CCode (cheader_filename = "grilo.h", type_id = "grl_caps_get_type ()")]
public class Caps : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "0.2.0")]
public Caps ();
[Version (since = "0.2.0")]
public unowned GLib.List<Grl.KeyID> get_key_filter ();
[Version (since = "0.2.0")]
public unowned GLib.List<Grl.KeyID> get_key_range_filter ();
[Version (since = "0.2.0")]
public Grl.TypeFilter get_type_filter ();
[Version (since = "0.2.0")]
public bool is_key_filter (Grl.KeyID key);
[Version (since = "0.2.0")]
public bool is_key_range_filter (Grl.KeyID key);
[Version (since = "0.2.0")]
public void set_key_filter (GLib.List<Grl.KeyID> keys);
[Version (since = "0.2.0")]
public void set_key_range_filter (GLib.List<Grl.KeyID> keys);
[Version (since = "0.2.0")]
public void set_type_filter (Grl.TypeFilter filter);
[Version (since = "0.2.0")]
public bool test_option (string key, GLib.Value value);
}
[CCode (cheader_filename = "grilo.h", type_id = "grl_config_get_type ()")]
public class Config : GLib.Object {
[CCode (array_length = false)]
public weak void* _grl_reserved[8];
[CCode (has_construct_function = false)]
[Version (since = "0.1.4")]
public Config (string plugin, string? source);
[Version (since = "0.1.4")]
public string get_api_key ();
[Version (since = "0.1.9")]
public uint8 get_api_key_blob (size_t size);
[Version (since = "0.1.4")]
public string get_api_secret ();
[Version (since = "0.1.4")]
public string get_api_token ();
[Version (since = "0.2.6")]
public string get_api_token_secret ();
[Version (since = "0.1.9")]
public uint8 get_binary (string param, size_t? size);
[Version (since = "0.1.8")]
public bool get_boolean (string param);
[Version (since = "0.1.5")]
public float get_float (string param);
[Version (since = "0.1.5")]
public int get_int (string param);
[Version (since = "0.1.8")]
public string get_password ();
[Version (since = "0.1.4")]
public string get_plugin ();
public string get_source ();
[Version (since = "0.1.5")]
public string get_string (string param);
[Version (since = "0.1.8")]
public string get_username ();
[Version (since = "0.1.8")]
public bool has_param (string param);
[Version (since = "0.1.5")]
public void @set (string param, GLib.Value value);
[Version (since = "0.1.4")]
public void set_api_key (string key);
[Version (since = "0.1.9")]
public void set_api_key_blob (uint8 blob, size_t size);
[Version (since = "0.1.4")]
public void set_api_secret (string secret);
[Version (since = "0.1.4")]
public void set_api_token (string token);
[Version (since = "0.2.6")]
public void set_api_token_secret (string secret);
[Version (since = "0.1.9")]
public void set_binary (string param, uint8 blob, size_t size);
[Version (since = "0.1.8")]
public void set_boolean (string param, bool value);
[Version (since = "0.1.5")]
public void set_float (string param, float value);
[Version (since = "0.1.5")]
public void set_int (string param, int value);
[Version (since = "0.1.8")]
public void set_password (string password);
[Version (since = "0.1.4")]
public void set_plugin (string plugin);
[Version (since = "0.1.4")]
public void set_source (string source);
[Version (since = "0.1.5")]
public void set_string (string param, string value);
[Version (since = "0.1.8")]
public void set_username (string username);
}
[CCode (cheader_filename = "grilo.h", type_id = "grl_data_get_type ()")]
public class Data : GLib.Object {
[CCode (array_length = false)]
public weak void* _grl_reserved[8];
[CCode (has_construct_function = false)]
[Version (since = "0.1.4")]
public Data ();
[Version (since = "0.1.10")]
public void add_binary (Grl.KeyID key, uint8 buf, size_t size);
[Version (since = "0.2.0")]
public void add_boxed (Grl.KeyID key, void* boxed);
[Version (since = "0.1.10")]
public void add_float (Grl.KeyID key, float floatvalue);
[Version (since = "0.1.10")]
public void add_int (Grl.KeyID key, int intvalue);
[Version (since = "0.2.12")]
public void add_int64 (Grl.KeyID key, int64 intvalue);
[Version (since = "0.1.10")]
public void add_related_keys (Grl.RelatedKeys relkeys);
[Version (since = "0.1.10")]
public void add_string (Grl.KeyID key, string strvalue);
[Version (since = "0.1.10")]
public Grl.Data dup ();
[Version (since = "0.1.4")]
public unowned GLib.Value? @get (Grl.KeyID key);
[Version (since = "0.1.9")]
public uint8 get_binary (Grl.KeyID key, out size_t size);
[Version (since = "0.2.3")]
public bool get_boolean (Grl.KeyID key);
[Version (since = "0.2.0")]
public void* get_boxed (Grl.KeyID key);
[Version (since = "0.1.5")]
public float get_float (Grl.KeyID key);
[Version (since = "0.1.4")]
public int get_int (Grl.KeyID key);
[Version (since = "0.2.12")]
public int64 get_int64 (Grl.KeyID key);
[Version (since = "0.1.4")]
public GLib.List<weak Grl.KeyID> get_keys ();
[Version (since = "0.1.10")]
public unowned Grl.RelatedKeys get_related_keys (Grl.KeyID key, uint index);
[Version (since = "0.1.13")]
public GLib.List<weak GLib.Value?> get_single_values_for_key (Grl.KeyID key);
[Version (since = "0.1.13")]
public GLib.List<weak string> get_single_values_for_key_string (Grl.KeyID key);
[Version (since = "0.1.4")]
public unowned string get_string (Grl.KeyID key);
[Version (since = "0.1.4")]
public bool has_key (Grl.KeyID key);
[Version (since = "0.1.10")]
public uint length (Grl.KeyID key);
[Version (since = "0.1.4")]
public void remove (Grl.KeyID key);
[Version (since = "0.1.10")]
public void remove_nth (Grl.KeyID key, uint index);
[Version (since = "0.1.4")]
public void @set (Grl.KeyID key, GLib.Value value);
[Version (since = "0.1.9")]
public void set_binary (Grl.KeyID key, uint8 buf, size_t size);
[Version (since = "0.2.3")]
public void set_boolean (Grl.KeyID key, bool boolvalue);
[Version (since = "0.2.0")]
public void set_boxed (Grl.KeyID key, void* boxed);
[Version (since = "0.1.5")]
public void set_float (Grl.KeyID key, float floatvalue);
[Version (since = "0.1.4")]
public void set_int (Grl.KeyID key, int intvalue);
[Version (since = "0.2.12")]
public void set_int64 (Grl.KeyID key, int64 intvalue);
[Version (since = "0.1.10")]
public void set_related_keys (Grl.RelatedKeys relkeys, uint index);
[Version (since = "0.1.4")]
public void set_string (Grl.KeyID key, string strvalue);
}
[CCode (cheader_filename = "grilo.h")]
[Compact]
public class LogDomain {
[Version (since = "0.1.7")]
public void free ();
}
[CCode (cheader_filename = "grilo.h", type_id = "grl_media_get_type ()")]
public class Media : Grl.Data {
[CCode (has_construct_function = false)]
public Media ();
[Version (since = "0.3.0")]
public void add_artist (string artist);
[Version (since = "0.1.10")]
public void add_author (string author);
[Version (since = "0.3.0")]
public void add_director (string director);
[Version (since = "0.1.10")]
public void add_external_player (string player);
[Version (since = "0.1.10")]
public void add_external_url (string url);
[Version (since = "0.3.0")]
public void add_genre (string genre);
[Version (since = "0.2.3")]
public void add_keyword (string keyword);
[Version (since = "0.3.0")]
public void add_lyrics (string lyrics);
[Version (since = "0.3.0")]
public void add_mb_artist_id (string mb_artist_id);
[Version (since = "0.3.0")]
public void add_performer (string performer);
[Version (since = "0.3.0")]
public void add_producer (string producer);
[Version (since = "0.2.3")]
public void add_region_data (string region, GLib.DateTime publication_date, string certificate);
[Version (since = "0.1.10")]
public void add_thumbnail (string thumbnail);
[Version (since = "0.1.10")]
public void add_thumbnail_binary (uint8 thumbnail, size_t size);
[Version (since = "0.3.0")]
public void add_url_data (string url, string mime, int bitrate, float framerate, int width, int height);
[CCode (cname = "grl_media_audio_new", has_construct_function = false)]
[Version (since = "0.1.4")]
public Media.audio_new ();
[CCode (cname = "grl_media_container_new", has_construct_function = false)]
[Version (since = "0.3.0")]
public Media.container_new ();
[Version (since = "0.3.0")]
public unowned string get_album ();
[Version (since = "0.3.1")]
public unowned string get_album_artist ();
[Version (since = "0.3.1")]
public int get_album_disc_number ();
[Version (since = "0.3.0")]
public unowned string get_artist ();
[Version (since = "0.3.0")]
public unowned string get_artist_nth (uint index);
[Version (since = "0.1.4")]
public unowned string get_author ();
[Version (since = "0.1.10")]
public unowned string get_author_nth (uint index);
[Version (since = "0.3.0")]
public int get_bitrate ();
[Version (since = "0.3.0")]
public unowned string get_camera_model ();
[Version (since = "0.1.6")]
public unowned string get_certificate ();
[Version (since = "0.3.0")]
public int get_childcount ();
[Version (since = "0.3.1")]
public unowned string get_composer ();
[Version (since = "0.3.1")]
public unowned string get_composer_nth (uint index);
[Version (since = "0.2.0")]
public unowned GLib.DateTime get_creation_date ();
[Version (since = "0.1.4")]
public unowned string get_description ();
[Version (since = "0.3.0")]
public unowned string get_director ();
[Version (since = "0.3.0")]
public unowned string get_director_nth (uint index);
[Version (since = "0.1.4")]
public int get_duration ();
[Version (since = "0.3.0")]
public int get_episode ();
[Version (since = "0.3.0")]
public unowned string get_episode_title ();
[Version (since = "0.3.0")]
public float get_exposure_time ();
[Version (since = "0.1.6")]
public unowned string get_external_url ();
[Version (since = "0.1.10")]
public unowned string get_external_url_nth (uint index);
[Version (since = "0.2.3")]
public bool get_favourite ();
[Version (since = "0.3.0")]
public unowned string get_flash_used ();
[Version (since = "0.3.0")]
public float get_framerate ();
[Version (since = "0.3.0")]
public unowned string get_genre ();
[Version (since = "0.3.0")]
public unowned string get_genre_nth (uint index);
[Version (since = "0.3.0")]
public int get_height ();
[Version (since = "0.1.4")]
public unowned string get_id ();
[Version (since = "0.3.0")]
public float get_iso_speed ();
[Version (since = "0.2.3")]
public unowned string get_keyword ();
[Version (since = "0.2.3")]
public unowned string get_keyword_nth (uint index);
[Version (since = "0.3.0")]
public GLib.DateTime get_last_played ();
[Version (since = "0.1.4")]
public int get_last_position ();
[Version (since = "0.1.6")]
public unowned string get_license ();
[Version (since = "0.3.0")]
public unowned string get_lyrics ();
[Version (since = "0.3.0")]
public unowned string get_lyrics_nth (uint index);
[Version (since = "0.3.0")]
public unowned string get_mb_album_id ();
[Version (since = "0.3.0")]
public unowned string get_mb_artist_id ();
[Version (since = "0.3.0")]
public unowned string get_mb_artist_id_nth (uint index);
[Version (since = "0.3.0")]
public unowned string get_mb_recording_id ();
[Version (since = "0.3.0")]
public unowned string get_mb_track_id ();
[Version (since = "0.3.0")]
public Grl.MediaType get_media_type ();
[Version (since = "0.1.4")]
public unowned string get_mime ();
[Version (since = "0.2.0")]
public unowned GLib.DateTime get_modification_date ();
[Version (since = "0.3.0")]
public int get_orientation ();
[Version (since = "0.3.0")]
public unowned string get_original_title ();
[Version (since = "0.3.0")]
public unowned string get_performer ();
[Version (since = "0.3.0")]
public unowned string get_performer_nth (uint index);
[Version (since = "0.1.4")]
public int get_play_count ();
[Version (since = "0.1.6")]
public unowned string get_player ();
[Version (since = "0.1.10")]
public unowned string get_player_nth (uint index);
[Version (since = "0.3.0")]
public unowned string get_producer ();
[Version (since = "0.3.0")]
public unowned string get_producer_nth (uint index);
[Version (since = "0.2.0")]
public unowned GLib.DateTime get_publication_date ();
[Version (since = "0.1.5")]
public float get_rating ();
[Version (since = "0.2.3")]
public unowned string get_region ();
[Version (since = "0.2.3")]
public unowned string get_region_data (out unowned GLib.DateTime publication_date, out unowned string certificate);
[Version (since = "0.2.3")]
public unowned string get_region_data_nth (uint index, out unowned GLib.DateTime publication_date, out unowned string certificate);
[Version (since = "0.3.0")]
public int get_season ();
[Version (since = "0.3.0")]
public unowned string get_show ();
[Version (since = "0.1.4")]
public unowned string get_site ();
[Version (since = "0.2.10")]
public int64 get_size ();
[Version (since = "0.1.4")]
public unowned string get_source ();
[Version (since = "0.1.19")]
public float get_start_time ();
[Version (since = "0.1.6")]
public unowned string get_studio ();
[Version (since = "0.1.4")]
public unowned string get_thumbnail ();
[Version (since = "0.1.9")]
public uint8 get_thumbnail_binary (size_t size);
[Version (since = "0.1.10")]
public uint8 get_thumbnail_binary_nth (size_t size, uint index);
[Version (since = "0.1.10")]
public unowned string get_thumbnail_nth (uint index);
[Version (since = "0.1.4")]
public unowned string get_title ();
[Version (since = "0.3.0")]
public int get_track_number ();
[Version (since = "0.1.4")]
public unowned string get_url ();
[Version (since = "0.3.0")]
public unowned string get_url_data (out unowned string mime, out int bitrate, float framerate, int width, int height);
[Version (since = "0.3.0")]
public unowned string get_url_data_nth (uint index, out unowned string mime, out int bitrate, float framerate, int width, int height);
[Version (since = "0.3.0")]
public int get_width ();
[CCode (cname = "grl_media_image_new", has_construct_function = false)]
[Version (since = "0.1.4")]
public Media.image_new ();
[Version (since = "0.3.0")]
public bool is_audio ();
[Version (since = "0.3.0")]
public bool is_container ();
[Version (since = "0.3.0")]
public bool is_image ();
[Version (since = "0.3.0")]
public bool is_video ();
[Version (since = "0.1.6")]
public string serialize ();
[Version (since = "0.3.0")]
public void set_album (string album);
[Version (since = "0.3.1")]
public void set_album_artist (string album_artist);
[Version (since = "0.3.1")]
public void set_album_disc_number (int disc_number);
[Version (since = "0.3.0")]
public void set_artist (string artist);
[Version (since = "0.1.4")]
public void set_author (string author);
[Version (since = "0.3.0")]
public void set_bitrate (int bitrate);
[Version (since = "0.3.0")]
public void set_camera_model (string camera_model);
[Version (since = "0.1.6")]
public void set_certificate (string certificate);
[Version (since = "0.3.0")]
public void set_childcount (int childcount);
[Version (since = "0.3.1")]
public void set_composer (string composer);
[Version (since = "0.2.0")]
public void set_creation_date (GLib.DateTime creation_date);
[Version (since = "0.1.4")]
public void set_description (string description);
[Version (since = "0.3.0")]
public void set_director (string director);
[Version (since = "0.1.4")]
public void set_duration (int duration);
[Version (since = "0.3.0")]
public void set_episode (int episode);
[Version (since = "0.3.0")]
public void set_episode_title (string episode_title);
[Version (since = "0.3.0")]
public void set_exposure_time (float exposure_time);
[Version (since = "0.1.6")]
public void set_external_player (string player);
[Version (since = "0.1.6")]
public void set_external_url (string url);
[Version (since = "0.2.3")]
public void set_favourite (bool favourite);
[Version (since = "0.3.0")]
public void set_flash_used (string flash_used);
[Version (since = "0.3.0")]
public void set_framerate (float framerate);
[Version (since = "0.3.0")]
public void set_genre (string genre);
[Version (since = "0.3.0")]
public void set_height (int height);
[Version (since = "0.1.4")]
public void set_id (string id);
[Version (since = "0.3.0")]
public void set_iso_speed (float iso_speed);
[Version (since = "0.2.3")]
public void set_keyword (string keyword);
[Version (since = "0.3.0")]
public void set_last_played (GLib.DateTime last_played);
[Version (since = "0.1.4")]
public void set_last_position (int last_position);
[Version (since = "0.1.6")]
public void set_license (string license);
[Version (since = "0.3.0")]
public void set_lyrics (string lyrics);
[Version (since = "0.3.0")]
public void set_mb_album_id (string mb_album_id);
[Version (since = "0.3.0")]
public void set_mb_artist_id (string mb_artist_id);
[Version (since = "0.3.0")]
public void set_mb_recording_id (string mb_recording_id);
[Version (since = "0.3.0")]
public void set_mb_track_id (string mb_track_id);
[Version (since = "0.1.4")]
public void set_mime (string mime);
[Version (since = "0.2.0")]
public void set_modification_date (GLib.DateTime modification_date);
[Version (since = "0.3.0")]
public void set_orientation (int orientation);
[Version (since = "0.3.0")]
public void set_original_title (string original_title);
[Version (since = "0.3.0")]
public void set_performer (string performer);
[Version (since = "0.1.4")]
public void set_play_count (int play_count);
[Version (since = "0.3.0")]
public void set_producer (string producer);
[Version (since = "0.2.0")]
public void set_publication_date (GLib.DateTime date);
[Version (since = "0.1.5")]
public void set_rating (float rating, float max);
[Version (since = "0.2.3")]
public void set_region (string region);
[Version (since = "0.2.3")]
public void set_region_data (string region, GLib.DateTime publication_date, string certificate);
[Version (since = "0.3.0")]
public void set_season (int season);
[Version (since = "0.3.0")]
public void set_show (string show);
[Version (since = "0.1.4")]
public void set_site (string site);
[Version (since = "0.2.10")]
public void set_size (int64 size);
[Version (since = "0.1.4")]
public void set_source (string source);
[Version (since = "0.1.6")]
public void set_studio (string studio);
[Version (since = "0.1.4")]
public void set_thumbnail (string thumbnail);
[Version (since = "0.1.9")]
public void set_thumbnail_binary (uint8 thumbnail, size_t size);
[Version (since = "0.1.4")]
public void set_title (string title);
[Version (since = "0.3.0")]
public void set_track_number (int track_number);
[Version (since = "0.1.4")]
public void set_url (string url);
[Version (since = "0.3.0")]
public void set_url_data (string url, string mime, int bitrate, float framerate, int width, int height);
[Version (since = "0.3.0")]
public void set_width (int width);
[Version (since = "0.1.6")]
public static Grl.Media unserialize (string serial);
[CCode (cname = "grl_media_video_new", has_construct_function = false)]
[Version (since = "0.1.4")]
public Media.video_new ();
[NoAccessorMethod]
public Grl.MediaType media_type { get; set construct; }
}
[CCode (cheader_filename = "grilo.h", type_id = "grl_operation_options_get_type ()")]
public class OperationOptions : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "0.2.0")]
public OperationOptions (Grl.Caps? caps);
[Version (since = "0.2.0")]
public Grl.OperationOptions copy ();
[Version (since = "0.2.0")]
public int get_count ();
[Version (since = "0.2.0")]
public unowned GLib.Value? get_key_filter (Grl.KeyID key);
[Version (since = "0.2.0")]
public GLib.List<weak Grl.KeyID> get_key_filter_list ();
[Version (since = "0.2.0")]
public void get_key_range_filter (Grl.KeyID key, out GLib.Value min_value, out GLib.Value max_value);
[Version (since = "0.2.0")]
public GLib.List<weak Grl.KeyID> get_key_range_filter_list ();
[Version (since = "0.2.12")]
public Grl.ResolutionFlags get_resolution_flags ();
[Version (since = "0.2.0")]
public uint get_skip ();
[Version (since = "0.2.0")]
public Grl.TypeFilter get_type_filter ();
[Version (since = "0.2.0")]
public bool key_is_set (string key);
[Version (since = "0.2.0")]
public bool obey_caps (Grl.Caps caps, out Grl.OperationOptions supported_options, out Grl.OperationOptions unsupported_options);
[Version (since = "0.2.0")]
public bool set_count (int count);
[Version (since = "0.2.0")]
public bool set_key_filter_dictionary (GLib.HashTable<Grl.KeyID,GLib.Value?> filters);
[Version (since = "0.2.0")]
public bool set_key_filter_value (Grl.KeyID key, GLib.Value value);
[Version (since = "0.2.0")]
public bool set_key_range_filter_value (Grl.KeyID key, GLib.Value? min_value, GLib.Value? max_value);
[Version (since = "0.2.12")]
public bool set_resolution_flags (Grl.ResolutionFlags flags);
[Version (since = "0.2.0")]
public bool set_skip (uint skip);
[Version (since = "0.2.0")]
public bool set_type_filter (Grl.TypeFilter filter);
}
[CCode (cheader_filename = "grilo.h", type_id = "grl_plugin_get_type ()")]
public class Plugin : GLib.Object {
[CCode (has_construct_function = false)]
protected Plugin ();
[Version (since = "0.2.0")]
public unowned string get_author ();
[Version (since = "0.2.0")]
public unowned string get_description ();
[Version (since = "0.2.0")]
public unowned string get_filename ();
[Version (since = "0.2.0")]
public unowned string get_id ();
[Version (since = "0.2.0")]
public unowned string get_license ();
[Version (since = "0.3.0")]
public unowned string get_module_name ();
[Version (since = "0.2.0")]
public unowned string get_name ();
[Version (since = "0.2.0")]
public unowned string get_site ();
[Version (since = "0.2.0")]
public GLib.List<weak Grl.Source> get_sources ();
[Version (since = "0.2.0")]
public unowned string get_version ();
public void register_keys ();
public void set_filename (string filename);
public void set_id (string id);
public void set_module (GLib.Module module);
public void set_module_name (string module_name);
public void unload ();
[NoAccessorMethod]
[Version (since = "0.2.0")]
public bool loaded { get; }
}
[CCode (cheader_filename = "grilo.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "grl_range_value_get_type ()")]
[Compact]
public class RangeValue {
public GLib.Value max;
public GLib.Value min;
[CCode (has_construct_function = false)]
public RangeValue (GLib.Value min, GLib.Value max);
public Grl.RangeValue dup ();
public void free ();
public static void hashtable_insert (GLib.HashTable<void*,void*> hash_table, void* key, GLib.Value min, GLib.Value max);
public static GLib.HashTable<void*,Grl.RangeValue> hashtable_new ();
}
[CCode (cheader_filename = "grilo.h", type_id = "grl_registry_get_type ()")]
public class Registry : GLib.Object {
[CCode (has_construct_function = false)]
protected Registry ();
[Version (since = "0.3.0")]
public bool activate_all_plugins ();
[Version (since = "0.3.0")]
public bool activate_plugin_by_id (string plugin_id) throws GLib.Error;
[Version (since = "0.2.0")]
public bool add_config (owned Grl.Config config) throws GLib.Error;
[Version (since = "0.2.0")]
public bool add_config_from_file (string config_file) throws GLib.Error;
[Version (since = "0.2.8")]
public bool add_config_from_resource (string resource_path) throws GLib.Error;
[Version (since = "0.2.0")]
public void add_directory (string path);
[Version (since = "0.2.0")]
public static unowned Grl.Registry get_default ();
[Version (since = "0.2.0")]
public GLib.List<weak Grl.KeyID> get_metadata_keys ();
[Version (since = "0.2.0")]
public GLib.List<weak Grl.Plugin> get_plugins (bool only_loaded);
[Version (since = "0.2.0")]
public GLib.List<weak Grl.Source> get_sources (bool ranked);
[Version (since = "0.2.0")]
public GLib.List<weak Grl.Source> get_sources_by_operations (Grl.SupportedOps ops, bool ranked);
[Version (since = "0.2.0")]
public bool load_all_plugins (bool activate) throws GLib.Error;
[Version (since = "0.2.0")]
public bool load_plugin (string library_filename) throws GLib.Error;
[Version (since = "0.2.0")]
public bool load_plugin_directory (string path) throws GLib.Error;
[Version (since = "0.2.0")]
public Grl.KeyID lookup_metadata_key (string key_name);
[Version (since = "0.2.0")]
public unowned string lookup_metadata_key_desc (Grl.KeyID key);
[Version (since = "0.2.0")]
public unowned string lookup_metadata_key_name (Grl.KeyID key);
[Version (since = "0.2.0")]
public unowned GLib.List<Grl.KeyID> lookup_metadata_key_relation (Grl.KeyID key);
[Version (since = "0.2.0")]
public GLib.Type lookup_metadata_key_type (Grl.KeyID key);
[Version (since = "0.2.0")]
public unowned Grl.Plugin lookup_plugin (string plugin_id);
[Version (since = "0.2.0")]
public unowned Grl.Source lookup_source (string source_id);
[Version (since = "0.2.0")]
public bool metadata_key_validate (Grl.KeyID key, GLib.Value value);
[Version (since = "0.3.0")]
public Grl.KeyID register_metadata_key (owned GLib.ParamSpec param_spec, Grl.KeyID bind_key) throws GLib.Error;
public Grl.KeyID register_metadata_key_system (GLib.ParamSpec param_spec, Grl.KeyID key, Grl.KeyID bind_key) throws GLib.Error;
[Version (since = "0.2.0")]
public bool register_source (Grl.Plugin plugin, owned Grl.Source source) throws GLib.Error;
public void restrict_plugins (string plugins);
public void shutdown ();
[Version (since = "0.2.0")]
public bool unload_plugin (string plugin_id) throws GLib.Error;
[Version (since = "0.2.0")]
public bool unregister_source (Grl.Source source) throws GLib.Error;
[Version (since = "0.2.10")]
public signal void metadata_key_added (string key);
[Version (since = "0.2.0")]
public signal void source_added (Grl.Source source);
[Version (since = "0.2.0")]
public signal void source_removed (Grl.Source source);
}
[CCode (cheader_filename = "grilo.h", type_id = "grl_related_keys_get_type ()")]
public class RelatedKeys : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "0.1.10")]
public RelatedKeys ();
[Version (since = "0.1.10")]
public Grl.RelatedKeys dup ();
[Version (since = "0.1.10")]
public unowned GLib.Value? @get (Grl.KeyID key);
[Version (since = "0.1.10")]
public uint8 get_binary (Grl.KeyID key, out size_t size);
[Version (since = "0.2.3")]
public bool get_boolean (Grl.KeyID key);
[Version (since = "0.2.0")]
public void* get_boxed (Grl.KeyID key);
[Version (since = "0.1.10")]
public float get_float (Grl.KeyID key);
[Version (since = "0.1.10")]
public int get_int (Grl.KeyID key);
[Version (since = "0.2.12")]
public int64 get_int64 (Grl.KeyID key);
[Version (since = "0.1.13")]
public GLib.List<weak Grl.KeyID> get_keys ();
[Version (since = "0.1.10")]
public unowned string get_string (Grl.KeyID key);
[Version (since = "0.1.10")]
public bool has_key (Grl.KeyID key);
[Version (since = "0.2.3")]
public void remove (Grl.KeyID key);
[Version (since = "0.1.10")]
public void @set (Grl.KeyID key, GLib.Value value);
[Version (since = "0.1.10")]
public void set_binary (Grl.KeyID key, uint8 buf, size_t size);
[Version (since = "0.2.3")]
public void set_boolean (Grl.KeyID key, bool booleanvalue);
[Version (since = "0.2.0")]
public void set_boxed (Grl.KeyID key, void* boxed);
[Version (since = "0.1.10")]
public void set_float (Grl.KeyID key, float floatvalue);
[Version (since = "0.1.10")]
public void set_int (Grl.KeyID key, int intvalue);
[Version (since = "0.2.12")]
public void set_int64 (Grl.KeyID key, int64 intvalue);
[Version (since = "0.1.10")]
public void set_string (Grl.KeyID key, string strvalue);
}
[CCode (cheader_filename = "grilo.h", type_id = "grl_source_get_type ()")]
public abstract class Source : GLib.Object {
[CCode (has_construct_function = false)]
protected Source ();
[NoWrapper]
public virtual void browse (Grl.SourceBrowseSpec bs);
[Version (since = "0.2.0")]
public GLib.List<Grl.Media> browse_sync (Grl.Media? container, GLib.List<Grl.KeyID> keys, Grl.OperationOptions options) throws GLib.Error;
[NoWrapper]
public virtual void cancel (uint operation_id);
[CCode (cname = "grl_source_browse")]
[Version (since = "0.2.0")]
public uint do_browse (Grl.Media? container, GLib.List<Grl.KeyID> keys, Grl.OperationOptions options, Grl.SourceResultCb callback);
[CCode (cname = "grl_source_query")]
[Version (since = "0.2.0")]
public uint do_query (string query, GLib.List<Grl.KeyID> keys, Grl.OperationOptions options, Grl.SourceResultCb callback);
[CCode (cname = "grl_source_remove")]
[Version (since = "0.2.0")]
public void do_remove (Grl.Media media, Grl.SourceRemoveCb callback);
[CCode (cname = "grl_source_resolve")]
[Version (since = "0.2.0")]
public uint do_resolve (owned Grl.Media? media, GLib.List<Grl.KeyID> keys, Grl.OperationOptions options, Grl.SourceResolveCb callback);
[CCode (cname = "grl_source_search")]
[Version (since = "0.2.0")]
public uint do_search (string text, GLib.List<Grl.KeyID> keys, Grl.OperationOptions options, Grl.SourceResultCb callback);
[CCode (cname = "grl_source_store")]
[Version (since = "0.3.0")]
public void do_store (Grl.Media? parent, Grl.Media media, Grl.WriteFlags flags, Grl.SourceStoreCb callback);
[CCode (cname = "grl_source_store_metadata")]
[Version (since = "0.2.0")]
public void do_store_metadata (Grl.Media media, GLib.List<Grl.KeyID>? keys, Grl.WriteFlags flags, Grl.SourceStoreCb callback);
[Version (since = "0.2.0")]
public uint get_auto_split_threshold ();
[Version (since = "0.2.0")]
public virtual unowned Grl.Caps get_caps (Grl.SupportedOps operation);
[Version (since = "0.2.0")]
public unowned string get_description ();
[Version (since = "0.2.8")]
public unowned GLib.Icon get_icon ();
[Version (since = "0.2.0")]
public unowned string get_id ();
[Version (since = "0.2.0")]
public uint get_media_from_uri (string uri, GLib.List<Grl.KeyID> keys, Grl.OperationOptions options, Grl.SourceResolveCb callback);
[Version (since = "0.2.0")]
public Grl.Media get_media_from_uri_sync (string uri, GLib.List<Grl.KeyID> keys, Grl.OperationOptions options) throws GLib.Error;
[Version (since = "0.2.0")]
public unowned string get_name ();
[Version (since = "0.2.0")]
public unowned Grl.Plugin get_plugin ();
[Version (since = "0.2.0")]
public int get_rank ();
[Version (since = "0.3.0")]
public Grl.SupportedMedia get_supported_media ();
[CCode (cname = "grl_source_supported_operations")]
[Version (since = "0.2.0")]
public uint get_supported_operations ();
[CCode (array_length = false, array_null_terminated = true)]
[Version (since = "0.2.10")]
public unowned string[] get_tags ();
[Version (since = "0.2.0")]
public virtual bool may_resolve (Grl.Media media, Grl.KeyID key_id, GLib.List<Grl.KeyID> missing_keys);
[NoWrapper]
public virtual void media_from_uri (Grl.SourceMediaFromUriSpec mfus);
[Version (since = "0.2.0")]
public void notify_change (Grl.Media? media, Grl.SourceChangeType change_type, bool location_unknown);
[Version (since = "0.2.0")]
public void notify_change_list (owned GLib.GenericArray<Grl.Media> changed_medias, Grl.SourceChangeType change_type, bool location_unknown);
[Version (since = "0.2.0")]
public virtual bool notify_change_start () throws GLib.Error;
[Version (since = "0.2.0")]
public virtual bool notify_change_stop () throws GLib.Error;
[NoWrapper]
public virtual void query (Grl.SourceQuerySpec qs);
[Version (since = "0.2.0")]
public GLib.List<Grl.Media> query_sync (string query, GLib.List<Grl.KeyID> keys, Grl.OperationOptions options) throws GLib.Error;
[NoWrapper]
public virtual void remove (Grl.SourceRemoveSpec rs);
[Version (since = "0.2.0")]
public void remove_sync (Grl.Media media) throws GLib.Error;
[NoWrapper]
public virtual void resolve (Grl.SourceResolveSpec ms);
[Version (since = "0.2.0")]
public Grl.Media resolve_sync (owned Grl.Media? media, GLib.List<Grl.KeyID> keys, Grl.OperationOptions options) throws GLib.Error;
[NoWrapper]
public virtual void search (Grl.SourceSearchSpec ss);
[Version (since = "0.2.0")]
public GLib.List<Grl.Media> search_sync (string text, GLib.List<Grl.KeyID> keys, Grl.OperationOptions options) throws GLib.Error;
[Version (since = "0.2.0")]
public void set_auto_split_threshold (uint threshold);
[Version (since = "0.2.0")]
public virtual unowned GLib.List<Grl.KeyID> slow_keys ();
[NoWrapper]
public virtual void store (Grl.SourceStoreSpec ss);
[NoWrapper]
public virtual void store_metadata (Grl.SourceStoreMetadataSpec sms);
[Version (since = "0.2.0")]
public GLib.List<weak Grl.KeyID> store_metadata_sync (Grl.Media media, GLib.List<Grl.KeyID>? keys, Grl.WriteFlags flags) throws GLib.Error;
[Version (since = "0.3.0")]
public void store_sync (Grl.Media? parent, Grl.Media media, Grl.WriteFlags flags) throws GLib.Error;
[Version (since = "0.2.0")]
public virtual unowned GLib.List<Grl.KeyID> supported_keys ();
[NoWrapper]
public virtual Grl.SupportedOps supported_operations ();
[Version (since = "0.2.0")]
public virtual bool test_media_from_uri (string uri);
[Version (since = "0.2.0")]
public virtual unowned GLib.List<Grl.KeyID> writable_keys ();
[Version (since = "0.2.0")]
public uint auto_split_threshold { get; set; }
[NoAccessorMethod]
[Version (since = "0.2.0")]
public Grl.Plugin plugin { owned get; set construct; }
[NoAccessorMethod]
[Version (since = "0.2.0")]
public int rank { get; set construct; }
[NoAccessorMethod]
[Version (since = "0.2.0")]
public string source_desc { owned get; set construct; }
[NoAccessorMethod]
[Version (since = "0.2.8")]
public GLib.Icon source_icon { owned get; set construct; }
[NoAccessorMethod]
[Version (since = "0.2.0")]
public string source_id { owned get; set construct; }
[NoAccessorMethod]
[Version (since = "0.2.0")]
public string source_name { owned get; set construct; }
[CCode (array_length = false, array_null_terminated = true)]
[NoAccessorMethod]
[Version (since = "0.2.10")]
public string[] source_tags { owned get; set construct; }
[NoAccessorMethod]
[Version (since = "0.2.3")]
public Grl.SupportedMedia supported_media { get; set construct; }
[Version (since = "0.2.0")]
public signal void content_changed (GLib.GenericArray<Grl.Media> changed_medias, Grl.SourceChangeType change_type, bool location_unknown);
}
[CCode (cheader_filename = "grilo.h")]
[SimpleType]
public struct KeyID : uint32 {
}
[CCode (cheader_filename = "grilo.h")]
public struct MetadataKey {
[CCode (cname = "GRL_METADATA_KEY_INVALID")]
public static Grl.KeyID INVALID;
[CCode (cname = "GRL_METADATA_KEY_ALBUM")]
public static Grl.KeyID ALBUM;
[CCode (cname = "GRL_METADATA_KEY_ARTIST")]
public static Grl.KeyID ARTIST;
[CCode (cname = "GRL_METADATA_KEY_AUTHOR")]
public static Grl.KeyID AUTHOR;
[CCode (cname = "GRL_METADATA_KEY_BITRATE")]
public static Grl.KeyID BITRATE;
[CCode (cname = "GRL_METADATA_KEY_CERTIFICATE")]
public static Grl.KeyID CERTIFICATE;
[CCode (cname = "GRL_METADATA_KEY_CHILDCOUNT")]
public static Grl.KeyID CHILDCOUNT;
[CCode (cname = "GRL_METADATA_KEY_PUBLICATION_DATE")]
public static Grl.KeyID PUBLICATION_DATE;
[CCode (cname = "GRL_METADATA_KEY_DESCRIPTION")]
public static Grl.KeyID DESCRIPTION;
[CCode (cname = "GRL_METADATA_KEY_DURATION")]
public static Grl.KeyID DURATION;
[CCode (cname = "GRL_METADATA_KEY_EXTERNAL_PLAYER")]
public static Grl.KeyID EXTERNAL_PLAYER;
[CCode (cname = "GRL_METADATA_KEY_EXTERNAL_URL")]
public static Grl.KeyID EXTERNAL_URL;
[CCode (cname = "GRL_METADATA_KEY_FRAMERATE")]
public static Grl.KeyID FRAMERATE;
[CCode (cname = "GRL_METADATA_KEY_GENRE")]
public static Grl.KeyID GENRE;
[CCode (cname = "GRL_METADATA_KEY_HEIGHT")]
public static Grl.KeyID HEIGHT;
[CCode (cname = "GRL_METADATA_KEY_ID")]
public static Grl.KeyID ID;
[CCode (cname = "GRL_METADATA_KEY_LAST_PLAYED")]
public static Grl.KeyID LAST_PLAYED;
[CCode (cname = "GRL_METADATA_KEY_LAST_POSITION")]
public static Grl.KeyID LAST_POSITION;
[CCode (cname = "GRL_METADATA_KEY_LICENSE")]
public static Grl.KeyID LICENSE;
[CCode (cname = "GRL_METADATA_KEY_LYRICS")]
public static Grl.KeyID LYRICS;
[CCode (cname = "GRL_METADATA_KEY_MIME")]
public static Grl.KeyID MIME;
[CCode (cname = "GRL_METADATA_KEY_PLAY_COUNT")]
public static Grl.KeyID PLAY_COUNT;
[CCode (cname = "GRL_METADATA_KEY_RATING")]
public static Grl.KeyID RATING;
[CCode (cname = "GRL_METADATA_KEY_REGION")]
public static Grl.KeyID REGION;
[CCode (cname = "GRL_METADATA_KEY_SITE")]
public static Grl.KeyID SITE;
[CCode (cname = "GRL_METADATA_KEY_SOURCE")]
public static Grl.KeyID SOURCE;
[CCode (cname = "GRL_METADATA_KEY_STUDIO")]
public static Grl.KeyID STUDIO;
[CCode (cname = "GRL_METADATA_KEY_THUMBNAIL")]
public static Grl.KeyID THUMBNAIL;
[CCode (cname = "GRL_METADATA_KEY_THUMBNAIL_BINARY")]
public static Grl.KeyID THUMBNAIL_BINARY;
[CCode (cname = "GRL_METADATA_KEY_TITLE")]
public static Grl.KeyID TITLE;
[CCode (cname = "GRL_METADATA_KEY_URL")]
public static Grl.KeyID URL;
[CCode (cname = "GRL_METADATA_KEY_WIDTH")]
public static Grl.KeyID WIDTH;
[CCode (cname = "GRL_METADATA_KEY_SEASON")]
public static Grl.KeyID SEASON;
[CCode (cname = "GRL_METADATA_KEY_EPISODE")]
public static Grl.KeyID EPISODE;
[CCode (cname = "GRL_METADATA_KEY_EPISODE_TITLE")]
public static Grl.KeyID EPISODE_TITLE;
[CCode (cname = "GRL_METADATA_KEY_SHOW")]
public static Grl.KeyID SHOW;
[CCode (cname = "GRL_METADATA_KEY_CREATION_DATE")]
public static Grl.KeyID CREATION_DATE;
[CCode (cname = "GRL_METADATA_KEY_CAMERA_MODEL")]
public static Grl.KeyID CAMERA_MODEL;
[CCode (cname = "GRL_METADATA_KEY_ORIENTATION")]
public static Grl.KeyID ORIENTATION;
[CCode (cname = "GRL_METADATA_KEY_FLASH_USED")]
public static Grl.KeyID FLASH_USED;
[CCode (cname = "GRL_METADATA_KEY_EXPOSURE_TIME")]
public static Grl.KeyID EXPOSURE_TIME;
[CCode (cname = "GRL_METADATA_KEY_ISO_SPEED")]
public static Grl.KeyID ISO_SPEED;
[CCode (cname = "GRL_METADATA_KEY_TRACK_NUMBER")]
public static Grl.KeyID TRACK_NUMBER;
[CCode (cname = "GRL_METADATA_KEY_MODIFICATION_DATE")]
public static Grl.KeyID MODIFICATION_DATE;
[CCode (cname = "GRL_METADATA_KEY_START_TIME")]
public static Grl.KeyID START_TIME;
[CCode (cname = "GRL_METADATA_KEY_KEYWORD")]
public static Grl.KeyID KEYWORD;
[CCode (cname = "GRL_METADATA_KEY_PERFORMER")]
public static Grl.KeyID PERFORMER;
[CCode (cname = "GRL_METADATA_KEY_PRODUCER")]
public static Grl.KeyID PRODUCER;
[CCode (cname = "GRL_METADATA_KEY_DIRECTOR")]
public static Grl.KeyID DIRECTOR;
[CCode (cname = "GRL_METADATA_KEY_ORIGINAL_TITLE")]
public static Grl.KeyID ORIGINAL_TITLE;
[CCode (cname = "GRL_METADATA_KEY_MB_ALBUM_ID")]
public static Grl.KeyID MB_ALBUM_ID;
[CCode (cname = "GRL_METADATA_KEY_MB_TRACK_ID")]
public static Grl.KeyID MB_TRACK_ID;
[CCode (cname = "GRL_METADATA_KEY_MB_ARTIST_ID")]
public static Grl.KeyID MB_ARTIST_ID;
[CCode (cname = "GRL_METADATA_KEY_MB_RECORDING_ID")]
public static Grl.KeyID MB_RECORDING_ID;
[CCode (cname = "GRL_METADATA_KEY_AUDIO_TRACK")]
public static Grl.KeyID AUDIO_TRACK;
[CCode (cname = "GRL_METADATA_KEY_CHILDCOUNT_UNKNOWN")]
public static uint CHILDCOUNT_UNKNOWN;
[CCode (cname = "GRL_SOURCE_REMAINING_UNKNOWN")]
public static uint REMAINING_UNKNOWN;
public static GLib.List list_new (Grl.KeyID p, ...);
}
[CCode (cheader_filename = "grilo.h", has_type_id = false)]
public struct SourceBrowseSpec {
public weak Grl.Source source;
public uint operation_id;
public weak Grl.Media container;
public weak GLib.List<void*> keys;
public weak Grl.OperationOptions options;
[CCode (delegate_target_cname = "user_data")]
public weak Grl.SourceResultCb callback;
public void* user_data;
}
[CCode (cheader_filename = "grilo.h", has_type_id = false)]
public struct SourceMediaFromUriSpec {
public weak Grl.Source source;
public uint operation_id;
public weak string uri;
public weak GLib.List<void*> keys;
public weak Grl.OperationOptions options;
[CCode (delegate_target_cname = "user_data")]
public weak Grl.SourceResolveCb callback;
public void* user_data;
}
[CCode (cheader_filename = "grilo.h", has_type_id = false)]
public struct SourceQuerySpec {
public weak Grl.Source source;
public uint operation_id;
public weak string query;
public weak GLib.List<void*> keys;
public weak Grl.OperationOptions options;
[CCode (delegate_target_cname = "user_data")]
public weak Grl.SourceResultCb callback;
public void* user_data;
}
[CCode (cheader_filename = "grilo.h", has_type_id = false)]
public struct SourceRemoveSpec {
public weak Grl.Source source;
public weak string media_id;
public weak Grl.Media media;
[CCode (delegate_target_cname = "user_data")]
public weak Grl.SourceRemoveCb callback;
public void* user_data;
}
[CCode (cheader_filename = "grilo.h", has_type_id = false)]
public struct SourceResolveSpec {
public weak Grl.Source source;
public uint operation_id;
public weak Grl.Media media;
public weak GLib.List<void*> keys;
public weak Grl.OperationOptions options;
[CCode (delegate_target_cname = "user_data")]
public weak Grl.SourceResolveCb callback;
public void* user_data;
}
[CCode (cheader_filename = "grilo.h", has_type_id = false)]
public struct SourceSearchSpec {
public weak Grl.Source source;
public uint operation_id;
public weak string text;
public weak GLib.List<void*> keys;
public weak Grl.OperationOptions options;
[CCode (delegate_target_cname = "user_data")]
public weak Grl.SourceResultCb callback;
public void* user_data;
}
[CCode (cheader_filename = "grilo.h", has_type_id = false)]
public struct SourceStoreMetadataSpec {
public weak Grl.Source source;
public weak Grl.Media media;
public weak GLib.List<void*> keys;
public Grl.WriteFlags flags;
[CCode (delegate_target_cname = "user_data")]
public weak Grl.SourceStoreCb callback;
public void* user_data;
public weak GLib.List<void*> failed_keys;
}
[CCode (cheader_filename = "grilo.h", has_type_id = false)]
public struct SourceStoreSpec {
public weak Grl.Source source;
public weak Grl.Media parent;
public weak Grl.Media media;
[CCode (delegate_target_cname = "user_data")]
public weak Grl.SourceStoreCb callback;
public string user_data;
}
[CCode (cheader_filename = "grilo.h", cprefix = "GRL_CORE_ERROR_", has_type_id = false)]
public enum CoreError {
BROWSE_FAILED,
SEARCH_FAILED,
SEARCH_NULL_UNSUPPORTED,
QUERY_FAILED,
RESOLVE_FAILED,
MEDIA_NOT_FOUND,
STORE_FAILED,
STORE_METADATA_FAILED,
REMOVE_FAILED,
MEDIA_FROM_URI_FAILED,
CONFIG_LOAD_FAILED,
CONFIG_FAILED,
UNREGISTER_SOURCE_FAILED,
LOAD_PLUGIN_FAILED,
UNLOAD_PLUGIN_FAILED,
REGISTER_METADATA_KEY_FAILED,
NOTIFY_CHANGED_FAILED,
OPERATION_CANCELLED,
AUTHENTICATION_TOKEN
}
[CCode (cheader_filename = "grilo.h", cprefix = "GRL_LOG_LEVEL_", has_type_id = false)]
public enum LogLevel {
NONE,
ERROR,
WARNING,
MESSAGE,
INFO,
DEBUG,
LAST
}
[CCode (cheader_filename = "grilo.h", cprefix = "GRL_MEDIA_SERIALIZE_", type_id = "grl_media_serialize_type_get_type ()")]
[Version (since = "0.2.3")]
public enum MediaSerializeType {
BASIC,
PARTIAL,
FULL
}
[CCode (cheader_filename = "grilo.h", cprefix = "GRL_MEDIA_TYPE_", type_id = "grl_media_type_get_type ()")]
public enum MediaType {
UNKNOWN,
AUDIO,
VIDEO,
IMAGE,
CONTAINER
}
[CCode (cheader_filename = "grilo.h", cprefix = "GRL_RANK_", has_type_id = false)]
public enum Rank {
LOWEST,
LOW,
DEFAULT,
HIGH,
HIGHEST
}
[CCode (cheader_filename = "grilo.h", cprefix = "GRL_RESOLVE_", type_id = "grl_resolution_flags_get_type ()")]
[Flags]
public enum ResolutionFlags {
NORMAL,
FULL,
IDLE_RELAY,
FAST_ONLY
}
[CCode (cheader_filename = "grilo.h", cprefix = "GRL_CONTENT_", type_id = "grl_source_change_type_get_type ()")]
public enum SourceChangeType {
CHANGED,
ADDED,
REMOVED
}
[CCode (cheader_filename = "grilo.h", cprefix = "GRL_SUPPORTED_MEDIA_", type_id = "grl_supported_media_get_type ()")]
[Flags]
public enum SupportedMedia {
NONE,
AUDIO,
VIDEO,
IMAGE,
ALL
}
[CCode (cheader_filename = "grilo.h", cprefix = "GRL_OP_", type_id = "grl_supported_ops_get_type ()")]
[Flags]
public enum SupportedOps {
NONE,
RESOLVE,
BROWSE,
SEARCH,
QUERY,
STORE,
STORE_PARENT,
STORE_METADATA,
REMOVE,
MEDIA_FROM_URI,
NOTIFY_CHANGE
}
[CCode (cheader_filename = "grilo.h", cprefix = "GRL_TYPE_FILTER_", type_id = "grl_type_filter_get_type ()")]
[Flags]
public enum TypeFilter {
NONE,
AUDIO,
VIDEO,
IMAGE,
ALL
}
[CCode (cheader_filename = "grilo.h", cprefix = "GRL_WRITE_", type_id = "grl_write_flags_get_type ()")]
[Flags]
public enum WriteFlags {
NORMAL,
FULL
}
[CCode (cheader_filename = "grilo.h", has_target = false)]
public delegate void OperationCancelCb (void* data);
[CCode (cheader_filename = "grilo.h", has_target = false)]
public delegate void PluginDeinitFunc (Grl.Plugin plugin);
[CCode (cheader_filename = "grilo.h", has_target = false)]
public delegate void PluginRegisterKeysFunc (Grl.Registry registry, Grl.Plugin plugin);
[CCode (cheader_filename = "grilo.h", instance_pos = 2.9)]
public delegate void SourceRemoveCb (Grl.Source source, owned Grl.Media media, GLib.Error? error);
[CCode (cheader_filename = "grilo.h", instance_pos = 3.9)]
public delegate void SourceResolveCb (Grl.Source source, uint operation_id, owned Grl.Media media, GLib.Error? error);
[CCode (cheader_filename = "grilo.h", instance_pos = 4.9)]
public delegate void SourceResultCb (Grl.Source source, uint operation_id, owned Grl.Media? media, uint remaining, GLib.Error? error);
[CCode (cheader_filename = "grilo.h", instance_pos = 3.9)]
public delegate void SourceStoreCb (Grl.Source source, owned Grl.Media media, GLib.List<Grl.KeyID> failed_keys, GLib.Error? error);
[CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_APIKEY")]
public const string CONFIG_KEY_APIKEY;
[CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_APIKEY_BLOB")]
public const string CONFIG_KEY_APIKEY_BLOB;
[CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_APISECRET")]
public const string CONFIG_KEY_APISECRET;
[CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_APITOKEN")]
public const string CONFIG_KEY_APITOKEN;
[CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_APITOKEN_SECRET")]
public const string CONFIG_KEY_APITOKEN_SECRET;
[CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_PASSWORD")]
public const string CONFIG_KEY_PASSWORD;
[CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_PLUGIN")]
public const string CONFIG_KEY_PLUGIN;
[CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_SOURCE")]
public const string CONFIG_KEY_SOURCE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_USERNAME")]
public const string CONFIG_KEY_USERNAME;
[CCode (cheader_filename = "grilo.h", cname = "GRL_COUNT_INFINITY")]
public const int COUNT_INFINITY;
[CCode (cheader_filename = "grilo.h", cname = "GRL_KEYID_FORMAT")]
public const string KEYID_FORMAT;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ALBUM")]
public const int METADATA_KEY_ALBUM;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ALBUM_ARTIST")]
public const int METADATA_KEY_ALBUM_ARTIST;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ALBUM_DISC_NUMBER")]
public const int METADATA_KEY_ALBUM_DISC_NUMBER;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ARTIST")]
public const int METADATA_KEY_ARTIST;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_AUDIO_TRACK")]
public const int METADATA_KEY_AUDIO_TRACK;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_AUTHOR")]
public const int METADATA_KEY_AUTHOR;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_BITRATE")]
public const int METADATA_KEY_BITRATE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_CAMERA_MODEL")]
public const int METADATA_KEY_CAMERA_MODEL;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_CERTIFICATE")]
public const int METADATA_KEY_CERTIFICATE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_CHILDCOUNT")]
public const int METADATA_KEY_CHILDCOUNT;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_CHILDCOUNT_UNKNOWN")]
public const int METADATA_KEY_CHILDCOUNT_UNKNOWN;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_COMPOSER")]
public const int METADATA_KEY_COMPOSER;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_CREATION_DATE")]
public const int METADATA_KEY_CREATION_DATE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_DESCRIPTION")]
public const int METADATA_KEY_DESCRIPTION;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_DIRECTOR")]
public const int METADATA_KEY_DIRECTOR;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_DURATION")]
public const int METADATA_KEY_DURATION;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_EPISODE")]
public const int METADATA_KEY_EPISODE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_EPISODE_TITLE")]
public const int METADATA_KEY_EPISODE_TITLE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_EXPOSURE_TIME")]
public const int METADATA_KEY_EXPOSURE_TIME;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_EXTERNAL_PLAYER")]
public const int METADATA_KEY_EXTERNAL_PLAYER;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_EXTERNAL_URL")]
public const int METADATA_KEY_EXTERNAL_URL;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_FAVOURITE")]
public const int METADATA_KEY_FAVOURITE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_FLASH_USED")]
public const int METADATA_KEY_FLASH_USED;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_FRAMERATE")]
public const int METADATA_KEY_FRAMERATE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_GENRE")]
public const int METADATA_KEY_GENRE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_HEIGHT")]
public const int METADATA_KEY_HEIGHT;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ID")]
public const int METADATA_KEY_ID;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_INVALID")]
public const int METADATA_KEY_INVALID;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ISO_SPEED")]
public const int METADATA_KEY_ISO_SPEED;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_KEYWORD")]
public const int METADATA_KEY_KEYWORD;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_LAST_PLAYED")]
public const int METADATA_KEY_LAST_PLAYED;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_LAST_POSITION")]
public const int METADATA_KEY_LAST_POSITION;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_LICENSE")]
public const int METADATA_KEY_LICENSE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_LYRICS")]
public const int METADATA_KEY_LYRICS;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_MB_ALBUM_ID")]
public const int METADATA_KEY_MB_ALBUM_ID;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_MB_ARTIST_ID")]
public const int METADATA_KEY_MB_ARTIST_ID;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_MB_RECORDING_ID")]
public const int METADATA_KEY_MB_RECORDING_ID;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_MB_TRACK_ID")]
public const int METADATA_KEY_MB_TRACK_ID;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_MIME")]
public const int METADATA_KEY_MIME;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_MODIFICATION_DATE")]
public const int METADATA_KEY_MODIFICATION_DATE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ORIENTATION")]
public const int METADATA_KEY_ORIENTATION;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ORIGINAL_TITLE")]
public const int METADATA_KEY_ORIGINAL_TITLE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_PERFORMER")]
public const int METADATA_KEY_PERFORMER;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_PLAY_COUNT")]
public const int METADATA_KEY_PLAY_COUNT;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_PRODUCER")]
public const int METADATA_KEY_PRODUCER;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_PUBLICATION_DATE")]
public const int METADATA_KEY_PUBLICATION_DATE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_RATING")]
public const int METADATA_KEY_RATING;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_REGION")]
public const int METADATA_KEY_REGION;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_SEASON")]
public const int METADATA_KEY_SEASON;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_SHOW")]
public const int METADATA_KEY_SHOW;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_SITE")]
public const int METADATA_KEY_SITE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_SIZE")]
public const int METADATA_KEY_SIZE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_SOURCE")]
public const int METADATA_KEY_SOURCE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_START_TIME")]
public const int METADATA_KEY_START_TIME;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_STUDIO")]
public const int METADATA_KEY_STUDIO;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_THUMBNAIL")]
public const int METADATA_KEY_THUMBNAIL;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_THUMBNAIL_BINARY")]
public const int METADATA_KEY_THUMBNAIL_BINARY;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_TITLE")]
public const int METADATA_KEY_TITLE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_TITLE_FROM_FILENAME")]
public const int METADATA_KEY_TITLE_FROM_FILENAME;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_TRACK_NUMBER")]
public const int METADATA_KEY_TRACK_NUMBER;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_URL")]
public const int METADATA_KEY_URL;
[CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_WIDTH")]
public const int METADATA_KEY_WIDTH;
[CCode (cheader_filename = "grilo.h", cname = "GRL_OPERATION_OPTION_COUNT")]
public const string OPERATION_OPTION_COUNT;
[CCode (cheader_filename = "grilo.h", cname = "GRL_OPERATION_OPTION_KEY_EQUAL_FILTER")]
public const string OPERATION_OPTION_KEY_EQUAL_FILTER;
[CCode (cheader_filename = "grilo.h", cname = "GRL_OPERATION_OPTION_KEY_RANGE_FILTER")]
public const string OPERATION_OPTION_KEY_RANGE_FILTER;
[CCode (cheader_filename = "grilo.h", cname = "GRL_OPERATION_OPTION_RESOLUTION_FLAGS")]
public const string OPERATION_OPTION_RESOLUTION_FLAGS;
[CCode (cheader_filename = "grilo.h", cname = "GRL_OPERATION_OPTION_SKIP")]
public const string OPERATION_OPTION_SKIP;
[CCode (cheader_filename = "grilo.h", cname = "GRL_OPERATION_OPTION_TYPE_FILTER")]
public const string OPERATION_OPTION_TYPE_FILTER;
[CCode (cheader_filename = "grilo.h", cname = "GRL_PADDING")]
public const int PADDING;
[CCode (cheader_filename = "grilo.h", cname = "GRL_PADDING_SMALL")]
public const int PADDING_SMALL;
[CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_AUTHOR")]
public const string PLUGIN_AUTHOR;
[CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_DESCRIPTION")]
public const string PLUGIN_DESCRIPTION;
[CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_LICENSE")]
public const string PLUGIN_LICENSE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_LIST_VAR")]
public const string PLUGIN_LIST_VAR;
[CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_NAME")]
public const string PLUGIN_NAME;
[CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_PATH_VAR")]
public const string PLUGIN_PATH_VAR;
[CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_RANKS_VAR")]
public const string PLUGIN_RANKS_VAR;
[CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_SITE")]
public const string PLUGIN_SITE;
[CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_VERSION")]
public const string PLUGIN_VERSION;
[CCode (cheader_filename = "grilo.h", cname = "GRL_SOURCE_REMAINING_UNKNOWN")]
public const int SOURCE_REMAINING_UNKNOWN;
[CCode (cheader_filename = "grilo.h")]
[Version (since = "0.2.0")]
public static GLib.DateTime date_time_from_iso8601 (string date);
[CCode (cheader_filename = "grilo.h")]
[Version (since = "0.2.8")]
public static void deinit ();
[CCode (cheader_filename = "grilo.h")]
public static GLib.Value? g_value_dup (GLib.Value value);
[CCode (cheader_filename = "grilo.h")]
public static void g_value_free (GLib.Value value);
[CCode (cheader_filename = "grilo.h")]
public static GLib.HashTable<string,GLib.Value?> g_value_hashtable_new ();
[CCode (cheader_filename = "grilo.h")]
public static GLib.HashTable<void*,GLib.Value?> g_value_hashtable_new_direct ();
[CCode (cheader_filename = "grilo.h")]
public static GLib.Value? g_value_new (GLib.Type g_type);
[CCode (cheader_filename = "grilo.h")]
[Version (since = "0.1.6")]
public static void init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
[CCode (cheader_filename = "grilo.h")]
[Version (since = "0.1.6")]
public static GLib.OptionGroup init_get_option_group ();
[CCode (cheader_filename = "grilo.h")]
[Version (since = "0.1.7")]
public static void log_configure (string config);
[CCode (cheader_filename = "grilo.h")]
public static void marshal_VOID__BOXED_ENUM_BOOLEAN (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
[CCode (cheader_filename = "grilo.h")]
[Version (since = "0.1.6")]
public static unowned string metadata_key_get_desc (Grl.KeyID key);
[CCode (cheader_filename = "grilo.h")]
[Version (since = "0.1.6")]
public static unowned string metadata_key_get_name (Grl.KeyID key);
[CCode (cheader_filename = "grilo.h")]
[Version (since = "0.2.0")]
public static GLib.Type metadata_key_get_type (Grl.KeyID key);
[CCode (cheader_filename = "grilo.h")]
public static void metadata_key_setup_system_keys (Grl.Registry registry);
[CCode (cheader_filename = "grilo.h")]
[Version (since = "0.2.0")]
public static void multiple_get_media_from_uri (string uri, GLib.List<Grl.KeyID> keys, Grl.OperationOptions options, Grl.SourceResolveCb callback);
[CCode (cheader_filename = "grilo.h")]
[Version (since = "0.2.0")]
public static uint multiple_search (GLib.List<Grl.Source>? sources, string text, GLib.List<Grl.KeyID> keys, Grl.OperationOptions options, Grl.SourceResultCb callback);
[CCode (cheader_filename = "grilo.h")]
[Version (since = "0.2.0")]
public static GLib.List<Grl.Media> multiple_search_sync (GLib.List<Grl.Source>? sources, string text, GLib.List<Grl.KeyID> keys, Grl.OperationOptions options) throws GLib.Error;
[CCode (cheader_filename = "grilo.h")]
public static void operation_cancel (uint operation_id);
[CCode (cheader_filename = "grilo.h")]
public static uint operation_generate_id ();
[CCode (cheader_filename = "grilo.h")]
public static void* operation_get_data (uint operation_id);
[CCode (cheader_filename = "grilo.h")]
public static void operation_init ();
[CCode (cheader_filename = "grilo.h")]
public static void operation_remove (uint operation_id);
[CCode (cheader_filename = "grilo.h")]
public static void operation_set_data (uint operation_id, void* user_data);
[CCode (cheader_filename = "grilo.h")]
[Version (since = "0.2.7")]
public static void operation_set_data_full (uint operation_id, void* user_data, GLib.DestroyNotify? destroy_func);
[CCode (cheader_filename = "grilo.h")]
public static void operation_set_private_data (uint operation_id, void* private_data, [CCode (destroy_notify_pos = 3.1)] owned Grl.OperationCancelCb cancel_cb);
[CCode (cheader_filename = "grilo.h")]
[Version (since = "0.1.6")]
public static void paging_translate (uint skip, uint count, uint max_page_size, uint page_size, uint page_number, uint internal_offset);
}
|