summaryrefslogtreecommitdiff
path: root/src/plugins/StandardHostInterface.c
blob: 497024d7b0aef1e1c3f718b9a283c53f08e77484 (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
/* StandardHostInterface.c generated by valac 0.34.4, the Vala compiler
 * generated from StandardHostInterface.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 "shotwell-plugin-dev-1.0.h"
#include <stdlib.h>
#include <string.h>
#include <gio/gio.h>
#include <float.h>
#include <math.h>


#define PLUGINS_TYPE_STANDARD_HOST_INTERFACE (plugins_standard_host_interface_get_type ())
#define PLUGINS_STANDARD_HOST_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface))
#define PLUGINS_STANDARD_HOST_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterfaceClass))
#define PLUGINS_IS_STANDARD_HOST_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLUGINS_TYPE_STANDARD_HOST_INTERFACE))
#define PLUGINS_IS_STANDARD_HOST_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUGINS_TYPE_STANDARD_HOST_INTERFACE))
#define PLUGINS_STANDARD_HOST_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterfaceClass))

typedef struct _PluginsStandardHostInterface PluginsStandardHostInterface;
typedef struct _PluginsStandardHostInterfaceClass PluginsStandardHostInterfaceClass;
typedef struct _PluginsStandardHostInterfacePrivate PluginsStandardHostInterfacePrivate;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define TYPE_CONFIGURATION_FACADE (configuration_facade_get_type ())
#define CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacade))
#define CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass))
#define IS_CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONFIGURATION_FACADE))
#define IS_CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CONFIGURATION_FACADE))
#define CONFIGURATION_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass))

typedef struct _ConfigurationFacade ConfigurationFacade;
typedef struct _ConfigurationFacadeClass ConfigurationFacadeClass;

#define CONFIG_TYPE_FACADE (config_facade_get_type ())
#define CONFIG_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONFIG_TYPE_FACADE, ConfigFacade))
#define CONFIG_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONFIG_TYPE_FACADE, ConfigFacadeClass))
#define CONFIG_IS_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONFIG_TYPE_FACADE))
#define CONFIG_IS_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONFIG_TYPE_FACADE))
#define CONFIG_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONFIG_TYPE_FACADE, ConfigFacadeClass))

typedef struct _ConfigFacade ConfigFacade;
typedef struct _ConfigFacadeClass ConfigFacadeClass;

struct _PluginsStandardHostInterface {
	GObject parent_instance;
	PluginsStandardHostInterfacePrivate * priv;
};

struct _PluginsStandardHostInterfaceClass {
	GObjectClass parent_class;
};

struct _PluginsStandardHostInterfacePrivate {
	gchar* config_domain;
	gchar* config_id;
	GFile* module_file;
	SpitPluggableInfo info;
};


static gpointer plugins_standard_host_interface_parent_class = NULL;
static SpitHostInterfaceIface* plugins_standard_host_interface_spit_host_interface_parent_iface = NULL;

GType plugins_standard_host_interface_get_type (void) G_GNUC_CONST;
#define PLUGINS_STANDARD_HOST_INTERFACE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterfacePrivate))
enum  {
	PLUGINS_STANDARD_HOST_INTERFACE_DUMMY_PROPERTY
};
PluginsStandardHostInterface* plugins_standard_host_interface_new (SpitPluggable* pluggable, const gchar* config_domain);
PluginsStandardHostInterface* plugins_standard_host_interface_construct (GType object_type, SpitPluggable* pluggable, const gchar* config_domain);
static gchar* plugins_standard_host_interface_parse_key (const gchar* id);
GFile* plugins_get_pluggable_module_file (SpitPluggable* pluggable);
static GFile* plugins_standard_host_interface_real_get_module_file (SpitHostInterface* base);
static gboolean plugins_standard_host_interface_real_get_config_bool (SpitHostInterface* base, const gchar* key, gboolean def);
GType configuration_facade_get_type (void) G_GNUC_CONST;
GType config_facade_get_type (void) G_GNUC_CONST;
ConfigFacade* config_facade_get_instance (void);
gboolean configuration_facade_get_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def);
static void plugins_standard_host_interface_real_set_config_bool (SpitHostInterface* base, const gchar* key, gboolean val);
void configuration_facade_set_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val);
static gint plugins_standard_host_interface_real_get_config_int (SpitHostInterface* base, const gchar* key, gint def);
gint configuration_facade_get_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint def);
static void plugins_standard_host_interface_real_set_config_int (SpitHostInterface* base, const gchar* key, gint val);
void configuration_facade_set_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint val);
static gchar* plugins_standard_host_interface_real_get_config_string (SpitHostInterface* base, const gchar* key, const gchar* def);
gchar* configuration_facade_get_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def);
static void plugins_standard_host_interface_real_set_config_string (SpitHostInterface* base, const gchar* key, const gchar* val);
void configuration_facade_set_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val);
static gdouble plugins_standard_host_interface_real_get_config_double (SpitHostInterface* base, const gchar* key, gdouble def);
gdouble configuration_facade_get_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def);
static void plugins_standard_host_interface_real_set_config_double (SpitHostInterface* base, const gchar* key, gdouble val);
void configuration_facade_set_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val);
static void plugins_standard_host_interface_real_unset_config_key (SpitHostInterface* base, const gchar* key);
void configuration_facade_unset_plugin_key (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key);
static void plugins_standard_host_interface_finalize (GObject* obj);


PluginsStandardHostInterface* plugins_standard_host_interface_construct (GType object_type, SpitPluggable* pluggable, const gchar* config_domain) {
	PluginsStandardHostInterface * self = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	SpitPluggable* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	SpitPluggable* _tmp5_ = NULL;
	GFile* _tmp6_ = NULL;
	SpitPluggable* _tmp7_ = NULL;
#line 15 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	g_return_val_if_fail (SPIT_IS_PLUGGABLE (pluggable), NULL);
#line 15 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	g_return_val_if_fail (config_domain != NULL, NULL);
#line 15 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self = (PluginsStandardHostInterface*) g_object_new (object_type, NULL);
#line 16 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp0_ = config_domain;
#line 16 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 16 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_free0 (self->priv->config_domain);
#line 16 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self->priv->config_domain = _tmp1_;
#line 17 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp2_ = pluggable;
#line 17 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp3_ = spit_pluggable_get_id (_tmp2_);
#line 17 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp4_ = plugins_standard_host_interface_parse_key (_tmp3_);
#line 17 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_free0 (self->priv->config_id);
#line 17 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self->priv->config_id = _tmp4_;
#line 18 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp5_ = pluggable;
#line 18 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp6_ = plugins_get_pluggable_module_file (_tmp5_);
#line 18 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_object_unref0 (self->priv->module_file);
#line 18 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self->priv->module_file = _tmp6_;
#line 19 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp7_ = pluggable;
#line 19 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	spit_pluggable_get_info (_tmp7_, &self->priv->info);
#line 15 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	return self;
#line 156 "StandardHostInterface.c"
}


PluginsStandardHostInterface* plugins_standard_host_interface_new (SpitPluggable* pluggable, const gchar* config_domain) {
#line 15 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	return plugins_standard_host_interface_construct (PLUGINS_TYPE_STANDARD_HOST_INTERFACE, pluggable, config_domain);
#line 163 "StandardHostInterface.c"
}


static gchar* plugins_standard_host_interface_parse_key (const gchar* id) {
	gchar* result = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GQuark _tmp3_ = 0U;
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	static GQuark _tmp2_label0 = 0;
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	static GQuark _tmp2_label1 = 0;
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	static GQuark _tmp2_label2 = 0;
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	static GQuark _tmp2_label3 = 0;
#line 22 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	g_return_val_if_fail (id != NULL, NULL);
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp0_ = id;
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp1_ = _tmp0_;
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp3_ = (NULL == _tmp1_) ? 0 : g_quark_from_string (_tmp1_);
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	if (_tmp3_ == ((0 != _tmp2_label0) ? _tmp2_label0 : (_tmp2_label0 = g_quark_from_static_string ("org.yorba.shotwell.publishing.facebook")))) {
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
		switch (0) {
#line 192 "StandardHostInterface.c"
			default:
			{
				gchar* _tmp4_ = NULL;
#line 27 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				_tmp4_ = g_strdup ("facebook");
#line 27 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				result = _tmp4_;
#line 27 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				return result;
#line 202 "StandardHostInterface.c"
			}
		}
	} else if (_tmp3_ == ((0 != _tmp2_label1) ? _tmp2_label1 : (_tmp2_label1 = g_quark_from_static_string ("org.yorba.shotwell.publishing.picasa")))) {
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
		switch (0) {
#line 208 "StandardHostInterface.c"
			default:
			{
				gchar* _tmp5_ = NULL;
#line 30 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				_tmp5_ = g_strdup ("picasa");
#line 30 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				result = _tmp5_;
#line 30 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				return result;
#line 218 "StandardHostInterface.c"
			}
		}
	} else if (_tmp3_ == ((0 != _tmp2_label2) ? _tmp2_label2 : (_tmp2_label2 = g_quark_from_static_string ("org.yorba.shotwell.publishing.flickr")))) {
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
		switch (0) {
#line 224 "StandardHostInterface.c"
			default:
			{
				gchar* _tmp6_ = NULL;
#line 33 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				_tmp6_ = g_strdup ("flickr");
#line 33 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				result = _tmp6_;
#line 33 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				return result;
#line 234 "StandardHostInterface.c"
			}
		}
	} else if (_tmp3_ == ((0 != _tmp2_label3) ? _tmp2_label3 : (_tmp2_label3 = g_quark_from_static_string ("org.yorba.shotwell.publishing.youtube")))) {
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
		switch (0) {
#line 240 "StandardHostInterface.c"
			default:
			{
				gchar* _tmp7_ = NULL;
#line 36 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				_tmp7_ = g_strdup ("youtube");
#line 36 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				result = _tmp7_;
#line 36 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				return result;
#line 250 "StandardHostInterface.c"
			}
		}
	} else {
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
		switch (0) {
#line 256 "StandardHostInterface.c"
			default:
			{
				const gchar* _tmp8_ = NULL;
				gchar* _tmp9_ = NULL;
#line 39 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				_tmp8_ = id;
#line 39 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				_tmp9_ = g_strdup (_tmp8_);
#line 39 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				result = _tmp9_;
#line 39 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
				return result;
#line 269 "StandardHostInterface.c"
			}
		}
	}
}


static gpointer _g_object_ref0 (gpointer self) {
#line 44 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	return self ? g_object_ref (self) : NULL;
#line 279 "StandardHostInterface.c"
}


static GFile* plugins_standard_host_interface_real_get_module_file (SpitHostInterface* base) {
	PluginsStandardHostInterface * self;
	GFile* result = NULL;
	GFile* _tmp0_ = NULL;
	GFile* _tmp1_ = NULL;
#line 43 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 44 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp0_ = self->priv->module_file;
#line 44 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 44 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	result = _tmp1_;
#line 44 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	return result;
#line 298 "StandardHostInterface.c"
}


static gboolean plugins_standard_host_interface_real_get_config_bool (SpitHostInterface* base, const gchar* key, gboolean def) {
	PluginsStandardHostInterface * self;
	gboolean result = FALSE;
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
	gboolean _tmp7_ = FALSE;
#line 47 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 47 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	g_return_val_if_fail (key != NULL, FALSE);
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp0_ = config_facade_get_instance ();
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp1_ = _tmp0_;
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp2_ = self->priv->config_domain;
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp3_ = self->priv->config_id;
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp4_ = key;
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp5_ = def;
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp6_ = configuration_facade_get_plugin_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp7_ = _tmp6_;
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_object_unref0 (_tmp1_);
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	result = _tmp7_;
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	return result;
#line 339 "StandardHostInterface.c"
}


static void plugins_standard_host_interface_real_set_config_bool (SpitHostInterface* base, const gchar* key, gboolean val) {
	PluginsStandardHostInterface * self;
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
#line 51 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 51 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	g_return_if_fail (key != NULL);
#line 52 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp0_ = config_facade_get_instance ();
#line 52 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp1_ = _tmp0_;
#line 52 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp2_ = self->priv->config_domain;
#line 52 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp3_ = self->priv->config_id;
#line 52 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp4_ = key;
#line 52 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp5_ = val;
#line 52 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	configuration_facade_set_plugin_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
#line 52 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_object_unref0 (_tmp1_);
#line 371 "StandardHostInterface.c"
}


static gint plugins_standard_host_interface_real_get_config_int (SpitHostInterface* base, const gchar* key, gint def) {
	PluginsStandardHostInterface * self;
	gint result = 0;
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gint _tmp5_ = 0;
	gint _tmp6_ = 0;
	gint _tmp7_ = 0;
#line 55 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 55 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	g_return_val_if_fail (key != NULL, 0);
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp0_ = config_facade_get_instance ();
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp1_ = _tmp0_;
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp2_ = self->priv->config_domain;
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp3_ = self->priv->config_id;
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp4_ = key;
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp5_ = def;
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp6_ = configuration_facade_get_plugin_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp7_ = _tmp6_;
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_object_unref0 (_tmp1_);
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	result = _tmp7_;
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	return result;
#line 412 "StandardHostInterface.c"
}


static void plugins_standard_host_interface_real_set_config_int (SpitHostInterface* base, const gchar* key, gint val) {
	PluginsStandardHostInterface * self;
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gint _tmp5_ = 0;
#line 59 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 59 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	g_return_if_fail (key != NULL);
#line 60 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp0_ = config_facade_get_instance ();
#line 60 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp1_ = _tmp0_;
#line 60 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp2_ = self->priv->config_domain;
#line 60 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp3_ = self->priv->config_id;
#line 60 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp4_ = key;
#line 60 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp5_ = val;
#line 60 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	configuration_facade_set_plugin_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
#line 60 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_object_unref0 (_tmp1_);
#line 444 "StandardHostInterface.c"
}


static gchar* plugins_standard_host_interface_real_get_config_string (SpitHostInterface* base, const gchar* key, const gchar* def) {
	PluginsStandardHostInterface * self;
	gchar* result = NULL;
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
#line 63 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 63 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	g_return_val_if_fail (key != NULL, NULL);
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp0_ = config_facade_get_instance ();
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp1_ = _tmp0_;
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp2_ = self->priv->config_domain;
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp3_ = self->priv->config_id;
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp4_ = key;
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp5_ = def;
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp6_ = configuration_facade_get_plugin_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp7_ = _tmp6_;
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_object_unref0 (_tmp1_);
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	result = _tmp7_;
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	return result;
#line 485 "StandardHostInterface.c"
}


static void plugins_standard_host_interface_real_set_config_string (SpitHostInterface* base, const gchar* key, const gchar* val) {
	PluginsStandardHostInterface * self;
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
#line 67 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 67 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	g_return_if_fail (key != NULL);
#line 68 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp0_ = config_facade_get_instance ();
#line 68 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp1_ = _tmp0_;
#line 68 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp2_ = self->priv->config_domain;
#line 68 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp3_ = self->priv->config_id;
#line 68 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp4_ = key;
#line 68 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp5_ = val;
#line 68 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	configuration_facade_set_plugin_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
#line 68 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_object_unref0 (_tmp1_);
#line 517 "StandardHostInterface.c"
}


static gdouble plugins_standard_host_interface_real_get_config_double (SpitHostInterface* base, const gchar* key, gdouble def) {
	PluginsStandardHostInterface * self;
	gdouble result = 0.0;
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gdouble _tmp5_ = 0.0;
	gdouble _tmp6_ = 0.0;
	gdouble _tmp7_ = 0.0;
#line 71 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 71 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	g_return_val_if_fail (key != NULL, 0.0);
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp0_ = config_facade_get_instance ();
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp1_ = _tmp0_;
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp2_ = self->priv->config_domain;
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp3_ = self->priv->config_id;
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp4_ = key;
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp5_ = def;
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp6_ = configuration_facade_get_plugin_double (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp7_ = _tmp6_;
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_object_unref0 (_tmp1_);
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	result = _tmp7_;
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	return result;
#line 558 "StandardHostInterface.c"
}


static void plugins_standard_host_interface_real_set_config_double (SpitHostInterface* base, const gchar* key, gdouble val) {
	PluginsStandardHostInterface * self;
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gdouble _tmp5_ = 0.0;
#line 75 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 75 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	g_return_if_fail (key != NULL);
#line 76 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp0_ = config_facade_get_instance ();
#line 76 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp1_ = _tmp0_;
#line 76 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp2_ = self->priv->config_domain;
#line 76 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp3_ = self->priv->config_id;
#line 76 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp4_ = key;
#line 76 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp5_ = val;
#line 76 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	configuration_facade_set_plugin_double (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
#line 76 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_object_unref0 (_tmp1_);
#line 590 "StandardHostInterface.c"
}


static void plugins_standard_host_interface_real_unset_config_key (SpitHostInterface* base, const gchar* key) {
	PluginsStandardHostInterface * self;
	ConfigFacade* _tmp0_ = NULL;
	ConfigFacade* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
#line 79 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 79 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	g_return_if_fail (key != NULL);
#line 80 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp0_ = config_facade_get_instance ();
#line 80 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp1_ = _tmp0_;
#line 80 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp2_ = self->priv->config_domain;
#line 80 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp3_ = self->priv->config_id;
#line 80 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_tmp4_ = key;
#line 80 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	configuration_facade_unset_plugin_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_);
#line 80 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_object_unref0 (_tmp1_);
#line 619 "StandardHostInterface.c"
}


static void plugins_standard_host_interface_class_init (PluginsStandardHostInterfaceClass * klass) {
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	plugins_standard_host_interface_parent_class = g_type_class_peek_parent (klass);
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	g_type_class_add_private (klass, sizeof (PluginsStandardHostInterfacePrivate));
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	G_OBJECT_CLASS (klass)->finalize = plugins_standard_host_interface_finalize;
#line 630 "StandardHostInterface.c"
}


static void plugins_standard_host_interface_spit_host_interface_interface_init (SpitHostInterfaceIface * iface) {
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	plugins_standard_host_interface_spit_host_interface_parent_iface = g_type_interface_peek_parent (iface);
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	iface->get_module_file = (GFile* (*)(SpitHostInterface*)) plugins_standard_host_interface_real_get_module_file;
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	iface->get_config_bool = (gboolean (*)(SpitHostInterface*, const gchar*, gboolean)) plugins_standard_host_interface_real_get_config_bool;
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	iface->set_config_bool = (void (*)(SpitHostInterface*, const gchar*, gboolean)) plugins_standard_host_interface_real_set_config_bool;
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	iface->get_config_int = (gint (*)(SpitHostInterface*, const gchar*, gint)) plugins_standard_host_interface_real_get_config_int;
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	iface->set_config_int = (void (*)(SpitHostInterface*, const gchar*, gint)) plugins_standard_host_interface_real_set_config_int;
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	iface->get_config_string = (gchar* (*)(SpitHostInterface*, const gchar*, const gchar*)) plugins_standard_host_interface_real_get_config_string;
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	iface->set_config_string = (void (*)(SpitHostInterface*, const gchar*, const gchar*)) plugins_standard_host_interface_real_set_config_string;
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	iface->get_config_double = (gdouble (*)(SpitHostInterface*, const gchar*, gdouble)) plugins_standard_host_interface_real_get_config_double;
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	iface->set_config_double = (void (*)(SpitHostInterface*, const gchar*, gdouble)) plugins_standard_host_interface_real_set_config_double;
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	iface->unset_config_key = (void (*)(SpitHostInterface*, const gchar*)) plugins_standard_host_interface_real_unset_config_key;
#line 657 "StandardHostInterface.c"
}


static void plugins_standard_host_interface_instance_init (PluginsStandardHostInterface * self) {
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self->priv = PLUGINS_STANDARD_HOST_INTERFACE_GET_PRIVATE (self);
#line 664 "StandardHostInterface.c"
}


static void plugins_standard_host_interface_finalize (GObject* obj) {
	PluginsStandardHostInterface * self;
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 10 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_free0 (self->priv->config_domain);
#line 11 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_free0 (self->priv->config_id);
#line 12 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	_g_object_unref0 (self->priv->module_file);
#line 13 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	spit_pluggable_info_destroy (&self->priv->info);
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
	G_OBJECT_CLASS (plugins_standard_host_interface_parent_class)->finalize (obj);
#line 682 "StandardHostInterface.c"
}


GType plugins_standard_host_interface_get_type (void) {
	static volatile gsize plugins_standard_host_interface_type_id__volatile = 0;
	if (g_once_init_enter (&plugins_standard_host_interface_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (PluginsStandardHostInterfaceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) plugins_standard_host_interface_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PluginsStandardHostInterface), 0, (GInstanceInitFunc) plugins_standard_host_interface_instance_init, NULL };
		static const GInterfaceInfo spit_host_interface_info = { (GInterfaceInitFunc) plugins_standard_host_interface_spit_host_interface_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType plugins_standard_host_interface_type_id;
		plugins_standard_host_interface_type_id = g_type_register_static (G_TYPE_OBJECT, "PluginsStandardHostInterface", &g_define_type_info, 0);
		g_type_add_interface_static (plugins_standard_host_interface_type_id, SPIT_TYPE_HOST_INTERFACE, &spit_host_interface_info);
		g_once_init_leave (&plugins_standard_host_interface_type_id__volatile, plugins_standard_host_interface_type_id);
	}
	return plugins_standard_host_interface_type_id__volatile;
}