summaryrefslogtreecommitdiff
path: root/src/plugins/SpitInterfaces.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/SpitInterfaces.c')
-rw-r--r--src/plugins/SpitInterfaces.c602
1 files changed, 413 insertions, 189 deletions
diff --git a/src/plugins/SpitInterfaces.c b/src/plugins/SpitInterfaces.c
index 83c548d..d890484 100644
--- a/src/plugins/SpitInterfaces.c
+++ b/src/plugins/SpitInterfaces.c
@@ -1,4 +1,4 @@
-/* SpitInterfaces.c generated by valac 0.36.6, the Vala compiler
+/* SpitInterfaces.c generated by valac 0.40.4, the Vala compiler
* generated from SpitInterfaces.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -7,6 +7,7 @@
* (version 2.1 or later). See the COPYING file in this distribution.
*/
+
#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
@@ -130,16 +131,20 @@ struct _SpitHostInterfaceIface {
#define SPIT_UNSUPPORTED_INTERFACE -1
#define SPIT_CURRENT_INTERFACE 0
-gint spit_negotiate_interfaces (gint min_host_interface, gint max_host_interface, gint plugin_interface);
+gint spit_negotiate_interfaces (gint min_host_interface,
+ gint max_host_interface,
+ gint plugin_interface);
GType spit_entry_point_params_get_type (void) G_GNUC_CONST;
SpitEntryPointParams* spit_entry_point_params_dup (const SpitEntryPointParams* self);
void spit_entry_point_params_free (SpitEntryPointParams* self);
-void spit_entry_point_params_copy (const SpitEntryPointParams* self, SpitEntryPointParams* dest);
+void spit_entry_point_params_copy (const SpitEntryPointParams* self,
+ SpitEntryPointParams* dest);
void spit_entry_point_params_destroy (SpitEntryPointParams* self);
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_copy (const SpitPluggableInfo* self,
+ SpitPluggableInfo* dest);
void spit_pluggable_info_destroy (SpitPluggableInfo* self);
GType spit_pluggable_get_type (void) G_GNUC_CONST;
GType spit_module_get_type (void) G_GNUC_CONST;
@@ -147,7 +152,8 @@ GType spit_module_get_type (void) G_GNUC_CONST;
const gchar* spit_module_get_module_name (SpitModule* self);
const gchar* spit_module_get_version (SpitModule* self);
const gchar* spit_module_get_id (SpitModule* self);
-SpitPluggable** spit_module_get_pluggables (SpitModule* self, int* result_length1);
+SpitPluggable** spit_module_get_pluggables (SpitModule* self,
+ int* result_length1);
void spit_module_reserved0 (SpitModule* self);
static void spit_module_real_reserved0 (SpitModule* self);
void spit_module_reserved1 (SpitModule* self);
@@ -164,12 +170,17 @@ void spit_module_reserved6 (SpitModule* self);
static void spit_module_real_reserved6 (SpitModule* self);
void spit_module_reserved7 (SpitModule* self);
static void spit_module_real_reserved7 (SpitModule* self);
-static GdkPixbuf** _vala_array_dup1 (GdkPixbuf** self, int length);
-gint spit_pluggable_get_pluggable_interface (SpitPluggable* self, gint min_host_interface, gint max_host_interface);
+static GdkPixbuf** _vala_array_dup1 (GdkPixbuf** self,
+ int length);
+gint spit_pluggable_get_pluggable_interface (SpitPluggable* self,
+ gint min_host_interface,
+ gint max_host_interface);
const gchar* spit_pluggable_get_id (SpitPluggable* self);
const gchar* spit_pluggable_get_pluggable_name (SpitPluggable* self);
-void spit_pluggable_get_info (SpitPluggable* self, SpitPluggableInfo* info);
-void spit_pluggable_activation (SpitPluggable* self, gboolean enabled);
+void spit_pluggable_get_info (SpitPluggable* self,
+ SpitPluggableInfo* info);
+void spit_pluggable_activation (SpitPluggable* self,
+ gboolean enabled);
void spit_pluggable_reserved0 (SpitPluggable* self);
static void spit_pluggable_real_reserved0 (SpitPluggable* self);
void spit_pluggable_reserved1 (SpitPluggable* self);
@@ -188,15 +199,32 @@ void spit_pluggable_reserved7 (SpitPluggable* self);
static void spit_pluggable_real_reserved7 (SpitPluggable* self);
GType spit_host_interface_get_type (void) G_GNUC_CONST;
GFile* spit_host_interface_get_module_file (SpitHostInterface* self);
-gboolean spit_host_interface_get_config_bool (SpitHostInterface* self, const gchar* key, gboolean def);
-void spit_host_interface_set_config_bool (SpitHostInterface* self, const gchar* key, gboolean val);
-gint spit_host_interface_get_config_int (SpitHostInterface* self, const gchar* key, gint def);
-void spit_host_interface_set_config_int (SpitHostInterface* self, const gchar* key, gint val);
-gchar* spit_host_interface_get_config_string (SpitHostInterface* self, const gchar* key, const gchar* def);
-void spit_host_interface_set_config_string (SpitHostInterface* self, const gchar* key, const gchar* val);
-gdouble spit_host_interface_get_config_double (SpitHostInterface* self, const gchar* key, gdouble def);
-void spit_host_interface_set_config_double (SpitHostInterface* self, const gchar* key, gdouble val);
-void spit_host_interface_unset_config_key (SpitHostInterface* self, const gchar* key);
+gboolean spit_host_interface_get_config_bool (SpitHostInterface* self,
+ const gchar* key,
+ gboolean def);
+void spit_host_interface_set_config_bool (SpitHostInterface* self,
+ const gchar* key,
+ gboolean val);
+gint spit_host_interface_get_config_int (SpitHostInterface* self,
+ const gchar* key,
+ gint def);
+void spit_host_interface_set_config_int (SpitHostInterface* self,
+ const gchar* key,
+ gint val);
+gchar* spit_host_interface_get_config_string (SpitHostInterface* self,
+ const gchar* key,
+ const gchar* def);
+void spit_host_interface_set_config_string (SpitHostInterface* self,
+ const gchar* key,
+ const gchar* val);
+gdouble spit_host_interface_get_config_double (SpitHostInterface* self,
+ const gchar* key,
+ gdouble def);
+void spit_host_interface_set_config_double (SpitHostInterface* self,
+ const gchar* key,
+ gdouble val);
+void spit_host_interface_unset_config_key (SpitHostInterface* self,
+ const gchar* key);
void spit_host_interface_reserved0 (SpitHostInterface* self);
static void spit_host_interface_real_reserved0 (SpitHostInterface* self);
void spit_host_interface_reserved1 (SpitHostInterface* self);
@@ -213,8 +241,12 @@ void spit_host_interface_reserved6 (SpitHostInterface* self);
static void spit_host_interface_real_reserved6 (SpitHostInterface* self);
void spit_host_interface_reserved7 (SpitHostInterface* self);
static void spit_host_interface_real_reserved7 (SpitHostInterface* self);
-static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
-static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
+static void _vala_array_destroy (gpointer array,
+ gint array_length,
+ GDestroyNotify destroy_func);
+static void _vala_array_free (gpointer array,
+ gint array_length,
+ GDestroyNotify destroy_func);
/**
@@ -229,61 +261,55 @@ static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify
*
* @return The plugin's interface version if supported, {@link UNSUPPORTED_INTERFACE} otherwise.
*/
-gint spit_negotiate_interfaces (gint min_host_interface, gint max_host_interface, gint plugin_interface) {
+gint
+spit_negotiate_interfaces (gint min_host_interface,
+ gint max_host_interface,
+ gint plugin_interface)
+{
gint result = 0;
gint _tmp0_ = 0;
gboolean _tmp1_ = FALSE;
- gint _tmp2_;
- gint _tmp3_;
-#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp2_ = min_host_interface;
-#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp3_ = plugin_interface;
#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- if (_tmp2_ > _tmp3_) {
+ if (min_host_interface > plugin_interface) {
#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
_tmp1_ = TRUE;
-#line 247 "SpitInterfaces.c"
+#line 277 "SpitInterfaces.c"
} else {
- gint _tmp4_;
- gint _tmp5_;
#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp4_ = max_host_interface;
-#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp5_ = plugin_interface;
-#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp1_ = _tmp4_ < _tmp5_;
-#line 257 "SpitInterfaces.c"
+ _tmp1_ = max_host_interface < plugin_interface;
+#line 281 "SpitInterfaces.c"
}
#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
if (_tmp1_) {
#line 48 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
_tmp0_ = SPIT_UNSUPPORTED_INTERFACE;
-#line 263 "SpitInterfaces.c"
+#line 287 "SpitInterfaces.c"
} else {
- gint _tmp6_;
#line 48 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp6_ = plugin_interface;
-#line 48 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp0_ = _tmp6_;
-#line 270 "SpitInterfaces.c"
+ _tmp0_ = plugin_interface;
+#line 291 "SpitInterfaces.c"
}
#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
result = _tmp0_;
#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return result;
-#line 276 "SpitInterfaces.c"
+#line 297 "SpitInterfaces.c"
}
-static gpointer _g_object_ref0 (gpointer self) {
+static gpointer
+_g_object_ref0 (gpointer self)
+{
#line 62 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return self ? g_object_ref (self) : NULL;
-#line 283 "SpitInterfaces.c"
+#line 306 "SpitInterfaces.c"
}
-void spit_entry_point_params_copy (const SpitEntryPointParams* self, SpitEntryPointParams* dest) {
+void
+spit_entry_point_params_copy (const SpitEntryPointParams* self,
+ SpitEntryPointParams* dest)
+{
gint _tmp0_;
gint _tmp1_;
gint _tmp2_;
@@ -309,18 +335,22 @@ void spit_entry_point_params_copy (const SpitEntryPointParams* self, SpitEntryPo
_g_object_unref0 ((*dest).module_file);
#line 62 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
(*dest).module_file = _tmp4_;
-#line 313 "SpitInterfaces.c"
+#line 339 "SpitInterfaces.c"
}
-void spit_entry_point_params_destroy (SpitEntryPointParams* self) {
+void
+spit_entry_point_params_destroy (SpitEntryPointParams* self)
+{
#line 79 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
_g_object_unref0 ((*self).module_file);
-#line 320 "SpitInterfaces.c"
+#line 348 "SpitInterfaces.c"
}
-SpitEntryPointParams* spit_entry_point_params_dup (const SpitEntryPointParams* self) {
+SpitEntryPointParams*
+spit_entry_point_params_dup (const SpitEntryPointParams* self)
+{
SpitEntryPointParams* dup;
#line 62 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
dup = g_new0 (SpitEntryPointParams, 1);
@@ -328,20 +358,24 @@ SpitEntryPointParams* spit_entry_point_params_dup (const SpitEntryPointParams* s
spit_entry_point_params_copy (self, dup);
#line 62 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return dup;
-#line 332 "SpitInterfaces.c"
+#line 362 "SpitInterfaces.c"
}
-void spit_entry_point_params_free (SpitEntryPointParams* self) {
+void
+spit_entry_point_params_free (SpitEntryPointParams* self)
+{
#line 62 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
spit_entry_point_params_destroy (self);
#line 62 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_free (self);
-#line 341 "SpitInterfaces.c"
+#line 373 "SpitInterfaces.c"
}
-GType spit_entry_point_params_get_type (void) {
+GType
+spit_entry_point_params_get_type (void)
+{
static volatile gsize spit_entry_point_params_type_id__volatile = 0;
if (g_once_init_enter (&spit_entry_point_params_type_id__volatile)) {
GType spit_entry_point_params_type_id;
@@ -355,12 +389,14 @@ GType spit_entry_point_params_get_type (void) {
/**
* Returns a user-visible string describing the module.
*/
-const gchar* spit_module_get_module_name (SpitModule* self) {
+const gchar*
+spit_module_get_module_name (SpitModule* self)
+{
#line 117 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_MODULE (self), NULL);
#line 117 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_MODULE_GET_INTERFACE (self)->get_module_name (self);
-#line 364 "SpitInterfaces.c"
+#line 400 "SpitInterfaces.c"
}
@@ -370,12 +406,14 @@ const gchar* spit_module_get_module_name (SpitModule* self) {
* Note that this may be programmatically interpreted at some point, so use a widespread
* versioning scheme.
*/
-const gchar* spit_module_get_version (SpitModule* self) {
+const gchar*
+spit_module_get_version (SpitModule* self)
+{
#line 125 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_MODULE (self), NULL);
#line 125 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_MODULE_GET_INTERFACE (self)->get_version (self);
-#line 379 "SpitInterfaces.c"
+#line 417 "SpitInterfaces.c"
}
@@ -389,12 +427,14 @@ const gchar* spit_module_get_version (SpitModule* self) {
* Best practice: use a reverse-DNS-order scheme, a la Java's packages
* (i.e. "org.yorba.shotwell.frotz").
*/
-const gchar* spit_module_get_id (SpitModule* self) {
+const gchar*
+spit_module_get_id (SpitModule* self)
+{
#line 137 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_MODULE (self), NULL);
#line 137 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_MODULE_GET_INTERFACE (self)->get_id (self);
-#line 398 "SpitInterfaces.c"
+#line 438 "SpitInterfaces.c"
}
@@ -403,120 +443,157 @@ const gchar* spit_module_get_id (SpitModule* self) {
*
* May return NULL or an empty array.
*/
-SpitPluggable** spit_module_get_pluggables (SpitModule* self, int* result_length1) {
+SpitPluggable**
+spit_module_get_pluggables (SpitModule* self,
+ int* result_length1)
+{
#line 144 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_MODULE (self), NULL);
#line 144 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_MODULE_GET_INTERFACE (self)->get_pluggables (self, result_length1);
-#line 412 "SpitInterfaces.c"
+#line 455 "SpitInterfaces.c"
}
-static void spit_module_real_reserved0 (SpitModule* self) {
+static void
+spit_module_real_reserved0 (SpitModule* self)
+{
}
-void spit_module_reserved0 (SpitModule* self) {
+void
+spit_module_reserved0 (SpitModule* self)
+{
#line 149 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 149 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved0 (self);
-#line 425 "SpitInterfaces.c"
+#line 472 "SpitInterfaces.c"
}
-static void spit_module_real_reserved1 (SpitModule* self) {
+static void
+spit_module_real_reserved1 (SpitModule* self)
+{
}
-void spit_module_reserved1 (SpitModule* self) {
+void
+spit_module_reserved1 (SpitModule* self)
+{
#line 150 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 150 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved1 (self);
-#line 438 "SpitInterfaces.c"
+#line 489 "SpitInterfaces.c"
}
-static void spit_module_real_reserved2 (SpitModule* self) {
+static void
+spit_module_real_reserved2 (SpitModule* self)
+{
}
-void spit_module_reserved2 (SpitModule* self) {
+void
+spit_module_reserved2 (SpitModule* self)
+{
#line 151 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 151 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved2 (self);
-#line 451 "SpitInterfaces.c"
+#line 506 "SpitInterfaces.c"
}
-static void spit_module_real_reserved3 (SpitModule* self) {
+static void
+spit_module_real_reserved3 (SpitModule* self)
+{
}
-void spit_module_reserved3 (SpitModule* self) {
+void
+spit_module_reserved3 (SpitModule* self)
+{
#line 152 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 152 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved3 (self);
-#line 464 "SpitInterfaces.c"
+#line 523 "SpitInterfaces.c"
}
-static void spit_module_real_reserved4 (SpitModule* self) {
+static void
+spit_module_real_reserved4 (SpitModule* self)
+{
}
-void spit_module_reserved4 (SpitModule* self) {
+void
+spit_module_reserved4 (SpitModule* self)
+{
#line 153 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 153 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved4 (self);
-#line 477 "SpitInterfaces.c"
+#line 540 "SpitInterfaces.c"
}
-static void spit_module_real_reserved5 (SpitModule* self) {
+static void
+spit_module_real_reserved5 (SpitModule* self)
+{
}
-void spit_module_reserved5 (SpitModule* self) {
+void
+spit_module_reserved5 (SpitModule* self)
+{
#line 154 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 154 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved5 (self);
-#line 490 "SpitInterfaces.c"
+#line 557 "SpitInterfaces.c"
}
-static void spit_module_real_reserved6 (SpitModule* self) {
+static void
+spit_module_real_reserved6 (SpitModule* self)
+{
}
-void spit_module_reserved6 (SpitModule* self) {
+void
+spit_module_reserved6 (SpitModule* self)
+{
#line 155 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 155 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved6 (self);
-#line 503 "SpitInterfaces.c"
+#line 574 "SpitInterfaces.c"
}
-static void spit_module_real_reserved7 (SpitModule* self) {
+static void
+spit_module_real_reserved7 (SpitModule* self)
+{
}
-void spit_module_reserved7 (SpitModule* self) {
+void
+spit_module_reserved7 (SpitModule* self)
+{
#line 156 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 156 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved7 (self);
-#line 516 "SpitInterfaces.c"
+#line 591 "SpitInterfaces.c"
}
-static void spit_module_base_init (SpitModuleIface * iface) {
+static void
+spit_module_base_init (SpitModuleIface * iface)
+{
#line 113 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
static gboolean initialized = FALSE;
#line 113 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
@@ -539,7 +616,7 @@ static void spit_module_base_init (SpitModuleIface * iface) {
iface->reserved6 = spit_module_real_reserved6;
#line 113 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
iface->reserved7 = spit_module_real_reserved7;
-#line 543 "SpitInterfaces.c"
+#line 620 "SpitInterfaces.c"
}
}
@@ -555,7 +632,9 @@ static void spit_module_base_init (SpitModuleIface * iface) {
* should be only one in the library file. The module should implement a g_module_unload method
* and drop the reference there.
*/
-GType spit_module_get_type (void) {
+GType
+spit_module_get_type (void)
+{
static volatile gsize spit_module_type_id__volatile = 0;
if (g_once_init_enter (&spit_module_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitModuleIface), (GBaseInitFunc) spit_module_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -568,28 +647,34 @@ GType spit_module_get_type (void) {
}
-static GdkPixbuf** _vala_array_dup1 (GdkPixbuf** self, int length) {
+static GdkPixbuf**
+_vala_array_dup1 (GdkPixbuf** self,
+ int length)
+{
GdkPixbuf** result;
int i;
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
result = g_new0 (GdkPixbuf*, length + 1);
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
for (i = 0; i < length; i++) {
-#line 579 "SpitInterfaces.c"
+#line 661 "SpitInterfaces.c"
GdkPixbuf* _tmp0_;
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
_tmp0_ = _g_object_ref0 (self[i]);
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
result[i] = _tmp0_;
-#line 585 "SpitInterfaces.c"
+#line 667 "SpitInterfaces.c"
}
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return result;
-#line 589 "SpitInterfaces.c"
+#line 671 "SpitInterfaces.c"
}
-void spit_pluggable_info_copy (const SpitPluggableInfo* self, SpitPluggableInfo* dest) {
+void
+spit_pluggable_info_copy (const SpitPluggableInfo* self,
+ SpitPluggableInfo* dest)
+{
const gchar* _tmp0_;
gchar* _tmp1_;
const gchar* _tmp2_;
@@ -693,11 +778,13 @@ void spit_pluggable_info_copy (const SpitPluggableInfo* self, SpitPluggableInfo*
(*dest).icons = _tmp18_;
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
(*dest).icons_length1 = _tmp18__length1;
-#line 697 "SpitInterfaces.c"
+#line 782 "SpitInterfaces.c"
}
-void spit_pluggable_info_destroy (SpitPluggableInfo* self) {
+void
+spit_pluggable_info_destroy (SpitPluggableInfo* self)
+{
#line 163 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
_g_free0 ((*self).version);
#line 164 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
@@ -716,11 +803,13 @@ void spit_pluggable_info_destroy (SpitPluggableInfo* self) {
_g_free0 ((*self).translators);
#line 179 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
(*self).icons = (_vala_array_free ((*self).icons, (*self).icons_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 720 "SpitInterfaces.c"
+#line 807 "SpitInterfaces.c"
}
-SpitPluggableInfo* spit_pluggable_info_dup (const SpitPluggableInfo* self) {
+SpitPluggableInfo*
+spit_pluggable_info_dup (const SpitPluggableInfo* self)
+{
SpitPluggableInfo* dup;
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
dup = g_new0 (SpitPluggableInfo, 1);
@@ -728,20 +817,24 @@ SpitPluggableInfo* spit_pluggable_info_dup (const SpitPluggableInfo* self) {
spit_pluggable_info_copy (self, dup);
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return dup;
-#line 732 "SpitInterfaces.c"
+#line 821 "SpitInterfaces.c"
}
-void spit_pluggable_info_free (SpitPluggableInfo* self) {
+void
+spit_pluggable_info_free (SpitPluggableInfo* self)
+{
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
spit_pluggable_info_destroy (self);
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_free (self);
-#line 741 "SpitInterfaces.c"
+#line 832 "SpitInterfaces.c"
}
-GType spit_pluggable_info_get_type (void) {
+GType
+spit_pluggable_info_get_type (void)
+{
static volatile gsize spit_pluggable_info_type_id__volatile = 0;
if (g_once_init_enter (&spit_pluggable_info_type_id__volatile)) {
GType spit_pluggable_info_type_id;
@@ -773,12 +866,16 @@ GType spit_pluggable_info_get_type (void) {
* @return The version number supported by the host and the Pluggable or
* {@link UNSUPPORTED_INTERFACE}.
*/
-gint spit_pluggable_get_pluggable_interface (SpitPluggable* self, gint min_host_interface, gint max_host_interface) {
+gint
+spit_pluggable_get_pluggable_interface (SpitPluggable* self,
+ gint min_host_interface,
+ gint max_host_interface)
+{
#line 210 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_PLUGGABLE (self), 0);
#line 210 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_PLUGGABLE_GET_INTERFACE (self)->get_pluggable_interface (self, min_host_interface, max_host_interface);
-#line 782 "SpitInterfaces.c"
+#line 879 "SpitInterfaces.c"
}
@@ -788,36 +885,43 @@ gint spit_pluggable_get_pluggable_interface (SpitPluggable* self, gint min_host_
* Like {@link Module.get_id}, best practice is to use a reverse-DNS-order scheme to avoid
* conflicts.
*/
-const gchar* spit_pluggable_get_id (SpitPluggable* self) {
+const gchar*
+spit_pluggable_get_id (SpitPluggable* self)
+{
#line 218 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_PLUGGABLE (self), NULL);
#line 218 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_PLUGGABLE_GET_INTERFACE (self)->get_id (self);
-#line 797 "SpitInterfaces.c"
+#line 896 "SpitInterfaces.c"
}
/**
* Returns a user-visible name for the Pluggable.
*/
-const gchar* spit_pluggable_get_pluggable_name (SpitPluggable* self) {
+const gchar*
+spit_pluggable_get_pluggable_name (SpitPluggable* self)
+{
#line 223 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_PLUGGABLE (self), NULL);
#line 223 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_PLUGGABLE_GET_INTERFACE (self)->get_pluggable_name (self);
-#line 809 "SpitInterfaces.c"
+#line 910 "SpitInterfaces.c"
}
/**
* Returns extra information about the Pluggable that is used to identify it to the user.
*/
-void spit_pluggable_get_info (SpitPluggable* self, SpitPluggableInfo* info) {
+void
+spit_pluggable_get_info (SpitPluggable* self,
+ SpitPluggableInfo* info)
+{
#line 228 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 228 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->get_info (self, info);
-#line 821 "SpitInterfaces.c"
+#line 925 "SpitInterfaces.c"
}
@@ -834,120 +938,157 @@ void spit_pluggable_get_info (SpitPluggable* self, SpitPluggableInfo* info) {
*
* @param enabled ``true`` if the Pluggable has been enabled, ``false`` otherwise.
*/
-void spit_pluggable_activation (SpitPluggable* self, gboolean enabled) {
+void
+spit_pluggable_activation (SpitPluggable* self,
+ gboolean enabled)
+{
#line 243 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 243 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->activation (self, enabled);
-#line 843 "SpitInterfaces.c"
+#line 950 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved0 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved0 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved0 (SpitPluggable* self) {
+void
+spit_pluggable_reserved0 (SpitPluggable* self)
+{
#line 248 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 248 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved0 (self);
-#line 856 "SpitInterfaces.c"
+#line 967 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved1 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved1 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved1 (SpitPluggable* self) {
+void
+spit_pluggable_reserved1 (SpitPluggable* self)
+{
#line 249 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 249 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved1 (self);
-#line 869 "SpitInterfaces.c"
+#line 984 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved2 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved2 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved2 (SpitPluggable* self) {
+void
+spit_pluggable_reserved2 (SpitPluggable* self)
+{
#line 250 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 250 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved2 (self);
-#line 882 "SpitInterfaces.c"
+#line 1001 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved3 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved3 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved3 (SpitPluggable* self) {
+void
+spit_pluggable_reserved3 (SpitPluggable* self)
+{
#line 251 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 251 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved3 (self);
-#line 895 "SpitInterfaces.c"
+#line 1018 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved4 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved4 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved4 (SpitPluggable* self) {
+void
+spit_pluggable_reserved4 (SpitPluggable* self)
+{
#line 252 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 252 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved4 (self);
-#line 908 "SpitInterfaces.c"
+#line 1035 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved5 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved5 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved5 (SpitPluggable* self) {
+void
+spit_pluggable_reserved5 (SpitPluggable* self)
+{
#line 253 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 253 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved5 (self);
-#line 921 "SpitInterfaces.c"
+#line 1052 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved6 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved6 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved6 (SpitPluggable* self) {
+void
+spit_pluggable_reserved6 (SpitPluggable* self)
+{
#line 254 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 254 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved6 (self);
-#line 934 "SpitInterfaces.c"
+#line 1069 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved7 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved7 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved7 (SpitPluggable* self) {
+void
+spit_pluggable_reserved7 (SpitPluggable* self)
+{
#line 255 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 255 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved7 (self);
-#line 947 "SpitInterfaces.c"
+#line 1086 "SpitInterfaces.c"
}
-static void spit_pluggable_base_init (SpitPluggableIface * iface) {
+static void
+spit_pluggable_base_init (SpitPluggableIface * iface)
+{
#line 188 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
static gboolean initialized = FALSE;
#line 188 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
@@ -970,7 +1111,7 @@ static void spit_pluggable_base_init (SpitPluggableIface * iface) {
iface->reserved6 = spit_pluggable_real_reserved6;
#line 188 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
iface->reserved7 = spit_pluggable_real_reserved7;
-#line 974 "SpitInterfaces.c"
+#line 1115 "SpitInterfaces.c"
}
}
@@ -981,7 +1122,9 @@ static void spit_pluggable_base_init (SpitPluggableIface * iface) {
* Each plugin in a module needs to implement this interface at a minimum. Extension
* points may have (and probably will have) specific interface requirements as well.
*/
-GType spit_pluggable_get_type (void) {
+GType
+spit_pluggable_get_type (void)
+{
static volatile gsize spit_pluggable_type_id__volatile = 0;
if (g_once_init_enter (&spit_pluggable_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitPluggableIface), (GBaseInitFunc) spit_pluggable_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -998,12 +1141,14 @@ GType spit_pluggable_get_type (void) {
* Returns a File object representing the library file (.so/la.) that the plugin was loaded
* from.
*/
-GFile* spit_host_interface_get_module_file (SpitHostInterface* self) {
+GFile*
+spit_host_interface_get_module_file (SpitHostInterface* self)
+{
#line 274 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_HOST_INTERFACE (self), NULL);
#line 274 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_HOST_INTERFACE_GET_INTERFACE (self)->get_module_file (self);
-#line 1007 "SpitInterfaces.c"
+#line 1152 "SpitInterfaces.c"
}
@@ -1015,12 +1160,16 @@ GFile* spit_host_interface_get_module_file (SpitHostInterface* self) {
*
* @return The value associated with key, def if not set.
*/
-gboolean spit_host_interface_get_config_bool (SpitHostInterface* self, const gchar* key, gboolean def) {
+gboolean
+spit_host_interface_get_config_bool (SpitHostInterface* self,
+ const gchar* key,
+ gboolean def)
+{
#line 284 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_HOST_INTERFACE (self), FALSE);
#line 284 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_HOST_INTERFACE_GET_INTERFACE (self)->get_config_bool (self, key, def);
-#line 1024 "SpitInterfaces.c"
+#line 1173 "SpitInterfaces.c"
}
@@ -1030,12 +1179,16 @@ gboolean spit_host_interface_get_config_bool (SpitHostInterface* self, const gch
* @param key The name of the value to be stored.
* @param val The value to be stored.
*/
-void spit_host_interface_set_config_bool (SpitHostInterface* self, const gchar* key, gboolean val) {
+void
+spit_host_interface_set_config_bool (SpitHostInterface* self,
+ const gchar* key,
+ gboolean val)
+{
#line 292 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 292 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->set_config_bool (self, key, val);
-#line 1039 "SpitInterfaces.c"
+#line 1192 "SpitInterfaces.c"
}
@@ -1047,12 +1200,16 @@ void spit_host_interface_set_config_bool (SpitHostInterface* self, const gchar*
*
* @return The value associated with key, def if not set.
*/
-gint spit_host_interface_get_config_int (SpitHostInterface* self, const gchar* key, gint def) {
+gint
+spit_host_interface_get_config_int (SpitHostInterface* self,
+ const gchar* key,
+ gint def)
+{
#line 302 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_HOST_INTERFACE (self), 0);
#line 302 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_HOST_INTERFACE_GET_INTERFACE (self)->get_config_int (self, key, def);
-#line 1056 "SpitInterfaces.c"
+#line 1213 "SpitInterfaces.c"
}
@@ -1062,12 +1219,16 @@ gint spit_host_interface_get_config_int (SpitHostInterface* self, const gchar* k
* @param key The name of the value to be stored.
* @param val The value to be stored.
*/
-void spit_host_interface_set_config_int (SpitHostInterface* self, const gchar* key, gint val) {
+void
+spit_host_interface_set_config_int (SpitHostInterface* self,
+ const gchar* key,
+ gint val)
+{
#line 310 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 310 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->set_config_int (self, key, val);
-#line 1071 "SpitInterfaces.c"
+#line 1232 "SpitInterfaces.c"
}
@@ -1079,12 +1240,16 @@ void spit_host_interface_set_config_int (SpitHostInterface* self, const gchar* k
*
* @return The value associated with key, def if not set.
*/
-gchar* spit_host_interface_get_config_string (SpitHostInterface* self, const gchar* key, const gchar* def) {
+gchar*
+spit_host_interface_get_config_string (SpitHostInterface* self,
+ const gchar* key,
+ const gchar* def)
+{
#line 320 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_HOST_INTERFACE (self), NULL);
#line 320 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_HOST_INTERFACE_GET_INTERFACE (self)->get_config_string (self, key, def);
-#line 1088 "SpitInterfaces.c"
+#line 1253 "SpitInterfaces.c"
}
@@ -1094,12 +1259,16 @@ gchar* spit_host_interface_get_config_string (SpitHostInterface* self, const gch
* @param key The name of the value to be stored.
* @param val The value to be stored.
*/
-void spit_host_interface_set_config_string (SpitHostInterface* self, const gchar* key, const gchar* val) {
+void
+spit_host_interface_set_config_string (SpitHostInterface* self,
+ const gchar* key,
+ const gchar* val)
+{
#line 328 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 328 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->set_config_string (self, key, val);
-#line 1103 "SpitInterfaces.c"
+#line 1272 "SpitInterfaces.c"
}
@@ -1111,12 +1280,16 @@ void spit_host_interface_set_config_string (SpitHostInterface* self, const gchar
*
* @return The value associated with key, def if not set.
*/
-gdouble spit_host_interface_get_config_double (SpitHostInterface* self, const gchar* key, gdouble def) {
+gdouble
+spit_host_interface_get_config_double (SpitHostInterface* self,
+ const gchar* key,
+ gdouble def)
+{
#line 338 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_HOST_INTERFACE (self), 0.0);
#line 338 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_HOST_INTERFACE_GET_INTERFACE (self)->get_config_double (self, key, def);
-#line 1120 "SpitInterfaces.c"
+#line 1293 "SpitInterfaces.c"
}
@@ -1126,132 +1299,173 @@ gdouble spit_host_interface_get_config_double (SpitHostInterface* self, const gc
* @param key The name of the value to be stored.
* @param val The value to be stored.
*/
-void spit_host_interface_set_config_double (SpitHostInterface* self, const gchar* key, gdouble val) {
+void
+spit_host_interface_set_config_double (SpitHostInterface* self,
+ const gchar* key,
+ gdouble val)
+{
#line 346 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 346 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->set_config_double (self, key, val);
-#line 1135 "SpitInterfaces.c"
+#line 1312 "SpitInterfaces.c"
}
/**
* Delete the value from the persistent configuration store.
*/
-void spit_host_interface_unset_config_key (SpitHostInterface* self, const gchar* key) {
+void
+spit_host_interface_unset_config_key (SpitHostInterface* self,
+ const gchar* key)
+{
#line 351 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 351 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->unset_config_key (self, key);
-#line 1147 "SpitInterfaces.c"
+#line 1327 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved0 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved0 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved0 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved0 (SpitHostInterface* self)
+{
#line 356 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 356 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved0 (self);
-#line 1160 "SpitInterfaces.c"
+#line 1344 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved1 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved1 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved1 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved1 (SpitHostInterface* self)
+{
#line 357 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 357 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved1 (self);
-#line 1173 "SpitInterfaces.c"
+#line 1361 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved2 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved2 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved2 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved2 (SpitHostInterface* self)
+{
#line 358 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 358 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved2 (self);
-#line 1186 "SpitInterfaces.c"
+#line 1378 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved3 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved3 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved3 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved3 (SpitHostInterface* self)
+{
#line 359 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 359 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved3 (self);
-#line 1199 "SpitInterfaces.c"
+#line 1395 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved4 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved4 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved4 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved4 (SpitHostInterface* self)
+{
#line 360 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 360 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved4 (self);
-#line 1212 "SpitInterfaces.c"
+#line 1412 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved5 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved5 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved5 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved5 (SpitHostInterface* self)
+{
#line 361 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 361 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved5 (self);
-#line 1225 "SpitInterfaces.c"
+#line 1429 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved6 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved6 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved6 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved6 (SpitHostInterface* self)
+{
#line 362 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 362 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved6 (self);
-#line 1238 "SpitInterfaces.c"
+#line 1446 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved7 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved7 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved7 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved7 (SpitHostInterface* self)
+{
#line 363 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 363 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved7 (self);
-#line 1251 "SpitInterfaces.c"
+#line 1463 "SpitInterfaces.c"
}
-static void spit_host_interface_base_init (SpitHostInterfaceIface * iface) {
+static void
+spit_host_interface_base_init (SpitHostInterfaceIface * iface)
+{
#line 269 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
static gboolean initialized = FALSE;
#line 269 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
@@ -1274,7 +1488,7 @@ static void spit_host_interface_base_init (SpitHostInterfaceIface * iface) {
iface->reserved6 = spit_host_interface_real_reserved6;
#line 269 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
iface->reserved7 = spit_host_interface_real_reserved7;
-#line 1278 "SpitInterfaces.c"
+#line 1492 "SpitInterfaces.c"
}
}
@@ -1290,7 +1504,9 @@ static void spit_host_interface_base_init (SpitHostInterfaceIface * iface) {
* also allows the extension point to extend HostInterface to offer other services applicable to the
* type of plugin.
*/
-GType spit_host_interface_get_type (void) {
+GType
+spit_host_interface_get_type (void)
+{
static volatile gsize spit_host_interface_type_id__volatile = 0;
if (g_once_init_enter (&spit_host_interface_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitHostInterfaceIface), (GBaseInitFunc) spit_host_interface_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -1303,7 +1519,11 @@ GType spit_host_interface_get_type (void) {
}
-static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
+static void
+_vala_array_destroy (gpointer array,
+ gint array_length,
+ GDestroyNotify destroy_func)
+{
if ((array != NULL) && (destroy_func != NULL)) {
int i;
for (i = 0; i < array_length; i = i + 1) {
@@ -1315,7 +1535,11 @@ static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNoti
}
-static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
+static void
+_vala_array_free (gpointer array,
+ gint array_length,
+ GDestroyNotify destroy_func)
+{
_vala_array_destroy (array, array_length, destroy_func);
g_free (array);
}