summaryrefslogtreecommitdiff
path: root/src/plugins/DataImportsInterfaces.c
blob: 57e5069ae63280260eacddb62a7d0a651ad5c2d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
/* DataImportsInterfaces.c generated by valac 0.34.4, the Vala compiler
 * generated from DataImportsInterfaces.vala, do not modify */

/* Copyright 2016 Software Freedom Conservancy Inc.
 *
 * This software is licensed under the GNU Lesser General Public License
 * (version 2.1 or later).  See the COPYING file in this distribution.
 */

#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gio/gio.h>
#include <float.h>
#include <math.h>
#include <gtk/gtk.h>
#include <time.h>


#define SPIT_DATA_IMPORTS_TYPE_DATA_IMPORTER (spit_data_imports_data_importer_get_type ())
#define SPIT_DATA_IMPORTS_DATA_IMPORTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_DATA_IMPORTS_TYPE_DATA_IMPORTER, SpitDataImportsDataImporter))
#define SPIT_DATA_IMPORTS_IS_DATA_IMPORTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPIT_DATA_IMPORTS_TYPE_DATA_IMPORTER))
#define SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SPIT_DATA_IMPORTS_TYPE_DATA_IMPORTER, SpitDataImportsDataImporterIface))

typedef struct _SpitDataImportsDataImporter SpitDataImportsDataImporter;
typedef struct _SpitDataImportsDataImporterIface SpitDataImportsDataImporterIface;

#define SPIT_TYPE_PLUGGABLE (spit_pluggable_get_type ())
#define SPIT_PLUGGABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_TYPE_PLUGGABLE, SpitPluggable))
#define SPIT_IS_PLUGGABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPIT_TYPE_PLUGGABLE))
#define SPIT_PLUGGABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SPIT_TYPE_PLUGGABLE, SpitPluggableIface))

typedef struct _SpitPluggable SpitPluggable;
typedef struct _SpitPluggableIface SpitPluggableIface;

#define SPIT_TYPE_PLUGGABLE_INFO (spit_pluggable_info_get_type ())
typedef struct _SpitPluggableInfo SpitPluggableInfo;

#define SPIT_DATA_IMPORTS_TYPE_SERVICE (spit_data_imports_service_get_type ())
#define SPIT_DATA_IMPORTS_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_DATA_IMPORTS_TYPE_SERVICE, SpitDataImportsService))
#define SPIT_DATA_IMPORTS_IS_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPIT_DATA_IMPORTS_TYPE_SERVICE))
#define SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SPIT_DATA_IMPORTS_TYPE_SERVICE, SpitDataImportsServiceIface))

typedef struct _SpitDataImportsService SpitDataImportsService;
typedef struct _SpitDataImportsServiceIface SpitDataImportsServiceIface;

#define SPIT_TYPE_HOST_INTERFACE (spit_host_interface_get_type ())
#define SPIT_HOST_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_TYPE_HOST_INTERFACE, SpitHostInterface))
#define SPIT_IS_HOST_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPIT_TYPE_HOST_INTERFACE))
#define SPIT_HOST_INTERFACE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SPIT_TYPE_HOST_INTERFACE, SpitHostInterfaceIface))

typedef struct _SpitHostInterface SpitHostInterface;
typedef struct _SpitHostInterfaceIface SpitHostInterfaceIface;

#define SPIT_DATA_IMPORTS_TYPE_PLUGIN_HOST (spit_data_imports_plugin_host_get_type ())
#define SPIT_DATA_IMPORTS_PLUGIN_HOST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_DATA_IMPORTS_TYPE_PLUGIN_HOST, SpitDataImportsPluginHost))
#define SPIT_DATA_IMPORTS_IS_PLUGIN_HOST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPIT_DATA_IMPORTS_TYPE_PLUGIN_HOST))
#define SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SPIT_DATA_IMPORTS_TYPE_PLUGIN_HOST, SpitDataImportsPluginHostIface))

typedef struct _SpitDataImportsPluginHost SpitDataImportsPluginHost;
typedef struct _SpitDataImportsPluginHostIface SpitDataImportsPluginHostIface;

#define SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE (spit_data_imports_dialog_pane_get_type ())
#define SPIT_DATA_IMPORTS_DIALOG_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane))
#define SPIT_DATA_IMPORTS_IS_DIALOG_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE))
#define SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPaneIface))

typedef struct _SpitDataImportsDialogPane SpitDataImportsDialogPane;
typedef struct _SpitDataImportsDialogPaneIface SpitDataImportsDialogPaneIface;

#define SPIT_DATA_IMPORTS_DIALOG_PANE_TYPE_GEOMETRY_OPTIONS (spit_data_imports_dialog_pane_geometry_options_get_type ())

#define SPIT_DATA_IMPORTS_PLUGIN_HOST_TYPE_BUTTON_MODE (spit_data_imports_plugin_host_button_mode_get_type ())

#define SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_LIBRARY (spit_data_imports_importable_library_get_type ())
#define SPIT_DATA_IMPORTS_IMPORTABLE_LIBRARY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_LIBRARY, SpitDataImportsImportableLibrary))
#define SPIT_DATA_IMPORTS_IS_IMPORTABLE_LIBRARY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_LIBRARY))
#define SPIT_DATA_IMPORTS_IMPORTABLE_LIBRARY_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_LIBRARY, SpitDataImportsImportableLibraryIface))

typedef struct _SpitDataImportsImportableLibrary SpitDataImportsImportableLibrary;
typedef struct _SpitDataImportsImportableLibraryIface SpitDataImportsImportableLibraryIface;

#define SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_MEDIA_ITEM (spit_data_imports_importable_media_item_get_type ())
#define SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_MEDIA_ITEM, SpitDataImportsImportableMediaItem))
#define SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_MEDIA_ITEM))
#define SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_MEDIA_ITEM, SpitDataImportsImportableMediaItemIface))

typedef struct _SpitDataImportsImportableMediaItem SpitDataImportsImportableMediaItem;
typedef struct _SpitDataImportsImportableMediaItemIface SpitDataImportsImportableMediaItemIface;

#define SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_TAG (spit_data_imports_importable_tag_get_type ())
#define SPIT_DATA_IMPORTS_IMPORTABLE_TAG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_TAG, SpitDataImportsImportableTag))
#define SPIT_DATA_IMPORTS_IS_IMPORTABLE_TAG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_TAG))
#define SPIT_DATA_IMPORTS_IMPORTABLE_TAG_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_TAG, SpitDataImportsImportableTagIface))

typedef struct _SpitDataImportsImportableTag SpitDataImportsImportableTag;
typedef struct _SpitDataImportsImportableTagIface SpitDataImportsImportableTagIface;

#define SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_EVENT (spit_data_imports_importable_event_get_type ())
#define SPIT_DATA_IMPORTS_IMPORTABLE_EVENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_EVENT, SpitDataImportsImportableEvent))
#define SPIT_DATA_IMPORTS_IS_IMPORTABLE_EVENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_EVENT))
#define SPIT_DATA_IMPORTS_IMPORTABLE_EVENT_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_EVENT, SpitDataImportsImportableEventIface))

typedef struct _SpitDataImportsImportableEvent SpitDataImportsImportableEvent;
typedef struct _SpitDataImportsImportableEventIface SpitDataImportsImportableEventIface;

#define SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_RATING (spit_data_imports_importable_rating_get_type ())
#define SPIT_DATA_IMPORTS_IMPORTABLE_RATING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_RATING, SpitDataImportsImportableRating))
#define SPIT_DATA_IMPORTS_IS_IMPORTABLE_RATING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_RATING))
#define SPIT_DATA_IMPORTS_IMPORTABLE_RATING_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SPIT_DATA_IMPORTS_TYPE_IMPORTABLE_RATING, SpitDataImportsImportableRatingIface))

typedef struct _SpitDataImportsImportableRating SpitDataImportsImportableRating;
typedef struct _SpitDataImportsImportableRatingIface SpitDataImportsImportableRatingIface;

/**
 * The error domain for alien databases
 */
typedef enum  {
	SPIT_DATA_IMPORTS_DATA_IMPORT_ERROR_UNSUPPORTED_VERSION
} SpitDataImportsDataImportError;
#define SPIT_DATA_IMPORTS_DATA_IMPORT_ERROR spit_data_imports_data_import_error_quark ()
struct _SpitPluggableInfo {
	gchar* version;
	gchar* brief_description;
	gchar* authors;
	gchar* copyright;
	gchar* license;
	gboolean is_license_wordwrapped;
	gchar* website_url;
	gchar* website_name;
	gchar* translators;
	GdkPixbuf** icons;
	gint icons_length1;
};

struct _SpitPluggableIface {
	GTypeInterface parent_iface;
	gint (*get_pluggable_interface) (SpitPluggable* self, gint min_host_interface, gint max_host_interface);
	const gchar* (*get_id) (SpitPluggable* self);
	const gchar* (*get_pluggable_name) (SpitPluggable* self);
	void (*get_info) (SpitPluggable* self, SpitPluggableInfo* info);
	void (*activation) (SpitPluggable* self, gboolean enabled);
	void (*reserved0) (SpitPluggable* self);
	void (*reserved1) (SpitPluggable* self);
	void (*reserved2) (SpitPluggable* self);
	void (*reserved3) (SpitPluggable* self);
	void (*reserved4) (SpitPluggable* self);
	void (*reserved5) (SpitPluggable* self);
	void (*reserved6) (SpitPluggable* self);
	void (*reserved7) (SpitPluggable* self);
};

struct _SpitHostInterfaceIface {
	GTypeInterface parent_iface;
	GFile* (*get_module_file) (SpitHostInterface* self);
	gboolean (*get_config_bool) (SpitHostInterface* self, const gchar* key, gboolean def);
	void (*set_config_bool) (SpitHostInterface* self, const gchar* key, gboolean val);
	gint (*get_config_int) (SpitHostInterface* self, const gchar* key, gint def);
	void (*set_config_int) (SpitHostInterface* self, const gchar* key, gint val);
	gchar* (*get_config_string) (SpitHostInterface* self, const gchar* key, const gchar* def);
	void (*set_config_string) (SpitHostInterface* self, const gchar* key, const gchar* val);
	gdouble (*get_config_double) (SpitHostInterface* self, const gchar* key, gdouble def);
	void (*set_config_double) (SpitHostInterface* self, const gchar* key, gdouble val);
	void (*unset_config_key) (SpitHostInterface* self, const gchar* key);
	void (*reserved0) (SpitHostInterface* self);
	void (*reserved1) (SpitHostInterface* self);
	void (*reserved2) (SpitHostInterface* self);
	void (*reserved3) (SpitHostInterface* self);
	void (*reserved4) (SpitHostInterface* self);
	void (*reserved5) (SpitHostInterface* self);
	void (*reserved6) (SpitHostInterface* self);
	void (*reserved7) (SpitHostInterface* self);
};

typedef enum  {
	SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_NONE = 0,
	SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE = 1 << 0,
	SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE = 1 << 1,
	SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE = 1 << 2
} SpitDataImportsDialogPaneGeometryOptions;

struct _SpitDataImportsDialogPaneIface {
	GTypeInterface parent_iface;
	GtkWidget* (*get_widget) (SpitDataImportsDialogPane* self);
	SpitDataImportsDialogPaneGeometryOptions (*get_preferred_geometry) (SpitDataImportsDialogPane* self);
	void (*on_pane_installed) (SpitDataImportsDialogPane* self);
	void (*on_pane_uninstalled) (SpitDataImportsDialogPane* self);
	void (*reserved0) (SpitDataImportsDialogPane* self);
	void (*reserved1) (SpitDataImportsDialogPane* self);
	void (*reserved2) (SpitDataImportsDialogPane* self);
	void (*reserved3) (SpitDataImportsDialogPane* self);
	void (*reserved4) (SpitDataImportsDialogPane* self);
	void (*reserved5) (SpitDataImportsDialogPane* self);
	void (*reserved6) (SpitDataImportsDialogPane* self);
	void (*reserved7) (SpitDataImportsDialogPane* self);
};

typedef enum  {
	SPIT_DATA_IMPORTS_PLUGIN_HOST_BUTTON_MODE_CLOSE = 0,
	SPIT_DATA_IMPORTS_PLUGIN_HOST_BUTTON_MODE_CANCEL = 1
} SpitDataImportsPluginHostButtonMode;

struct _SpitDataImportsImportableLibraryIface {
	GTypeInterface parent_iface;
	gchar* (*get_display_name) (SpitDataImportsImportableLibrary* self);
};

struct _SpitDataImportsImportableTagIface {
	GTypeInterface parent_iface;
	gchar* (*get_name) (SpitDataImportsImportableTag* self);
	SpitDataImportsImportableTag* (*get_parent) (SpitDataImportsImportableTag* self);
};

struct _SpitDataImportsImportableEventIface {
	GTypeInterface parent_iface;
	gchar* (*get_name) (SpitDataImportsImportableEvent* self);
};

struct _SpitDataImportsImportableRatingIface {
	GTypeInterface parent_iface;
	gboolean (*is_unrated) (SpitDataImportsImportableRating* self);
	gboolean (*is_rejected) (SpitDataImportsImportableRating* self);
	gint (*get_value) (SpitDataImportsImportableRating* self);
};

struct _SpitDataImportsImportableMediaItemIface {
	GTypeInterface parent_iface;
	SpitDataImportsImportableTag** (*get_tags) (SpitDataImportsImportableMediaItem* self, int* result_length1);
	SpitDataImportsImportableEvent* (*get_event) (SpitDataImportsImportableMediaItem* self);
	SpitDataImportsImportableRating* (*get_rating) (SpitDataImportsImportableMediaItem* self);
	gchar* (*get_title) (SpitDataImportsImportableMediaItem* self);
	gchar* (*get_folder_path) (SpitDataImportsImportableMediaItem* self);
	gchar* (*get_filename) (SpitDataImportsImportableMediaItem* self);
	time_t* (*get_exposure_time) (SpitDataImportsImportableMediaItem* self);
};

typedef void (*SpitDataImportsImportedItemsCountCallback) (gint imported_items_count, void* user_data);
struct _SpitDataImportsPluginHostIface {
	GTypeInterface parent_iface;
	void (*post_error) (SpitDataImportsPluginHost* self, GError* err);
	void (*post_error_message) (SpitDataImportsPluginHost* self, const gchar* msg);
	void (*start_importing) (SpitDataImportsPluginHost* self);
	void (*stop_importing) (SpitDataImportsPluginHost* self);
	SpitDataImportsDataImporter* (*get_data_importer) (SpitDataImportsPluginHost* self);
	void (*install_dialog_pane) (SpitDataImportsPluginHost* self, SpitDataImportsDialogPane* pane, SpitDataImportsPluginHostButtonMode mode);
	void (*install_static_message_pane) (SpitDataImportsPluginHost* self, const gchar* message, SpitDataImportsPluginHostButtonMode mode);
	void (*install_library_selection_pane) (SpitDataImportsPluginHost* self, const gchar* welcome_message, SpitDataImportsImportableLibrary** discovered_libraries, int discovered_libraries_length1, const gchar* file_select_label);
	void (*install_import_progress_pane) (SpitDataImportsPluginHost* self, const gchar* message);
	void (*update_import_progress_pane) (SpitDataImportsPluginHost* self, gdouble progress, const gchar* progress_message);
	void (*prepare_media_items_for_import) (SpitDataImportsPluginHost* self, SpitDataImportsImportableMediaItem** items, int items_length1, gdouble progress, gdouble host_progress_delta, const gchar* progress_message);
	void (*finalize_import) (SpitDataImportsPluginHost* self, SpitDataImportsImportedItemsCountCallback report_imported_items_count, void* report_imported_items_count_target, const gchar* finalize_message);
	void (*reserved0) (SpitDataImportsPluginHost* self);
	void (*reserved1) (SpitDataImportsPluginHost* self);
	void (*reserved2) (SpitDataImportsPluginHost* self);
	void (*reserved3) (SpitDataImportsPluginHost* self);
	void (*reserved4) (SpitDataImportsPluginHost* self);
	void (*reserved5) (SpitDataImportsPluginHost* self);
	void (*reserved6) (SpitDataImportsPluginHost* self);
	void (*reserved7) (SpitDataImportsPluginHost* self);
};

struct _SpitDataImportsServiceIface {
	GTypeInterface parent_iface;
	SpitDataImportsDataImporter* (*create_data_importer) (SpitDataImportsService* self, SpitDataImportsPluginHost* host);
	void (*reserved0) (SpitDataImportsService* self);
	void (*reserved1) (SpitDataImportsService* self);
	void (*reserved2) (SpitDataImportsService* self);
	void (*reserved3) (SpitDataImportsService* self);
	void (*reserved4) (SpitDataImportsService* self);
	void (*reserved5) (SpitDataImportsService* self);
	void (*reserved6) (SpitDataImportsService* self);
	void (*reserved7) (SpitDataImportsService* self);
};

struct _SpitDataImportsDataImporterIface {
	GTypeInterface parent_iface;
	SpitDataImportsService* (*get_service) (SpitDataImportsDataImporter* self);
	void (*start) (SpitDataImportsDataImporter* self);
	gboolean (*is_running) (SpitDataImportsDataImporter* self);
	void (*stop) (SpitDataImportsDataImporter* self);
	void (*on_library_selected) (SpitDataImportsDataImporter* self, SpitDataImportsImportableLibrary* library);
	void (*on_file_selected) (SpitDataImportsDataImporter* self, GFile* file);
	void (*reserved0) (SpitDataImportsDataImporter* self);
	void (*reserved1) (SpitDataImportsDataImporter* self);
	void (*reserved2) (SpitDataImportsDataImporter* self);
	void (*reserved3) (SpitDataImportsDataImporter* self);
	void (*reserved4) (SpitDataImportsDataImporter* self);
	void (*reserved5) (SpitDataImportsDataImporter* self);
	void (*reserved6) (SpitDataImportsDataImporter* self);
	void (*reserved7) (SpitDataImportsDataImporter* self);
};



#define SPIT_DATA_IMPORTS_CURRENT_INTERFACE 0
GQuark spit_data_imports_data_import_error_quark (void);
GType spit_pluggable_info_get_type (void) G_GNUC_CONST;
SpitPluggableInfo* spit_pluggable_info_dup (const SpitPluggableInfo* self);
void spit_pluggable_info_free (SpitPluggableInfo* self);
void spit_pluggable_info_copy (const SpitPluggableInfo* self, SpitPluggableInfo* dest);
void spit_pluggable_info_destroy (SpitPluggableInfo* self);
GType spit_pluggable_get_type (void) G_GNUC_CONST;
GType spit_host_interface_get_type (void) G_GNUC_CONST;
GType spit_data_imports_dialog_pane_geometry_options_get_type (void) G_GNUC_CONST;
GType spit_data_imports_dialog_pane_get_type (void) G_GNUC_CONST;
GType spit_data_imports_plugin_host_button_mode_get_type (void) G_GNUC_CONST;
GType spit_data_imports_importable_library_get_type (void) G_GNUC_CONST;
GType spit_data_imports_importable_tag_get_type (void) G_GNUC_CONST;
GType spit_data_imports_importable_event_get_type (void) G_GNUC_CONST;
GType spit_data_imports_importable_rating_get_type (void) G_GNUC_CONST;
GType spit_data_imports_importable_media_item_get_type (void) G_GNUC_CONST;
GType spit_data_imports_plugin_host_get_type (void) G_GNUC_CONST;
GType spit_data_imports_service_get_type (void) G_GNUC_CONST;
GType spit_data_imports_data_importer_get_type (void) G_GNUC_CONST;
SpitDataImportsService* spit_data_imports_data_importer_get_service (SpitDataImportsDataImporter* self);
void spit_data_imports_data_importer_start (SpitDataImportsDataImporter* self);
gboolean spit_data_imports_data_importer_is_running (SpitDataImportsDataImporter* self);
void spit_data_imports_data_importer_stop (SpitDataImportsDataImporter* self);
void spit_data_imports_data_importer_on_library_selected (SpitDataImportsDataImporter* self, SpitDataImportsImportableLibrary* library);
void spit_data_imports_data_importer_on_file_selected (SpitDataImportsDataImporter* self, GFile* file);
void spit_data_imports_data_importer_reserved0 (SpitDataImportsDataImporter* self);
static void spit_data_imports_data_importer_real_reserved0 (SpitDataImportsDataImporter* self);
void spit_data_imports_data_importer_reserved1 (SpitDataImportsDataImporter* self);
static void spit_data_imports_data_importer_real_reserved1 (SpitDataImportsDataImporter* self);
void spit_data_imports_data_importer_reserved2 (SpitDataImportsDataImporter* self);
static void spit_data_imports_data_importer_real_reserved2 (SpitDataImportsDataImporter* self);
void spit_data_imports_data_importer_reserved3 (SpitDataImportsDataImporter* self);
static void spit_data_imports_data_importer_real_reserved3 (SpitDataImportsDataImporter* self);
void spit_data_imports_data_importer_reserved4 (SpitDataImportsDataImporter* self);
static void spit_data_imports_data_importer_real_reserved4 (SpitDataImportsDataImporter* self);
void spit_data_imports_data_importer_reserved5 (SpitDataImportsDataImporter* self);
static void spit_data_imports_data_importer_real_reserved5 (SpitDataImportsDataImporter* self);
void spit_data_imports_data_importer_reserved6 (SpitDataImportsDataImporter* self);
static void spit_data_imports_data_importer_real_reserved6 (SpitDataImportsDataImporter* self);
void spit_data_imports_data_importer_reserved7 (SpitDataImportsDataImporter* self);
static void spit_data_imports_data_importer_real_reserved7 (SpitDataImportsDataImporter* self);
gchar* spit_data_imports_importable_library_get_display_name (SpitDataImportsImportableLibrary* self);
SpitDataImportsImportableTag** spit_data_imports_importable_media_item_get_tags (SpitDataImportsImportableMediaItem* self, int* result_length1);
SpitDataImportsImportableEvent* spit_data_imports_importable_media_item_get_event (SpitDataImportsImportableMediaItem* self);
SpitDataImportsImportableRating* spit_data_imports_importable_media_item_get_rating (SpitDataImportsImportableMediaItem* self);
gchar* spit_data_imports_importable_media_item_get_title (SpitDataImportsImportableMediaItem* self);
gchar* spit_data_imports_importable_media_item_get_folder_path (SpitDataImportsImportableMediaItem* self);
gchar* spit_data_imports_importable_media_item_get_filename (SpitDataImportsImportableMediaItem* self);
time_t* spit_data_imports_importable_media_item_get_exposure_time (SpitDataImportsImportableMediaItem* self);
gchar* spit_data_imports_importable_tag_get_name (SpitDataImportsImportableTag* self);
SpitDataImportsImportableTag* spit_data_imports_importable_tag_get_parent (SpitDataImportsImportableTag* self);
gchar* spit_data_imports_importable_event_get_name (SpitDataImportsImportableEvent* self);
gboolean spit_data_imports_importable_rating_is_unrated (SpitDataImportsImportableRating* self);
gboolean spit_data_imports_importable_rating_is_rejected (SpitDataImportsImportableRating* self);
gint spit_data_imports_importable_rating_get_value (SpitDataImportsImportableRating* self);
GtkWidget* spit_data_imports_dialog_pane_get_widget (SpitDataImportsDialogPane* self);
SpitDataImportsDialogPaneGeometryOptions spit_data_imports_dialog_pane_get_preferred_geometry (SpitDataImportsDialogPane* self);
void spit_data_imports_dialog_pane_on_pane_installed (SpitDataImportsDialogPane* self);
void spit_data_imports_dialog_pane_on_pane_uninstalled (SpitDataImportsDialogPane* self);
void spit_data_imports_dialog_pane_reserved0 (SpitDataImportsDialogPane* self);
static void spit_data_imports_dialog_pane_real_reserved0 (SpitDataImportsDialogPane* self);
void spit_data_imports_dialog_pane_reserved1 (SpitDataImportsDialogPane* self);
static void spit_data_imports_dialog_pane_real_reserved1 (SpitDataImportsDialogPane* self);
void spit_data_imports_dialog_pane_reserved2 (SpitDataImportsDialogPane* self);
static void spit_data_imports_dialog_pane_real_reserved2 (SpitDataImportsDialogPane* self);
void spit_data_imports_dialog_pane_reserved3 (SpitDataImportsDialogPane* self);
static void spit_data_imports_dialog_pane_real_reserved3 (SpitDataImportsDialogPane* self);
void spit_data_imports_dialog_pane_reserved4 (SpitDataImportsDialogPane* self);
static void spit_data_imports_dialog_pane_real_reserved4 (SpitDataImportsDialogPane* self);
void spit_data_imports_dialog_pane_reserved5 (SpitDataImportsDialogPane* self);
static void spit_data_imports_dialog_pane_real_reserved5 (SpitDataImportsDialogPane* self);
void spit_data_imports_dialog_pane_reserved6 (SpitDataImportsDialogPane* self);
static void spit_data_imports_dialog_pane_real_reserved6 (SpitDataImportsDialogPane* self);
void spit_data_imports_dialog_pane_reserved7 (SpitDataImportsDialogPane* self);
static void spit_data_imports_dialog_pane_real_reserved7 (SpitDataImportsDialogPane* self);
void spit_data_imports_plugin_host_post_error (SpitDataImportsPluginHost* self, GError* err);
void spit_data_imports_plugin_host_post_error_message (SpitDataImportsPluginHost* self, const gchar* msg);
void spit_data_imports_plugin_host_start_importing (SpitDataImportsPluginHost* self);
void spit_data_imports_plugin_host_stop_importing (SpitDataImportsPluginHost* self);
SpitDataImportsDataImporter* spit_data_imports_plugin_host_get_data_importer (SpitDataImportsPluginHost* self);
void spit_data_imports_plugin_host_install_dialog_pane (SpitDataImportsPluginHost* self, SpitDataImportsDialogPane* pane, SpitDataImportsPluginHostButtonMode mode);
void spit_data_imports_plugin_host_install_static_message_pane (SpitDataImportsPluginHost* self, const gchar* message, SpitDataImportsPluginHostButtonMode mode);
void spit_data_imports_plugin_host_install_library_selection_pane (SpitDataImportsPluginHost* self, const gchar* welcome_message, SpitDataImportsImportableLibrary** discovered_libraries, int discovered_libraries_length1, const gchar* file_select_label);
void spit_data_imports_plugin_host_install_import_progress_pane (SpitDataImportsPluginHost* self, const gchar* message);
void spit_data_imports_plugin_host_update_import_progress_pane (SpitDataImportsPluginHost* self, gdouble progress, const gchar* progress_message);
void spit_data_imports_plugin_host_prepare_media_items_for_import (SpitDataImportsPluginHost* self, SpitDataImportsImportableMediaItem** items, int items_length1, gdouble progress, gdouble host_progress_delta, const gchar* progress_message);
void spit_data_imports_plugin_host_finalize_import (SpitDataImportsPluginHost* self, SpitDataImportsImportedItemsCountCallback report_imported_items_count, void* report_imported_items_count_target, const gchar* finalize_message);
void spit_data_imports_plugin_host_reserved0 (SpitDataImportsPluginHost* self);
static void spit_data_imports_plugin_host_real_reserved0 (SpitDataImportsPluginHost* self);
void spit_data_imports_plugin_host_reserved1 (SpitDataImportsPluginHost* self);
static void spit_data_imports_plugin_host_real_reserved1 (SpitDataImportsPluginHost* self);
void spit_data_imports_plugin_host_reserved2 (SpitDataImportsPluginHost* self);
static void spit_data_imports_plugin_host_real_reserved2 (SpitDataImportsPluginHost* self);
void spit_data_imports_plugin_host_reserved3 (SpitDataImportsPluginHost* self);
static void spit_data_imports_plugin_host_real_reserved3 (SpitDataImportsPluginHost* self);
void spit_data_imports_plugin_host_reserved4 (SpitDataImportsPluginHost* self);
static void spit_data_imports_plugin_host_real_reserved4 (SpitDataImportsPluginHost* self);
void spit_data_imports_plugin_host_reserved5 (SpitDataImportsPluginHost* self);
static void spit_data_imports_plugin_host_real_reserved5 (SpitDataImportsPluginHost* self);
void spit_data_imports_plugin_host_reserved6 (SpitDataImportsPluginHost* self);
static void spit_data_imports_plugin_host_real_reserved6 (SpitDataImportsPluginHost* self);
void spit_data_imports_plugin_host_reserved7 (SpitDataImportsPluginHost* self);
static void spit_data_imports_plugin_host_real_reserved7 (SpitDataImportsPluginHost* self);
SpitDataImportsDataImporter* spit_data_imports_service_create_data_importer (SpitDataImportsService* self, SpitDataImportsPluginHost* host);
void spit_data_imports_service_reserved0 (SpitDataImportsService* self);
static void spit_data_imports_service_real_reserved0 (SpitDataImportsService* self);
void spit_data_imports_service_reserved1 (SpitDataImportsService* self);
static void spit_data_imports_service_real_reserved1 (SpitDataImportsService* self);
void spit_data_imports_service_reserved2 (SpitDataImportsService* self);
static void spit_data_imports_service_real_reserved2 (SpitDataImportsService* self);
void spit_data_imports_service_reserved3 (SpitDataImportsService* self);
static void spit_data_imports_service_real_reserved3 (SpitDataImportsService* self);
void spit_data_imports_service_reserved4 (SpitDataImportsService* self);
static void spit_data_imports_service_real_reserved4 (SpitDataImportsService* self);
void spit_data_imports_service_reserved5 (SpitDataImportsService* self);
static void spit_data_imports_service_real_reserved5 (SpitDataImportsService* self);
void spit_data_imports_service_reserved6 (SpitDataImportsService* self);
static void spit_data_imports_service_real_reserved6 (SpitDataImportsService* self);
void spit_data_imports_service_reserved7 (SpitDataImportsService* self);
static void spit_data_imports_service_real_reserved7 (SpitDataImportsService* self);


GQuark spit_data_imports_data_import_error_quark (void) {
	return g_quark_from_static_string ("spit_data_imports_data_import_error-quark");
}


/**
     * Returns a {@link Service} object describing the service to which this connects.
     */
SpitDataImportsService* spit_data_imports_data_importer_get_service (SpitDataImportsDataImporter* self) {
#line 53 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self), NULL);
#line 53 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->get_service (self);
#line 434 "DataImportsInterfaces.c"
}


/**
     * Makes this data importer enter the running state and endows it with exclusive access
     * to the shared services provided by the {@link PluginHost}. Through the host’s interface,
     * this data importer can install user interface panes and query configuration information.
     */
void spit_data_imports_data_importer_start (SpitDataImportsDataImporter* self) {
#line 60 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 60 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->start (self);
#line 448 "DataImportsInterfaces.c"
}


/**
     * Returns true if this data importer is in the running state; false otherwise.
     */
gboolean spit_data_imports_data_importer_is_running (SpitDataImportsDataImporter* self) {
#line 65 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self), FALSE);
#line 65 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->is_running (self);
#line 460 "DataImportsInterfaces.c"
}


/**
     * Causes this data importer to enter a non-running state. This data importer should stop all
     * data access operations and cease use of the shared services provided by the {@link PluginHost}.
     */
void spit_data_imports_data_importer_stop (SpitDataImportsDataImporter* self) {
#line 71 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 71 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->stop (self);
#line 473 "DataImportsInterfaces.c"
}


/**
     * Causes this data importer to enter start the import of a library.
     */
void spit_data_imports_data_importer_on_library_selected (SpitDataImportsDataImporter* self, SpitDataImportsImportableLibrary* library) {
#line 76 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 76 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->on_library_selected (self, library);
#line 485 "DataImportsInterfaces.c"
}


/**
     * Causes this data importer to enter start the import of a library file.
     */
void spit_data_imports_data_importer_on_file_selected (SpitDataImportsDataImporter* self, GFile* file) {
#line 81 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 81 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->on_file_selected (self, file);
#line 497 "DataImportsInterfaces.c"
}


static void spit_data_imports_data_importer_real_reserved0 (SpitDataImportsDataImporter* self) {
}


void spit_data_imports_data_importer_reserved0 (SpitDataImportsDataImporter* self) {
#line 86 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 86 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved0 (self);
#line 510 "DataImportsInterfaces.c"
}


static void spit_data_imports_data_importer_real_reserved1 (SpitDataImportsDataImporter* self) {
}


void spit_data_imports_data_importer_reserved1 (SpitDataImportsDataImporter* self) {
#line 87 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 87 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved1 (self);
#line 523 "DataImportsInterfaces.c"
}


static void spit_data_imports_data_importer_real_reserved2 (SpitDataImportsDataImporter* self) {
}


void spit_data_imports_data_importer_reserved2 (SpitDataImportsDataImporter* self) {
#line 88 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 88 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved2 (self);
#line 536 "DataImportsInterfaces.c"
}


static void spit_data_imports_data_importer_real_reserved3 (SpitDataImportsDataImporter* self) {
}


void spit_data_imports_data_importer_reserved3 (SpitDataImportsDataImporter* self) {
#line 89 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 89 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved3 (self);
#line 549 "DataImportsInterfaces.c"
}


static void spit_data_imports_data_importer_real_reserved4 (SpitDataImportsDataImporter* self) {
}


void spit_data_imports_data_importer_reserved4 (SpitDataImportsDataImporter* self) {
#line 90 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 90 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved4 (self);
#line 562 "DataImportsInterfaces.c"
}


static void spit_data_imports_data_importer_real_reserved5 (SpitDataImportsDataImporter* self) {
}


void spit_data_imports_data_importer_reserved5 (SpitDataImportsDataImporter* self) {
#line 91 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 91 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved5 (self);
#line 575 "DataImportsInterfaces.c"
}


static void spit_data_imports_data_importer_real_reserved6 (SpitDataImportsDataImporter* self) {
}


void spit_data_imports_data_importer_reserved6 (SpitDataImportsDataImporter* self) {
#line 92 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 92 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved6 (self);
#line 588 "DataImportsInterfaces.c"
}


static void spit_data_imports_data_importer_real_reserved7 (SpitDataImportsDataImporter* self) {
}


void spit_data_imports_data_importer_reserved7 (SpitDataImportsDataImporter* self) {
#line 93 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 93 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved7 (self);
#line 601 "DataImportsInterfaces.c"
}


static void spit_data_imports_data_importer_base_init (SpitDataImportsDataImporterIface * iface) {
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	static gboolean initialized = FALSE;
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	if (!initialized) {
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		initialized = TRUE;
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved0 = spit_data_imports_data_importer_real_reserved0;
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved1 = spit_data_imports_data_importer_real_reserved1;
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved2 = spit_data_imports_data_importer_real_reserved2;
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved3 = spit_data_imports_data_importer_real_reserved3;
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved4 = spit_data_imports_data_importer_real_reserved4;
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved5 = spit_data_imports_data_importer_real_reserved5;
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved6 = spit_data_imports_data_importer_real_reserved6;
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved7 = spit_data_imports_data_importer_real_reserved7;
#line 628 "DataImportsInterfaces.c"
	}
}


/** 
 * Represents a module that is able to import data from a specific database format.
 *
 * Developers of data import plugins provide a class that implements this interface. At
 * any given time, only one DataImporter can be running. When a data importer is running, it
 * has exclusive use of the shared user-interface and
 * configuration services provided by the {@link PluginHost}. Data importers are created in
 * a non-running state and do not begin running until start( ) is invoked. Data importers
 * run until stop( ) is invoked.
 */
GType spit_data_imports_data_importer_get_type (void) {
	static volatile gsize spit_data_imports_data_importer_type_id__volatile = 0;
	if (g_once_init_enter (&spit_data_imports_data_importer_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsDataImporterIface), (GBaseInitFunc) spit_data_imports_data_importer_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType spit_data_imports_data_importer_type_id;
		spit_data_imports_data_importer_type_id = g_type_register_static (G_TYPE_INTERFACE, "SpitDataImportsDataImporter", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (spit_data_imports_data_importer_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&spit_data_imports_data_importer_type_id__volatile, spit_data_imports_data_importer_type_id);
	}
	return spit_data_imports_data_importer_type_id__volatile;
}


gchar* spit_data_imports_importable_library_get_display_name (SpitDataImportsImportableLibrary* self) {
#line 102 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_LIBRARY (self), NULL);
#line 102 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_LIBRARY_GET_INTERFACE (self)->get_display_name (self);
#line 661 "DataImportsInterfaces.c"
}


static void spit_data_imports_importable_library_base_init (SpitDataImportsImportableLibraryIface * iface) {
#line 101 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	static gboolean initialized = FALSE;
#line 101 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	if (!initialized) {
#line 101 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		initialized = TRUE;
#line 672 "DataImportsInterfaces.c"
	}
}


/**
 * Represents a library of importable media items.
 *
 * Developers of data import plugins provide a class that implements this interface.
 */
GType spit_data_imports_importable_library_get_type (void) {
	static volatile gsize spit_data_imports_importable_library_type_id__volatile = 0;
	if (g_once_init_enter (&spit_data_imports_importable_library_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsImportableLibraryIface), (GBaseInitFunc) spit_data_imports_importable_library_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType spit_data_imports_importable_library_type_id;
		spit_data_imports_importable_library_type_id = g_type_register_static (G_TYPE_INTERFACE, "SpitDataImportsImportableLibrary", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (spit_data_imports_importable_library_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&spit_data_imports_importable_library_type_id__volatile, spit_data_imports_importable_library_type_id);
	}
	return spit_data_imports_importable_library_type_id__volatile;
}


SpitDataImportsImportableTag** spit_data_imports_importable_media_item_get_tags (SpitDataImportsImportableMediaItem* self, int* result_length1) {
#line 111 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 111 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_tags (self, result_length1);
#line 700 "DataImportsInterfaces.c"
}


SpitDataImportsImportableEvent* spit_data_imports_importable_media_item_get_event (SpitDataImportsImportableMediaItem* self) {
#line 113 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 113 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_event (self);
#line 709 "DataImportsInterfaces.c"
}


SpitDataImportsImportableRating* spit_data_imports_importable_media_item_get_rating (SpitDataImportsImportableMediaItem* self) {
#line 115 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 115 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_rating (self);
#line 718 "DataImportsInterfaces.c"
}


gchar* spit_data_imports_importable_media_item_get_title (SpitDataImportsImportableMediaItem* self) {
#line 117 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 117 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_title (self);
#line 727 "DataImportsInterfaces.c"
}


gchar* spit_data_imports_importable_media_item_get_folder_path (SpitDataImportsImportableMediaItem* self) {
#line 119 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 119 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_folder_path (self);
#line 736 "DataImportsInterfaces.c"
}


gchar* spit_data_imports_importable_media_item_get_filename (SpitDataImportsImportableMediaItem* self) {
#line 121 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 121 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_filename (self);
#line 745 "DataImportsInterfaces.c"
}


time_t* spit_data_imports_importable_media_item_get_exposure_time (SpitDataImportsImportableMediaItem* self) {
#line 123 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 123 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_exposure_time (self);
#line 754 "DataImportsInterfaces.c"
}


static void spit_data_imports_importable_media_item_base_init (SpitDataImportsImportableMediaItemIface * iface) {
#line 110 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	static gboolean initialized = FALSE;
#line 110 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	if (!initialized) {
#line 110 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		initialized = TRUE;
#line 765 "DataImportsInterfaces.c"
	}
}


/**
 * Represents an importable media item such as a photo or a video file.
 *
 * Developers of data import plugins provide a class that implements this interface.
 */
GType spit_data_imports_importable_media_item_get_type (void) {
	static volatile gsize spit_data_imports_importable_media_item_type_id__volatile = 0;
	if (g_once_init_enter (&spit_data_imports_importable_media_item_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsImportableMediaItemIface), (GBaseInitFunc) spit_data_imports_importable_media_item_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType spit_data_imports_importable_media_item_type_id;
		spit_data_imports_importable_media_item_type_id = g_type_register_static (G_TYPE_INTERFACE, "SpitDataImportsImportableMediaItem", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (spit_data_imports_importable_media_item_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&spit_data_imports_importable_media_item_type_id__volatile, spit_data_imports_importable_media_item_type_id);
	}
	return spit_data_imports_importable_media_item_type_id__volatile;
}


gchar* spit_data_imports_importable_tag_get_name (SpitDataImportsImportableTag* self) {
#line 132 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_TAG (self), NULL);
#line 132 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_TAG_GET_INTERFACE (self)->get_name (self);
#line 793 "DataImportsInterfaces.c"
}


SpitDataImportsImportableTag* spit_data_imports_importable_tag_get_parent (SpitDataImportsImportableTag* self) {
#line 134 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_TAG (self), NULL);
#line 134 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_TAG_GET_INTERFACE (self)->get_parent (self);
#line 802 "DataImportsInterfaces.c"
}


static void spit_data_imports_importable_tag_base_init (SpitDataImportsImportableTagIface * iface) {
#line 131 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	static gboolean initialized = FALSE;
#line 131 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	if (!initialized) {
#line 131 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		initialized = TRUE;
#line 813 "DataImportsInterfaces.c"
	}
}


/**
 * Represents an importable tag.
 *
 * Developers of data import plugins provide a class that implements this interface.
 */
GType spit_data_imports_importable_tag_get_type (void) {
	static volatile gsize spit_data_imports_importable_tag_type_id__volatile = 0;
	if (g_once_init_enter (&spit_data_imports_importable_tag_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsImportableTagIface), (GBaseInitFunc) spit_data_imports_importable_tag_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType spit_data_imports_importable_tag_type_id;
		spit_data_imports_importable_tag_type_id = g_type_register_static (G_TYPE_INTERFACE, "SpitDataImportsImportableTag", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (spit_data_imports_importable_tag_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&spit_data_imports_importable_tag_type_id__volatile, spit_data_imports_importable_tag_type_id);
	}
	return spit_data_imports_importable_tag_type_id__volatile;
}


gchar* spit_data_imports_importable_event_get_name (SpitDataImportsImportableEvent* self) {
#line 143 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_EVENT (self), NULL);
#line 143 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_EVENT_GET_INTERFACE (self)->get_name (self);
#line 841 "DataImportsInterfaces.c"
}


static void spit_data_imports_importable_event_base_init (SpitDataImportsImportableEventIface * iface) {
#line 142 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	static gboolean initialized = FALSE;
#line 142 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	if (!initialized) {
#line 142 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		initialized = TRUE;
#line 852 "DataImportsInterfaces.c"
	}
}


/**
 * Represents an importable event.
 *
 * Developers of data import plugins provide a class that implements this interface.
 */
GType spit_data_imports_importable_event_get_type (void) {
	static volatile gsize spit_data_imports_importable_event_type_id__volatile = 0;
	if (g_once_init_enter (&spit_data_imports_importable_event_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsImportableEventIface), (GBaseInitFunc) spit_data_imports_importable_event_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType spit_data_imports_importable_event_type_id;
		spit_data_imports_importable_event_type_id = g_type_register_static (G_TYPE_INTERFACE, "SpitDataImportsImportableEvent", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (spit_data_imports_importable_event_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&spit_data_imports_importable_event_type_id__volatile, spit_data_imports_importable_event_type_id);
	}
	return spit_data_imports_importable_event_type_id__volatile;
}


gboolean spit_data_imports_importable_rating_is_unrated (SpitDataImportsImportableRating* self) {
#line 155 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_RATING (self), FALSE);
#line 155 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_RATING_GET_INTERFACE (self)->is_unrated (self);
#line 880 "DataImportsInterfaces.c"
}


gboolean spit_data_imports_importable_rating_is_rejected (SpitDataImportsImportableRating* self) {
#line 157 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_RATING (self), FALSE);
#line 157 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_RATING_GET_INTERFACE (self)->is_rejected (self);
#line 889 "DataImportsInterfaces.c"
}


gint spit_data_imports_importable_rating_get_value (SpitDataImportsImportableRating* self) {
#line 159 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_RATING (self), 0);
#line 159 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_IMPORTABLE_RATING_GET_INTERFACE (self)->get_value (self);
#line 898 "DataImportsInterfaces.c"
}


static void spit_data_imports_importable_rating_base_init (SpitDataImportsImportableRatingIface * iface) {
#line 154 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	static gboolean initialized = FALSE;
#line 154 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	if (!initialized) {
#line 154 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		initialized = TRUE;
#line 909 "DataImportsInterfaces.c"
	}
}


/**
 * Represents an importable rating value.
 *
 * Developers of data import plugins provide a class that implements this interface.
 * Note that the value returned by the get_value method should be a value between
 * 1 and 5, unless the rating object is unrated or rejected, in which case the
 * value is unspecified.
 */
GType spit_data_imports_importable_rating_get_type (void) {
	static volatile gsize spit_data_imports_importable_rating_type_id__volatile = 0;
	if (g_once_init_enter (&spit_data_imports_importable_rating_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsImportableRatingIface), (GBaseInitFunc) spit_data_imports_importable_rating_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType spit_data_imports_importable_rating_type_id;
		spit_data_imports_importable_rating_type_id = g_type_register_static (G_TYPE_INTERFACE, "SpitDataImportsImportableRating", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (spit_data_imports_importable_rating_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&spit_data_imports_importable_rating_type_id__volatile, spit_data_imports_importable_rating_type_id);
	}
	return spit_data_imports_importable_rating_type_id__volatile;
}


/**
     * Describes how the on-screen publishing dialog box should look and behave when an associated
     * pane is installed in the on-screen publishing dialog box.
     */
GType spit_data_imports_dialog_pane_geometry_options_get_type (void) {
	static volatile gsize spit_data_imports_dialog_pane_geometry_options_type_id__volatile = 0;
	if (g_once_init_enter (&spit_data_imports_dialog_pane_geometry_options_type_id__volatile)) {
		static const GEnumValue values[] = {{SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_NONE, "SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_NONE", "none"}, {SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE, "SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE", "extended-size"}, {SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE, "SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE", "resizable"}, {SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE, "SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE", "colossal-size"}, {0, NULL, NULL}};
		GType spit_data_imports_dialog_pane_geometry_options_type_id;
		spit_data_imports_dialog_pane_geometry_options_type_id = g_enum_register_static ("SpitDataImportsDialogPaneGeometryOptions", values);
		g_once_init_leave (&spit_data_imports_dialog_pane_geometry_options_type_id__volatile, spit_data_imports_dialog_pane_geometry_options_type_id);
	}
	return spit_data_imports_dialog_pane_geometry_options_type_id__volatile;
}


/**
     * Returns the Gtk.Widget that is this pane's on-screen representation.
     */
GtkWidget* spit_data_imports_dialog_pane_get_widget (SpitDataImportsDialogPane* self) {
#line 204 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self), NULL);
#line 204 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->get_widget (self);
#line 959 "DataImportsInterfaces.c"
}


/**
     * Returns a {@link GeometryOptions} bitfield describing how the on-screen publishing dialog
     * box should look and behave when this pane is installed.
     */
SpitDataImportsDialogPaneGeometryOptions spit_data_imports_dialog_pane_get_preferred_geometry (SpitDataImportsDialogPane* self) {
#line 210 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self), 0);
#line 210 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->get_preferred_geometry (self);
#line 972 "DataImportsInterfaces.c"
}


/**
     * Invoked automatically by Shotwell when this pane has been installed into the on-screen
     * publishing dialog box and become visible to the user.
     */
void spit_data_imports_dialog_pane_on_pane_installed (SpitDataImportsDialogPane* self) {
#line 216 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 216 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->on_pane_installed (self);
#line 985 "DataImportsInterfaces.c"
}


/**
     * Invoked automatically by Shotwell when this pane has been removed from the on-screen
     * publishing dialog box and is no longer visible to the user.
     */
void spit_data_imports_dialog_pane_on_pane_uninstalled (SpitDataImportsDialogPane* self) {
#line 222 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 222 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->on_pane_uninstalled (self);
#line 998 "DataImportsInterfaces.c"
}


static void spit_data_imports_dialog_pane_real_reserved0 (SpitDataImportsDialogPane* self) {
}


void spit_data_imports_dialog_pane_reserved0 (SpitDataImportsDialogPane* self) {
#line 227 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 227 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved0 (self);
#line 1011 "DataImportsInterfaces.c"
}


static void spit_data_imports_dialog_pane_real_reserved1 (SpitDataImportsDialogPane* self) {
}


void spit_data_imports_dialog_pane_reserved1 (SpitDataImportsDialogPane* self) {
#line 228 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 228 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved1 (self);
#line 1024 "DataImportsInterfaces.c"
}


static void spit_data_imports_dialog_pane_real_reserved2 (SpitDataImportsDialogPane* self) {
}


void spit_data_imports_dialog_pane_reserved2 (SpitDataImportsDialogPane* self) {
#line 229 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 229 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved2 (self);
#line 1037 "DataImportsInterfaces.c"
}


static void spit_data_imports_dialog_pane_real_reserved3 (SpitDataImportsDialogPane* self) {
}


void spit_data_imports_dialog_pane_reserved3 (SpitDataImportsDialogPane* self) {
#line 230 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 230 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved3 (self);
#line 1050 "DataImportsInterfaces.c"
}


static void spit_data_imports_dialog_pane_real_reserved4 (SpitDataImportsDialogPane* self) {
}


void spit_data_imports_dialog_pane_reserved4 (SpitDataImportsDialogPane* self) {
#line 231 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 231 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved4 (self);
#line 1063 "DataImportsInterfaces.c"
}


static void spit_data_imports_dialog_pane_real_reserved5 (SpitDataImportsDialogPane* self) {
}


void spit_data_imports_dialog_pane_reserved5 (SpitDataImportsDialogPane* self) {
#line 232 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 232 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved5 (self);
#line 1076 "DataImportsInterfaces.c"
}


static void spit_data_imports_dialog_pane_real_reserved6 (SpitDataImportsDialogPane* self) {
}


void spit_data_imports_dialog_pane_reserved6 (SpitDataImportsDialogPane* self) {
#line 233 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 233 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved6 (self);
#line 1089 "DataImportsInterfaces.c"
}


static void spit_data_imports_dialog_pane_real_reserved7 (SpitDataImportsDialogPane* self) {
}


void spit_data_imports_dialog_pane_reserved7 (SpitDataImportsDialogPane* self) {
#line 234 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 234 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved7 (self);
#line 1102 "DataImportsInterfaces.c"
}


static void spit_data_imports_dialog_pane_base_init (SpitDataImportsDialogPaneIface * iface) {
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	static gboolean initialized = FALSE;
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	if (!initialized) {
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		initialized = TRUE;
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved0 = spit_data_imports_dialog_pane_real_reserved0;
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved1 = spit_data_imports_dialog_pane_real_reserved1;
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved2 = spit_data_imports_dialog_pane_real_reserved2;
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved3 = spit_data_imports_dialog_pane_real_reserved3;
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved4 = spit_data_imports_dialog_pane_real_reserved4;
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved5 = spit_data_imports_dialog_pane_real_reserved5;
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved6 = spit_data_imports_dialog_pane_real_reserved6;
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved7 = spit_data_imports_dialog_pane_real_reserved7;
#line 1129 "DataImportsInterfaces.c"
	}
}


/**
 * Encapsulates a pane that can be installed in the on-screen import dialog box to
 * communicate status to and to get information from the user.
 *
 */
GType spit_data_imports_dialog_pane_get_type (void) {
	static volatile gsize spit_data_imports_dialog_pane_type_id__volatile = 0;
	if (g_once_init_enter (&spit_data_imports_dialog_pane_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsDialogPaneIface), (GBaseInitFunc) spit_data_imports_dialog_pane_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType spit_data_imports_dialog_pane_type_id;
		spit_data_imports_dialog_pane_type_id = g_type_register_static (G_TYPE_INTERFACE, "SpitDataImportsDialogPane", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (spit_data_imports_dialog_pane_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&spit_data_imports_dialog_pane_type_id__volatile, spit_data_imports_dialog_pane_type_id);
	}
	return spit_data_imports_dialog_pane_type_id__volatile;
}


/**
     * Specifies the label text on the push button control that appears in the
     * lower-right-hand corner of the on-screen publishing dialog box.
     */
GType spit_data_imports_plugin_host_button_mode_get_type (void) {
	static volatile gsize spit_data_imports_plugin_host_button_mode_type_id__volatile = 0;
	if (g_once_init_enter (&spit_data_imports_plugin_host_button_mode_type_id__volatile)) {
		static const GEnumValue values[] = {{SPIT_DATA_IMPORTS_PLUGIN_HOST_BUTTON_MODE_CLOSE, "SPIT_DATA_IMPORTS_PLUGIN_HOST_BUTTON_MODE_CLOSE", "close"}, {SPIT_DATA_IMPORTS_PLUGIN_HOST_BUTTON_MODE_CANCEL, "SPIT_DATA_IMPORTS_PLUGIN_HOST_BUTTON_MODE_CANCEL", "cancel"}, {0, NULL, NULL}};
		GType spit_data_imports_plugin_host_button_mode_type_id;
		spit_data_imports_plugin_host_button_mode_type_id = g_enum_register_static ("SpitDataImportsPluginHostButtonMode", values);
		g_once_init_leave (&spit_data_imports_plugin_host_button_mode_type_id__volatile, spit_data_imports_plugin_host_button_mode_type_id);
	}
	return spit_data_imports_plugin_host_button_mode_type_id__volatile;
}


/**
     * Notifies the user that an unrecoverable import error has occurred and halts
     * the import process.
     *
     * @param err An error object that describes the kind of error that occurred.
     */
void spit_data_imports_plugin_host_post_error (SpitDataImportsPluginHost* self, GError* err) {
#line 271 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 271 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->post_error (self, err);
#line 1179 "DataImportsInterfaces.c"
}


/**
     * Notifies the user that an unrecoverable import error has occurred and halts
     * the import process.
     *
     * @param msg A message that describes the kind of error that occurred.
     */
void spit_data_imports_plugin_host_post_error_message (SpitDataImportsPluginHost* self, const gchar* msg) {
#line 279 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 279 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->post_error_message (self, msg);
#line 1194 "DataImportsInterfaces.c"
}


/**
     * Starts the import process.
     *
     * Calling this method starts the import activity for this host.
     */
void spit_data_imports_plugin_host_start_importing (SpitDataImportsPluginHost* self) {
#line 286 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 286 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->start_importing (self);
#line 1208 "DataImportsInterfaces.c"
}


/**
     * Halts the import process.
     *
     * Calling this method stops all import activity and hides the on-screen import
     * dialog box.
     */
void spit_data_imports_plugin_host_stop_importing (SpitDataImportsPluginHost* self) {
#line 294 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 294 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->stop_importing (self);
#line 1223 "DataImportsInterfaces.c"
}


/**
     * Returns a reference to the {@link DataImporter} object that this is currently hosting.
     */
SpitDataImportsDataImporter* spit_data_imports_plugin_host_get_data_importer (SpitDataImportsPluginHost* self) {
#line 299 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self), NULL);
#line 299 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->get_data_importer (self);
#line 1235 "DataImportsInterfaces.c"
}


/**
     * Attempts to install a pane in the on-screen data import dialog box, making the pane visible
     * and allowing it to interact with the user.
     *
     * If an error has posted, the {@link PluginHost} will not honor this request.
     * 
     * @param pane the pane to install
     *
     * @param mode allows you to set the text displayed on the close/cancel button in the
     * lower-right-hand corner of the on-screen data import dialog box when pane is installed.
     * If mode is ButtonMode.CLOSE, the button will have the title "Close." If mode is
     * ButtonMode.CANCEL, the button will be titled "Cancel." You should set mode depending on
     * whether a cancellable action is in progress. For example, if your importer is in the
     * middle of processing 3 of 8 videos, then mode should be ButtonMode.CANCEL. However, if
     * the processing operation has completed and the success pane is displayed, then mode
     * should be ButtonMode.CLOSE, because all cancellable actions have already
     * occurred.
     */
void spit_data_imports_plugin_host_install_dialog_pane (SpitDataImportsPluginHost* self, SpitDataImportsDialogPane* pane, SpitDataImportsPluginHostButtonMode mode) {
#line 319 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 319 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->install_dialog_pane (self, pane, mode);
#line 1262 "DataImportsInterfaces.c"
}


/**
     * Attempts to install a pane in the on-screen data import dialog box that contains
     * static text.
     *
     * The text appears centered in the data import dialog box and is drawn in
     * the system font. This is a convenience method only; similar results could be
     * achieved by manually constructing a Gtk.Label widget, wrapping it inside a
     * {@link DialogPane}, and installing it manually with a call to
     * install_dialog_pane( ). To provide visual consistency across data import services,
     * however, always use this convenience method instead of constructing label panes when
     * you need to display static text to the user.
     *
     * If an error has posted, the {@link PluginHost} will not honor this request.
     * 
     * @param message the text to show in the pane
     *
     * @param mode allows you to set the text displayed on the close/cancel button in the
     * lower-right-hand corner of the on-screen data import dialog box when pane is installed.
     * If mode is ButtonMode.CLOSE, the button will have the title "Close." If mode is
     * ButtonMode.CANCEL, the button will be titled "Cancel." You should set mode depending on
     * whether a cancellable action is in progress. For example, if your importer is in the
     * middle of processing 3 of 8 videos, then mode should be ButtonMode.CANCEL. However, if
     * the processing operation has completed and the success pane is displayed, then mode
     * should be ButtonMode.CLOSE, because all cancellable actions have already
     * occurred.
     */
void spit_data_imports_plugin_host_install_static_message_pane (SpitDataImportsPluginHost* self, const gchar* message, SpitDataImportsPluginHostButtonMode mode) {
#line 348 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 348 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->install_static_message_pane (self, message, mode);
#line 1297 "DataImportsInterfaces.c"
}


/**
     * Attempts to install a library selection pane that presents a list of
     * discovered libraries to the user.
     *
     * When the user clicks the “OK” button, you’ll be notified of the user’s action through
     * the 'on_library_selected' callback if a discovered library was selected or through
     * the 'on_file_selected' callback if a file was selected.
     *
     * If an error has posted, the {@link PluginHost} will not honor this request.
     *
     * @param welcome_message the text to be displayed above the list of discovered
     * libraries.
     *
     * @param discovered_libraries the list of importable libraries that the plugin
     * has discovered in well known locations.
     *
     * @param file_select_label the label to display for the file selection
     * option. If this label is null, the
     * user will not be presented with a file selection option.
     */
void spit_data_imports_plugin_host_install_library_selection_pane (SpitDataImportsPluginHost* self, const gchar* welcome_message, SpitDataImportsImportableLibrary** discovered_libraries, int discovered_libraries_length1, const gchar* file_select_label) {
#line 371 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 371 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->install_library_selection_pane (self, welcome_message, discovered_libraries, discovered_libraries_length1, file_select_label);
#line 1326 "DataImportsInterfaces.c"
}


/**
     * Attempts to install a progress pane that provides the user with feedback
     * on import preparation.
     *
     * If an error has posted, the {@link PluginHost} will not honor this request.
     *
     * @param message the text to be displayed above the progress bar.
     */
void spit_data_imports_plugin_host_install_import_progress_pane (SpitDataImportsPluginHost* self, const gchar* message) {
#line 385 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 385 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->install_import_progress_pane (self, message);
#line 1343 "DataImportsInterfaces.c"
}


/**
     * Update the progress bar installed by install_import_progress_pane.
     *
     * If an error has posted, the {@link PluginHost} will not honor this request.
     *
     * @param progress a value between 0.0 and 1.0 identifying progress for the
     * plugin.
     *
     * @param progress_label the text to be displayed below the progress bar. If that
     * parameter is null, the message will be left unchanged.
     */
void spit_data_imports_plugin_host_update_import_progress_pane (SpitDataImportsPluginHost* self, gdouble progress, const gchar* progress_message) {
#line 400 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 400 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->update_import_progress_pane (self, progress, progress_message);
#line 1363 "DataImportsInterfaces.c"
}


/**
     * Sends an importable media item to the host in order to prepare it for import
     * and update the progress bar installed by install_import_progress_pane.
     *
     * If an error has posted, the {@link PluginHost} will not honor this request.
     *
     * @param item the importable media item to prepare for import.
     *
     * @param progress a value between 0.0 and 1.0 identifying progress for the
     * plugin.
     *
     * @param host_progress_delta the amount of progress the host should update
     * the progress bar during import preparation. Plugins should ensure that
     * a proportion of progress for each media item is set aside for the host
     * in oder to ensure a smoother update to the progress bar.
     *
     * @param progress_message the text to be displayed below the progress bar. If that
     * parameter is null, the message will be left unchanged.
     */
void spit_data_imports_plugin_host_prepare_media_items_for_import (SpitDataImportsPluginHost* self, SpitDataImportsImportableMediaItem** items, int items_length1, gdouble progress, gdouble host_progress_delta, const gchar* progress_message) {
#line 424 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 424 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->prepare_media_items_for_import (self, items, items_length1, progress, host_progress_delta, progress_message);
#line 1391 "DataImportsInterfaces.c"
}


/**
     * Finalize the import sequence for the plugin. This tells the host that
     * all media items have been processed and that the plugin has finished all
     * import work. Once this method has been called, all resources used by the
     * plugin for import should be released and the plugin should be back to the
     * state it had just after running the start method. The host will then display
     * the final message and show progress as fully complete. In a standard import
     * scenario, the user is expected to click the Close button to dismiss the
     * dialog. On first run, the host may call the LibrarySelectedCallback again
     * to import another library handled by the same plugin.
     *
     * If an error has posted, the {@link PluginHost} will not honor this request.
     *
     * @param finalize_message the text to be displayed below the progress bar. If that
     * parameter is null, the message will be left unchanged.
     */
void spit_data_imports_plugin_host_finalize_import (SpitDataImportsPluginHost* self, SpitDataImportsImportedItemsCountCallback report_imported_items_count, void* report_imported_items_count_target, const gchar* finalize_message) {
#line 447 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 447 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->finalize_import (self, report_imported_items_count, report_imported_items_count_target, finalize_message);
#line 1416 "DataImportsInterfaces.c"
}


static void spit_data_imports_plugin_host_real_reserved0 (SpitDataImportsPluginHost* self) {
}


void spit_data_imports_plugin_host_reserved0 (SpitDataImportsPluginHost* self) {
#line 455 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 455 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved0 (self);
#line 1429 "DataImportsInterfaces.c"
}


static void spit_data_imports_plugin_host_real_reserved1 (SpitDataImportsPluginHost* self) {
}


void spit_data_imports_plugin_host_reserved1 (SpitDataImportsPluginHost* self) {
#line 456 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 456 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved1 (self);
#line 1442 "DataImportsInterfaces.c"
}


static void spit_data_imports_plugin_host_real_reserved2 (SpitDataImportsPluginHost* self) {
}


void spit_data_imports_plugin_host_reserved2 (SpitDataImportsPluginHost* self) {
#line 457 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 457 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved2 (self);
#line 1455 "DataImportsInterfaces.c"
}


static void spit_data_imports_plugin_host_real_reserved3 (SpitDataImportsPluginHost* self) {
}


void spit_data_imports_plugin_host_reserved3 (SpitDataImportsPluginHost* self) {
#line 458 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 458 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved3 (self);
#line 1468 "DataImportsInterfaces.c"
}


static void spit_data_imports_plugin_host_real_reserved4 (SpitDataImportsPluginHost* self) {
}


void spit_data_imports_plugin_host_reserved4 (SpitDataImportsPluginHost* self) {
#line 459 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 459 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved4 (self);
#line 1481 "DataImportsInterfaces.c"
}


static void spit_data_imports_plugin_host_real_reserved5 (SpitDataImportsPluginHost* self) {
}


void spit_data_imports_plugin_host_reserved5 (SpitDataImportsPluginHost* self) {
#line 460 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 460 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved5 (self);
#line 1494 "DataImportsInterfaces.c"
}


static void spit_data_imports_plugin_host_real_reserved6 (SpitDataImportsPluginHost* self) {
}


void spit_data_imports_plugin_host_reserved6 (SpitDataImportsPluginHost* self) {
#line 461 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 461 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved6 (self);
#line 1507 "DataImportsInterfaces.c"
}


static void spit_data_imports_plugin_host_real_reserved7 (SpitDataImportsPluginHost* self) {
}


void spit_data_imports_plugin_host_reserved7 (SpitDataImportsPluginHost* self) {
#line 462 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 462 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved7 (self);
#line 1520 "DataImportsInterfaces.c"
}


static void spit_data_imports_plugin_host_base_init (SpitDataImportsPluginHostIface * iface) {
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	static gboolean initialized = FALSE;
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	if (!initialized) {
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		initialized = TRUE;
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved0 = spit_data_imports_plugin_host_real_reserved0;
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved1 = spit_data_imports_plugin_host_real_reserved1;
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved2 = spit_data_imports_plugin_host_real_reserved2;
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved3 = spit_data_imports_plugin_host_real_reserved3;
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved4 = spit_data_imports_plugin_host_real_reserved4;
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved5 = spit_data_imports_plugin_host_real_reserved5;
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved6 = spit_data_imports_plugin_host_real_reserved6;
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved7 = spit_data_imports_plugin_host_real_reserved7;
#line 1547 "DataImportsInterfaces.c"
	}
}


/**
 * Manages and provides services for data import plugins.
 *
 * Implemented inside Shotwell, the PluginHost provides an interface through which the
 * developers of data import plugins can query and make changes to the import
 * environment. Plugins can use the services of the PluginHost only when their
 * {@link DataImporter} is in the running state. This ensures that non-running data importers
 * don’t destructively interfere with the actively running importer.
 */
GType spit_data_imports_plugin_host_get_type (void) {
	static volatile gsize spit_data_imports_plugin_host_type_id__volatile = 0;
	if (g_once_init_enter (&spit_data_imports_plugin_host_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsPluginHostIface), (GBaseInitFunc) spit_data_imports_plugin_host_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType spit_data_imports_plugin_host_type_id;
		spit_data_imports_plugin_host_type_id = g_type_register_static (G_TYPE_INTERFACE, "SpitDataImportsPluginHost", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (spit_data_imports_plugin_host_type_id, G_TYPE_OBJECT);
		g_type_interface_add_prerequisite (spit_data_imports_plugin_host_type_id, SPIT_TYPE_HOST_INTERFACE);
		g_once_init_leave (&spit_data_imports_plugin_host_type_id__volatile, spit_data_imports_plugin_host_type_id);
	}
	return spit_data_imports_plugin_host_type_id__volatile;
}


/**
     * A factory method that instantiates and returns a new {@link DataImporter} object
     * that this Service describes.
     */
SpitDataImportsDataImporter* spit_data_imports_service_create_data_importer (SpitDataImportsService* self, SpitDataImportsPluginHost* host) {
#line 475 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self), NULL);
#line 475 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	return SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->create_data_importer (self, host);
#line 1584 "DataImportsInterfaces.c"
}


static void spit_data_imports_service_real_reserved0 (SpitDataImportsService* self) {
}


void spit_data_imports_service_reserved0 (SpitDataImportsService* self) {
#line 480 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 480 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved0 (self);
#line 1597 "DataImportsInterfaces.c"
}


static void spit_data_imports_service_real_reserved1 (SpitDataImportsService* self) {
}


void spit_data_imports_service_reserved1 (SpitDataImportsService* self) {
#line 481 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 481 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved1 (self);
#line 1610 "DataImportsInterfaces.c"
}


static void spit_data_imports_service_real_reserved2 (SpitDataImportsService* self) {
}


void spit_data_imports_service_reserved2 (SpitDataImportsService* self) {
#line 482 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 482 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved2 (self);
#line 1623 "DataImportsInterfaces.c"
}


static void spit_data_imports_service_real_reserved3 (SpitDataImportsService* self) {
}


void spit_data_imports_service_reserved3 (SpitDataImportsService* self) {
#line 483 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 483 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved3 (self);
#line 1636 "DataImportsInterfaces.c"
}


static void spit_data_imports_service_real_reserved4 (SpitDataImportsService* self) {
}


void spit_data_imports_service_reserved4 (SpitDataImportsService* self) {
#line 484 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 484 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved4 (self);
#line 1649 "DataImportsInterfaces.c"
}


static void spit_data_imports_service_real_reserved5 (SpitDataImportsService* self) {
}


void spit_data_imports_service_reserved5 (SpitDataImportsService* self) {
#line 485 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 485 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved5 (self);
#line 1662 "DataImportsInterfaces.c"
}


static void spit_data_imports_service_real_reserved6 (SpitDataImportsService* self) {
}


void spit_data_imports_service_reserved6 (SpitDataImportsService* self) {
#line 486 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 486 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved6 (self);
#line 1675 "DataImportsInterfaces.c"
}


static void spit_data_imports_service_real_reserved7 (SpitDataImportsService* self) {
}


void spit_data_imports_service_reserved7 (SpitDataImportsService* self) {
#line 487 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 487 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved7 (self);
#line 1688 "DataImportsInterfaces.c"
}


static void spit_data_imports_service_base_init (SpitDataImportsServiceIface * iface) {
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	static gboolean initialized = FALSE;
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
	if (!initialized) {
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		initialized = TRUE;
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved0 = spit_data_imports_service_real_reserved0;
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved1 = spit_data_imports_service_real_reserved1;
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved2 = spit_data_imports_service_real_reserved2;
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved3 = spit_data_imports_service_real_reserved3;
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved4 = spit_data_imports_service_real_reserved4;
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved5 = spit_data_imports_service_real_reserved5;
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved6 = spit_data_imports_service_real_reserved6;
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
		iface->reserved7 = spit_data_imports_service_real_reserved7;
#line 1715 "DataImportsInterfaces.c"
	}
}


/**
 * Describes the features and capabilities of a data import service.
 *
 * Developers of data import plugins provide a class that implements this interface.
 */
GType spit_data_imports_service_get_type (void) {
	static volatile gsize spit_data_imports_service_type_id__volatile = 0;
	if (g_once_init_enter (&spit_data_imports_service_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsServiceIface), (GBaseInitFunc) spit_data_imports_service_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType spit_data_imports_service_type_id;
		spit_data_imports_service_type_id = g_type_register_static (G_TYPE_INTERFACE, "SpitDataImportsService", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (spit_data_imports_service_type_id, G_TYPE_OBJECT);
		g_type_interface_add_prerequisite (spit_data_imports_service_type_id, SPIT_TYPE_PLUGGABLE);
		g_once_init_leave (&spit_data_imports_service_type_id__volatile, spit_data_imports_service_type_id);
	}
	return spit_data_imports_service_type_id__volatile;
}