This file is indexed.

/usr/share/gir-1.0/Cheese-3.0.gir is in libcheese-dev 3.28.0-1ubuntu1.

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
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="Clutter" version="1.0"/>
  <include name="GdkPixbuf" version="2.0"/>
  <include name="Gst" version="1.0"/>
  <package name="cheese"/>
  <namespace name="Cheese"
             version="3.0"
             shared-library="libcheese.so.8"
             c:identifier-prefixes="Cheese"
             c:symbol-prefixes="cheese">
    <class name="Camera"
           c:symbol-prefix="camera"
           c:type="CheeseCamera"
           parent="GObject.Object"
           glib:type-name="CheeseCamera"
           glib:get-type="cheese_camera_get_type"
           glib:type-struct="CameraClass">
      <doc xml:space="preserve">Use the accessor functions below.</doc>
      <constructor name="new" c:identifier="cheese_camera_new">
        <doc xml:space="preserve">Create a new #CheeseCamera object.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #CheeseCamera</doc>
          <type name="Camera" c:type="CheeseCamera*"/>
        </return-value>
        <parameters>
          <parameter name="video_texture" transfer-ownership="none">
            <doc xml:space="preserve">an actor in which to render the video</doc>
            <type name="Clutter.Actor" c:type="ClutterActor*"/>
          </parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the name of the device</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="x_resolution" transfer-ownership="none">
            <doc xml:space="preserve">the resolution width</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y_resolution" transfer-ownership="none">
            <doc xml:space="preserve">the resolution height</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="photo_saved">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="photo_taken">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
          <parameter name="pixbuf" transfer-ownership="none">
            <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="state_flags_changed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
          <parameter name="new_state" transfer-ownership="none">
            <type name="Gst.State" c:type="GstState"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="video_saved">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="connect_effect_texture"
              c:identifier="cheese_camera_connect_effect_texture">
        <doc xml:space="preserve">Connect the supplied @texture to the @camera, using @effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
          <parameter name="effect" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseEffect</doc>
            <type name="Effect" c:type="CheeseEffect*"/>
          </parameter>
          <parameter name="texture" transfer-ownership="none">
            <doc xml:space="preserve">a #ClutterActor</doc>
            <type name="Clutter.Actor" c:type="ClutterActor*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_balance_property_range"
              c:identifier="cheese_camera_get_balance_property_range">
        <doc xml:space="preserve">Get the minimum, maximum and default values for the requested @property of
the @camera.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the operation was successful, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve">name of the balance property</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="min"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">minimum value</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="max"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">maximum value</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="def"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">default value</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_camera_devices"
              c:identifier="cheese_camera_get_camera_devices">
        <doc xml:space="preserve">Get the list of #CheeseCameraDevice objects, representing active video
capture devices on the system.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">an array
of #CheeseCameraDevice</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="CameraDevice"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_current_video_format"
              c:identifier="cheese_camera_get_current_video_format">
        <doc xml:space="preserve">Get the #CheeseVideoFormat that is currently set on the @camera.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #CheeseVideoFormat set on the #CheeseCamera</doc>
          <type name="VideoFormat" c:type="const CheeseVideoFormat*"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_recorded_time"
              c:identifier="cheese_camera_get_recorded_time">
        <doc xml:space="preserve">Get a string representation of the playing time
of the current video recording</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A string with the time representation.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">A #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_selected_device"
              c:identifier="cheese_camera_get_selected_device">
        <doc xml:space="preserve">Get the currently-selected #CheeseCameraDevice of the @camera.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #CheeseCameraDevice, or %NULL if there is no
selected device</doc>
          <type name="CameraDevice" c:type="CheeseCameraDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_video_formats"
              c:identifier="cheese_camera_get_video_formats">
        <doc xml:space="preserve">Gets the list of #CheeseVideoFormat supported by the selected
#CheeseCameraDevice on the @camera.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">a #GList of
#CheeseVideoFormat, or %NULL if there was no device selected</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="VideoFormat"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="play" c:identifier="cheese_camera_play">
        <doc xml:space="preserve">Set the state of the GStreamer pipeline associated with the #CheeseCamera to
playing.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_balance_property"
              c:identifier="cheese_camera_set_balance_property">
        <doc xml:space="preserve">Set the requested @property on the @camera to @value.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">A #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve">name of the balance property</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">value to be set</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_device" c:identifier="cheese_camera_set_device">
        <doc xml:space="preserve">Set the active video capture device of the @camera.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">the device object</doc>
            <type name="CameraDevice" c:type="CheeseCameraDevice*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_effect" c:identifier="cheese_camera_set_effect">
        <doc xml:space="preserve">Set the @effect on the @camera.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
          <parameter name="effect" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseEffect</doc>
            <type name="Effect" c:type="CheeseEffect*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_video_format"
              c:identifier="cheese_camera_set_video_format">
        <doc xml:space="preserve">Sets a #CheeseVideoFormat on a #CheeseCamera, restarting the video stream if
necessary.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseVideoFormat</doc>
            <type name="VideoFormat" c:type="CheeseVideoFormat*"/>
          </parameter>
        </parameters>
      </method>
      <method name="setup" c:identifier="cheese_camera_setup" throws="1">
        <doc xml:space="preserve">Setup a video capture device.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
          <parameter name="device"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the video capture device, or %NULL</doc>
            <type name="CameraDevice" c:type="CheeseCameraDevice*"/>
          </parameter>
        </parameters>
      </method>
      <method name="start_video_recording"
              c:identifier="cheese_camera_start_video_recording">
        <doc xml:space="preserve">Start a video recording with the @camera and save it to @filename.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve">the name of the video file to where the
recording will be saved</doc>
            <type name="filename" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="stop" c:identifier="cheese_camera_stop">
        <doc xml:space="preserve">Set the state of the GStreamer pipeline associated with the #CheeseCamera to
NULL.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="stop_video_recording"
              c:identifier="cheese_camera_stop_video_recording">
        <doc xml:space="preserve">Stop recording video on the @camera.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="switch_camera_device"
              c:identifier="cheese_camera_switch_camera_device">
        <doc xml:space="preserve">Toggle the playing/recording state of the @camera.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="take_photo" c:identifier="cheese_camera_take_photo">
        <doc xml:space="preserve">Save a photo taken with the @camera to a new file at @filename.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE on success, %FALSE if an error occurred</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve">name of the file to save a photo to</doc>
            <type name="filename" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="take_photo_pixbuf"
              c:identifier="cheese_camera_take_photo_pixbuf">
        <doc xml:space="preserve">Take a photo with the @camera and emit it in the ::capture-start signal as a
#GdkPixbuf.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the photo was successfully captured, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="toggle_effects_pipeline"
              c:identifier="cheese_camera_toggle_effects_pipeline">
        <doc xml:space="preserve">Control whether the effects pipeline is enabled for @camera.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="camera" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCamera</doc>
            <type name="Camera" c:type="CheeseCamera*"/>
          </instance-parameter>
          <parameter name="active" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if effects pipeline is active, %FALSE otherwise</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <property name="device" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The device object to capture from.</doc>
        <type name="CameraDevice"/>
      </property>
      <property name="format" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The format of the video capture device.</doc>
        <type name="VideoFormat"/>
      </property>
      <property name="num-camera-devices" transfer-ownership="none">
        <doc xml:space="preserve">The currently number of camera devices available for being used.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="video-texture" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The video texture for the #CheeseCamera to render into.</doc>
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <field name="parent" readable="0" private="1">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="unused" readable="0" private="1">
        <type name="gpointer" c:type="void*"/>
      </field>
      <glib:signal name="photo-saved" when="last" action="1">
        <doc xml:space="preserve">Emitted when a photo was saved to disk.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="photo-taken" when="last" action="1">
        <doc xml:space="preserve">Emitted when a photo was taken.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="pixbuf" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkPixbuf of the photo which was taken</doc>
            <type name="GdkPixbuf.Pixbuf"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="state-flags-changed" when="last" action="1">
        <doc xml:space="preserve">Emitted when the state of the @camera #GstElement changed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve">the #GstState which @camera changed to</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="video-saved" when="last" action="1">
        <doc xml:space="preserve">Emitted when a video was saved to disk.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </class>
    <record name="CameraClass"
            c:type="CheeseCameraClass"
            glib:is-gtype-struct-for="Camera">
      <doc xml:space="preserve">Class for #CheeseCamera.</doc>
      <field name="parent_class" readable="0" private="1">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="photo_saved">
        <callback name="photo_saved">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="camera" transfer-ownership="none">
              <type name="Camera" c:type="CheeseCamera*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="photo_taken">
        <callback name="photo_taken">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="camera" transfer-ownership="none">
              <type name="Camera" c:type="CheeseCamera*"/>
            </parameter>
            <parameter name="pixbuf" transfer-ownership="none">
              <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="video_saved">
        <callback name="video_saved">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="camera" transfer-ownership="none">
              <type name="Camera" c:type="CheeseCamera*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="state_flags_changed">
        <callback name="state_flags_changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="camera" transfer-ownership="none">
              <type name="Camera" c:type="CheeseCamera*"/>
            </parameter>
            <parameter name="new_state" transfer-ownership="none">
              <type name="Gst.State" c:type="GstState"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <class name="CameraDevice"
           c:symbol-prefix="camera_device"
           c:type="CheeseCameraDevice"
           parent="GObject.Object"
           glib:type-name="CheeseCameraDevice"
           glib:get-type="cheese_camera_device_get_type"
           glib:type-struct="CameraDeviceClass">
      <doc xml:space="preserve">Use the accessor functions below.</doc>
      <implements name="Gio.Initable"/>
      <constructor name="new"
                   c:identifier="cheese_camera_device_new"
                   throws="1">
        <doc xml:space="preserve">Tries to create a new #CheeseCameraDevice with the supplied device. If
construction fails, %NULL is returned, and @error is set.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #CheeseCameraDevice, or %NULL</doc>
          <type name="CameraDevice" c:type="CheeseCameraDevice*"/>
        </return-value>
        <parameters>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">The GStreamer the device, as supplied by GstDeviceMonitor</doc>
            <type name="Gst.Device" c:type="GstDevice*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_best_format"
              c:identifier="cheese_camera_device_get_best_format">
        <doc xml:space="preserve">Get the #CheeseVideoFormat with the highest resolution with a width greater
than 640 pixels and a framerate of greater than 15 FPS for this @device. If
no such format is found, get the highest available resolution instead.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the highest-resolution supported
#CheeseVideoFormat</doc>
          <type name="VideoFormat" c:type="CheeseVideoFormat*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCameraDevice</doc>
            <type name="CameraDevice" c:type="CheeseCameraDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_caps_for_format"
              c:identifier="cheese_camera_device_get_caps_for_format">
        <doc xml:space="preserve">Get the #GstCaps for the given @format on the @device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the #GstCaps for the given @format</doc>
          <type name="Gst.Caps" c:type="GstCaps*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCameraDevice</doc>
            <type name="CameraDevice" c:type="CheeseCameraDevice*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseVideoFormat</doc>
            <type name="VideoFormat" c:type="CheeseVideoFormat*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_format_list"
              c:identifier="cheese_camera_device_get_format_list">
        <doc xml:space="preserve">Get the sorted list of #CheeseVideoFormat that the @device supports.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">list of
#CheeseVideoFormat</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="VideoFormat"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCameraDevice</doc>
            <type name="CameraDevice" c:type="CheeseCameraDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="cheese_camera_device_get_name">
        <doc xml:space="preserve">Get a human-readable name for the device, as reported by udev, which is
suitable for display to a user.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the human-readable name of the video capture device</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCameraDevice</doc>
            <type name="CameraDevice" c:type="CheeseCameraDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_src" c:identifier="cheese_camera_device_get_src">
        <doc xml:space="preserve">Get the source GStreamer element for the @device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the source GStreamer element</doc>
          <type name="Gst.Element" c:type="GstElement*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCameraDevice</doc>
            <type name="CameraDevice" c:type="CheeseCameraDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="device"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">GStreamer device object of the video capture device.</doc>
        <type name="Gst.Device"/>
      </property>
      <property name="name"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Human-readable name of the video capture device, for display to the user.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent" readable="0" private="1">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="unused" readable="0" private="1">
        <type name="gpointer" c:type="void*"/>
      </field>
    </class>
    <record name="CameraDeviceClass"
            c:type="CheeseCameraDeviceClass"
            glib:is-gtype-struct-for="CameraDevice">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <class name="CameraDeviceMonitor"
           c:symbol-prefix="camera_device_monitor"
           c:type="CheeseCameraDeviceMonitor"
           parent="GObject.Object"
           glib:type-name="CheeseCameraDeviceMonitor"
           glib:get-type="cheese_camera_device_monitor_get_type"
           glib:type-struct="CameraDeviceMonitorClass">
      <doc xml:space="preserve">Use the accessor functions below.</doc>
      <implements name="Gio.AsyncInitable"/>
      <implements name="Gio.Initable"/>
      <constructor name="new" c:identifier="cheese_camera_device_monitor_new">
        <doc xml:space="preserve">Returns a new #CheeseCameraDeviceMonitor object. The initialization may block.
See cheese_camera_device_monitor_new_async() for the asynchronous version.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #CheeseCameraDeviceMonitor object.</doc>
          <type name="CameraDeviceMonitor"
                c:type="CheeseCameraDeviceMonitor*"/>
        </return-value>
      </constructor>
      <constructor name="new_finish"
                   c:identifier="cheese_camera_device_monitor_new_finish"
                   throws="1">
        <doc xml:space="preserve">Finishes creating a new #CheeseCameraDeviceMonitor object.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #CheeseCameraDeviceMonitor object or NULL if error is set.</doc>
          <type name="CameraDeviceMonitor"
                c:type="CheeseCameraDeviceMonitor*"/>
        </return-value>
        <parameters>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve">the GAsyncResult from the callback</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="new_async"
                c:identifier="cheese_camera_device_monitor_new_async">
        <doc xml:space="preserve">Creates a new #CheeseCameraDeviceMonitor object asynchronously. Callback
will be called when it is done. Use cheese_camera_device_monitor_new_finish()
to get the result.

See cheese_camera_device_monitor_new() for the synchronous version.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GCancellable or NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve">a GAsyncReadyCallback to call when the initialization is finished</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">user data to pass to callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="added">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="monitor" transfer-ownership="none">
            <type name="CameraDeviceMonitor"
                  c:type="CheeseCameraDeviceMonitor*"/>
          </instance-parameter>
          <parameter name="device" transfer-ownership="none">
            <type name="CameraDevice" c:type="CheeseCameraDevice*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="removed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="monitor" transfer-ownership="none">
            <type name="CameraDeviceMonitor"
                  c:type="CheeseCameraDeviceMonitor*"/>
          </instance-parameter>
          <parameter name="device" transfer-ownership="none">
            <type name="CameraDevice" c:type="CheeseCameraDevice*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="coldplug"
              c:identifier="cheese_camera_device_monitor_coldplug">
        <doc xml:space="preserve">Enumerate plugged in cameras and emit ::added for those which already exist.
This is only required when your program starts, so be sure to connect to
at least the ::added signal before calling this function.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="monitor" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseCameraDeviceMonitor</doc>
            <type name="CameraDeviceMonitor"
                  c:type="CheeseCameraDeviceMonitor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="parent" readable="0" private="1">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="unused" readable="0" private="1">
        <type name="gpointer" c:type="void*"/>
      </field>
      <glib:signal name="added" when="last" action="1">
        <doc xml:space="preserve">The ::added signal is emitted when a camera is added, or on start-up
after cheese_camera_device_monitor_coldplug() is called.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a new #CheeseCameraDevice representing the video capture device</doc>
            <type name="CameraDevice"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="removed" when="last" action="1">
        <doc xml:space="preserve">The ::removed signal is emitted when a camera is unplugged, or disabled on
the system.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">the #CheeseCameraDevice that was removed</doc>
            <type name="CameraDevice"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="CameraDeviceMonitorClass"
            c:type="CheeseCameraDeviceMonitorClass"
            glib:is-gtype-struct-for="CameraDeviceMonitor">
      <doc xml:space="preserve">Class for #CheeseCameraDeviceMonitor.</doc>
      <field name="parent_class" readable="0" private="1">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="added">
        <callback name="added">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="monitor" transfer-ownership="none">
              <type name="CameraDeviceMonitor"
                    c:type="CheeseCameraDeviceMonitor*"/>
            </parameter>
            <parameter name="device" transfer-ownership="none">
              <type name="CameraDevice" c:type="CheeseCameraDevice*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="removed">
        <callback name="removed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="monitor" transfer-ownership="none">
              <type name="CameraDeviceMonitor"
                    c:type="CheeseCameraDeviceMonitor*"/>
            </parameter>
            <parameter name="device" transfer-ownership="none">
              <type name="CameraDevice" c:type="CheeseCameraDevice*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <record name="CameraDeviceMonitorPrivate"
            c:type="CheeseCameraDeviceMonitorPrivate"
            disguised="1">
    </record>
    <enumeration name="CameraError" c:type="CheeseCameraError">
      <doc xml:space="preserve">Errors that can occur during camera setup, when calling
cheese_camera_setup().</doc>
      <member name="unknown"
              value="0"
              c:identifier="CHEESE_CAMERA_ERROR_UNKNOWN">
        <doc xml:space="preserve">unknown error</doc>
      </member>
      <member name="element_not_found"
              value="1"
              c:identifier="CHEESE_CAMERA_ERROR_ELEMENT_NOT_FOUND">
        <doc xml:space="preserve">a required GStreamer element was not
found</doc>
      </member>
      <member name="no_device"
              value="2"
              c:identifier="CHEESE_CAMERA_ERROR_NO_DEVICE">
        <doc xml:space="preserve">a #CheeseCameraDevice was not found</doc>
      </member>
    </enumeration>
    <record name="CameraPrivate" c:type="CheeseCameraPrivate" disguised="1">
    </record>
    <class name="Effect"
           c:symbol-prefix="effect"
           c:type="CheeseEffect"
           parent="GObject.Object"
           glib:type-name="CheeseEffect"
           glib:get-type="cheese_effect_get_type"
           glib:type-struct="EffectClass">
      <doc xml:space="preserve">Use the accessor functions below.</doc>
      <constructor name="new" c:identifier="cheese_effect_new">
        <doc xml:space="preserve">Create a new #CheeseEffect.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #CheeseEffect</doc>
          <type name="Effect" c:type="CheeseEffect*"/>
        </return-value>
        <parameters>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of the effect</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="pipeline_desc" transfer-ownership="none">
            <doc xml:space="preserve">GStreamer pipeline of the new effect</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="load_effects" c:identifier="cheese_effect_load_effects">
        <doc xml:space="preserve">Load effects from standard directories, including the user's data directory.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a list of
#CheeseEffect, or %NULL if no effects could be found</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Effect"/>
          </type>
        </return-value>
      </function>
      <function name="load_from_file"
                c:identifier="cheese_effect_load_from_file">
        <doc xml:space="preserve">Load effect from file.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #CheeseEffect, or %NULL on error</doc>
          <type name="Effect" c:type="CheeseEffect*"/>
        </return-value>
        <parameters>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve">name of the file containing the effect
specification</doc>
            <type name="filename" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <method name="disable_preview"
              c:identifier="cheese_effect_disable_preview">
        <doc xml:space="preserve">Disable the preview of a #CheeseEffect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="effect" transfer-ownership="none">
            <doc xml:space="preserve">the #CheeseEffect to disable the preview of</doc>
            <type name="Effect" c:type="CheeseEffect*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="enable_preview"
              c:identifier="cheese_effect_enable_preview">
        <doc xml:space="preserve">Enable the preview of a #CheeseEffect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="effect" transfer-ownership="none">
            <doc xml:space="preserve">the #CheeseEffect to enable the preview of</doc>
            <type name="Effect" c:type="CheeseEffect*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name" c:identifier="cheese_effect_get_name">
        <doc xml:space="preserve">Get the human-readable name of the @effect.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the human-readable name of the effect.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="effect" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseEffect</doc>
            <type name="Effect" c:type="CheeseEffect*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_pipeline_desc"
              c:identifier="cheese_effect_get_pipeline_desc">
        <doc xml:space="preserve">Get the Gstreamer pipeline description of the @effect.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the Gstreamer pipeline description of the effect.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="effect" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseEffect</doc>
            <type name="Effect" c:type="CheeseEffect*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_preview_connected"
              c:identifier="cheese_effect_is_preview_connected">
        <doc xml:space="preserve">Get whether the @effect is connected to a video stream, for previews.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the preview is connected, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="effect" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseEffect</doc>
            <type name="Effect" c:type="CheeseEffect*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="control-valve" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">If the control valve is active, then the effect is currently connected to
a video stream, for previews.</doc>
        <type name="Gst.Element"/>
      </property>
      <property name="name"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Name of the effect, for display in a UI.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="pipeline-desc"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Description of the GStreamer pipeline associated with the effect.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent" readable="0" private="1">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="unused" readable="0" private="1">
        <type name="gpointer" c:type="void*"/>
      </field>
    </class>
    <record name="EffectClass"
            c:type="CheeseEffectClass"
            glib:is-gtype-struct-for="Effect">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <class name="FileUtil"
           c:symbol-prefix="fileutil"
           c:type="CheeseFileUtil"
           parent="GObject.Object"
           glib:type-name="CheeseFileUtil"
           glib:get-type="cheese_fileutil_get_type"
           glib:type-struct="FileUtilClass">
      <doc xml:space="preserve">Use the accessor functions below.</doc>
      <constructor name="new" c:identifier="cheese_fileutil_new">
        <doc xml:space="preserve">Create a new #CheeseFileUtil object.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #CheeseFileUtil</doc>
          <type name="FileUtil" c:type="CheeseFileUtil*"/>
        </return-value>
      </constructor>
      <method name="get_new_media_filename"
              c:identifier="cheese_fileutil_get_new_media_filename">
        <doc xml:space="preserve">Creates a filename for one of the three media types: photo, photo burst or
video. If a filename for a photo burst image was previously created, this
function increments the burst count automatically. To start a new burst,
first call cheese_fileutil_reset_burst().</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new filename</doc>
          <type name="filename" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="fileutil" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseFileUtil</doc>
            <type name="FileUtil" c:type="CheeseFileUtil*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the type of media to create a filename for</doc>
            <type name="MediaMode" c:type="CheeseMediaMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_photo_path"
              c:identifier="cheese_fileutil_get_photo_path">
        <doc xml:space="preserve">Get the path where Cheese photo files are stored.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the Cheese photo path</doc>
          <type name="filename" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="fileutil" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseFileUtil</doc>
            <type name="FileUtil" c:type="CheeseFileUtil*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_video_path"
              c:identifier="cheese_fileutil_get_video_path">
        <doc xml:space="preserve">Get the path where Cheese video files are stored.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the Cheese video path</doc>
          <type name="filename" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="fileutil" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseFileUtil</doc>
            <type name="FileUtil" c:type="CheeseFileUtil*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="reset_burst" c:identifier="cheese_fileutil_reset_burst">
        <doc xml:space="preserve">Resets the burst counter, so that calling
cheese_fileutil_get_new_media_filename() with a photo burst starts a new
burst of photos.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="fileutil" transfer-ownership="none">
            <doc xml:space="preserve">a #CheeseFileUtil</doc>
            <type name="FileUtil" c:type="CheeseFileUtil*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="parent" readable="0" private="1">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="unused" readable="0" private="1">
        <type name="gpointer" c:type="void*"/>
      </field>
    </class>
    <record name="FileUtilClass"
            c:type="CheeseFileUtilClass"
            glib:is-gtype-struct-for="FileUtil">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <enumeration name="MediaMode" c:type="CheeseMediaMode">
      <doc xml:space="preserve">The media type, used for generating filenames with
cheese_fileutil_get_new_media_filename().</doc>
      <member name="photo" value="0" c:identifier="CHEESE_MEDIA_MODE_PHOTO">
        <doc xml:space="preserve">photo</doc>
      </member>
      <member name="video" value="1" c:identifier="CHEESE_MEDIA_MODE_VIDEO">
        <doc xml:space="preserve">video</doc>
      </member>
      <member name="burst" value="2" c:identifier="CHEESE_MEDIA_MODE_BURST">
        <doc xml:space="preserve">a burst of photos</doc>
      </member>
    </enumeration>
    <constant name="PHOTO_NAME_SUFFIX"
              value=".jpg"
              c:type="CHEESE_PHOTO_NAME_SUFFIX">
      <doc xml:space="preserve">The filename suffix for photos saved by Cheese.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="VIDEO_NAME_SUFFIX"
              value=".webm"
              c:type="CHEESE_VIDEO_NAME_SUFFIX">
      <doc xml:space="preserve">The filename suffix for videos saved by Cheese.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <record name="VideoFormat"
            c:type="CheeseVideoFormat"
            glib:type-name="CheeseVideoFormat"
            glib:get-type="cheese_video_format_get_type"
            c:symbol-prefix="video_format">
      <doc xml:space="preserve">A description of the resolution, in pixels, of the format to capture with a
#CheeseCameraDevice.</doc>
      <field name="width" writable="1">
        <doc xml:space="preserve">the width of of the video, in pixels</doc>
        <type name="gint" c:type="gint"/>
      </field>
      <field name="height" writable="1">
        <doc xml:space="preserve">the height of the video, in pixels</doc>
        <type name="gint" c:type="gint"/>
      </field>
    </record>
    <enumeration name="WidgetState"
                 glib:type-name="CheeseWidgetState"
                 glib:get-type="cheese_widget_state_get_type"
                 c:type="CheeseWidgetState">
      <member name="none"
              value="0"
              c:identifier="CHEESE_WIDGET_STATE_NONE"
              glib:nick="none">
      </member>
      <member name="ready"
              value="1"
              c:identifier="CHEESE_WIDGET_STATE_READY"
              glib:nick="ready">
      </member>
      <member name="error"
              value="2"
              c:identifier="CHEESE_WIDGET_STATE_ERROR"
              glib:nick="error">
      </member>
    </enumeration>
  </namespace>
</repository>