From ab841afa5cb39058d9ab2cebb67cfe6369443f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 25 Jun 2018 20:55:59 +0200 Subject: New upstream version 0.28.3 --- src/plugins/PublishingInterfaces.c | 794 ++++++++++++++++++++++++++----------- 1 file changed, 556 insertions(+), 238 deletions(-) (limited to 'src/plugins/PublishingInterfaces.c') diff --git a/src/plugins/PublishingInterfaces.c b/src/plugins/PublishingInterfaces.c index 745d106..54059fb 100644 --- a/src/plugins/PublishingInterfaces.c +++ b/src/plugins/PublishingInterfaces.c @@ -1,4 +1,4 @@ -/* PublishingInterfaces.c generated by valac 0.36.6, the Vala compiler +/* PublishingInterfaces.c generated by valac 0.40.4, the Vala compiler * generated from PublishingInterfaces.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 #include #include @@ -94,9 +95,9 @@ typedef struct _SpitPublishingAuthenticatorIface SpitPublishingAuthenticatorIfac enum { SPIT_PUBLISHING_AUTHENTICATOR_AUTHENTICATED_SIGNAL, SPIT_PUBLISHING_AUTHENTICATOR_AUTHENTICATION_FAILED_SIGNAL, - SPIT_PUBLISHING_AUTHENTICATOR_LAST_SIGNAL + SPIT_PUBLISHING_AUTHENTICATOR_NUM_SIGNALS }; -static guint spit_publishing_authenticator_signals[SPIT_PUBLISHING_AUTHENTICATOR_LAST_SIGNAL] = {0}; +static guint spit_publishing_authenticator_signals[SPIT_PUBLISHING_AUTHENTICATOR_NUM_SIGNALS] = {0}; #define SPIT_PUBLISHING_TYPE_AUTHENTICATOR_FACTORY (spit_publishing_authenticator_factory_get_type ()) #define SPIT_PUBLISHING_AUTHENTICATOR_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_PUBLISHING_TYPE_AUTHENTICATOR_FACTORY, SpitPublishingAuthenticatorFactory)) @@ -306,7 +307,8 @@ GQuark spit_publishing_publishing_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_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; @@ -358,20 +360,37 @@ void spit_publishing_dialog_pane_reserved6 (SpitPublishingDialogPane* self); static void spit_publishing_dialog_pane_real_reserved6 (SpitPublishingDialogPane* self); void spit_publishing_dialog_pane_reserved7 (SpitPublishingDialogPane* self); static void spit_publishing_dialog_pane_real_reserved7 (SpitPublishingDialogPane* self); -void spit_publishing_plugin_host_post_error (SpitPublishingPluginHost* self, GError* err); +void spit_publishing_plugin_host_post_error (SpitPublishingPluginHost* self, + GError* err); void spit_publishing_plugin_host_stop_publishing (SpitPublishingPluginHost* self); SpitPublishingPublisher* spit_publishing_plugin_host_get_publisher (SpitPublishingPluginHost* self); -void spit_publishing_plugin_host_install_dialog_pane (SpitPublishingPluginHost* self, SpitPublishingDialogPane* pane, SpitPublishingPluginHostButtonMode mode); -void spit_publishing_plugin_host_install_static_message_pane (SpitPublishingPluginHost* self, const gchar* message, SpitPublishingPluginHostButtonMode mode); -void spit_publishing_plugin_host_install_pango_message_pane (SpitPublishingPluginHost* self, const gchar* markup, SpitPublishingPluginHostButtonMode mode); +void spit_publishing_plugin_host_install_dialog_pane (SpitPublishingPluginHost* self, + SpitPublishingDialogPane* pane, + SpitPublishingPluginHostButtonMode mode); +void spit_publishing_plugin_host_install_static_message_pane (SpitPublishingPluginHost* self, + const gchar* message, + SpitPublishingPluginHostButtonMode mode); +void spit_publishing_plugin_host_install_pango_message_pane (SpitPublishingPluginHost* self, + const gchar* markup, + SpitPublishingPluginHostButtonMode mode); void spit_publishing_plugin_host_install_success_pane (SpitPublishingPluginHost* self); void spit_publishing_plugin_host_install_account_fetch_wait_pane (SpitPublishingPluginHost* self); void spit_publishing_plugin_host_install_login_wait_pane (SpitPublishingPluginHost* self); -void spit_publishing_plugin_host_install_welcome_pane (SpitPublishingPluginHost* self, const gchar* welcome_message, SpitPublishingLoginCallback on_login_clicked, void* on_login_clicked_target); -void spit_publishing_plugin_host_set_service_locked (SpitPublishingPluginHost* self, gboolean is_locked); -void spit_publishing_plugin_host_set_dialog_default_widget (SpitPublishingPluginHost* self, GtkWidget* widget); -SpitPublishingPublishable** spit_publishing_plugin_host_get_publishables (SpitPublishingPluginHost* self, int* result_length1); -SpitPublishingProgressCallback spit_publishing_plugin_host_serialize_publishables (SpitPublishingPluginHost* self, gint content_major_axis, gboolean strip_metadata, void** result_target, GDestroyNotify* result_target_destroy_notify); +void spit_publishing_plugin_host_install_welcome_pane (SpitPublishingPluginHost* self, + const gchar* welcome_message, + SpitPublishingLoginCallback on_login_clicked, + void* on_login_clicked_target); +void spit_publishing_plugin_host_set_service_locked (SpitPublishingPluginHost* self, + gboolean is_locked); +void spit_publishing_plugin_host_set_dialog_default_widget (SpitPublishingPluginHost* self, + GtkWidget* widget); +SpitPublishingPublishable** spit_publishing_plugin_host_get_publishables (SpitPublishingPluginHost* self, + int* result_length1); +SpitPublishingProgressCallback spit_publishing_plugin_host_serialize_publishables (SpitPublishingPluginHost* self, + gint content_major_axis, + gboolean strip_metadata, + void** result_target, + GDestroyNotify* result_target_destroy_notify); SpitPublishingPublisherMediaType spit_publishing_plugin_host_get_publishable_media_type (SpitPublishingPluginHost* self); void spit_publishing_plugin_host_reserved0 (SpitPublishingPluginHost* self); static void spit_publishing_plugin_host_real_reserved0 (SpitPublishingPluginHost* self); @@ -391,8 +410,10 @@ void spit_publishing_plugin_host_reserved7 (SpitPublishingPluginHost* self); static void spit_publishing_plugin_host_real_reserved7 (SpitPublishingPluginHost* self); GFile* spit_publishing_publishable_get_serialized_file (SpitPublishingPublishable* self); gchar* spit_publishing_publishable_get_publishing_name (SpitPublishingPublishable* self); -gchar* spit_publishing_publishable_get_param_string (SpitPublishingPublishable* self, const gchar* name); -gchar** spit_publishing_publishable_get_publishing_keywords (SpitPublishingPublishable* self, int* result_length1); +gchar* spit_publishing_publishable_get_param_string (SpitPublishingPublishable* self, + const gchar* name); +gchar** spit_publishing_publishable_get_publishing_keywords (SpitPublishingPublishable* self, + int* result_length1); SpitPublishingPublisherMediaType spit_publishing_publishable_get_media_type (SpitPublishingPublishable* self); GDateTime* spit_publishing_publishable_get_exposure_date_time (SpitPublishingPublishable* self); void spit_publishing_publishable_reserved0 (SpitPublishingPublishable* self); @@ -415,7 +436,8 @@ static void spit_publishing_publishable_real_reserved7 (SpitPublishingPublishabl #define SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_TITLE "title" #define SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_COMMENT "comment" #define SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_EVENTCOMMENT "eventcomment" -SpitPublishingPublisher* spit_publishing_service_create_publisher (SpitPublishingService* self, SpitPublishingPluginHost* host); +SpitPublishingPublisher* spit_publishing_service_create_publisher (SpitPublishingService* self, + SpitPublishingPluginHost* host); SpitPublishingPublisherMediaType spit_publishing_service_get_supported_media (SpitPublishingService* self); void spit_publishing_service_reserved0 (SpitPublishingService* self); static void spit_publishing_service_real_reserved0 (SpitPublishingService* self); @@ -441,10 +463,14 @@ void spit_publishing_authenticator_refresh (SpitPublishingAuthenticator* self); GHashTable* spit_publishing_authenticator_get_authentication_parameter (SpitPublishingAuthenticator* self); GType spit_publishing_authenticator_factory_get_type (void) G_GNUC_CONST; GeeList* spit_publishing_authenticator_factory_get_available_authenticators (SpitPublishingAuthenticatorFactory* self); -SpitPublishingAuthenticator* spit_publishing_authenticator_factory_create (SpitPublishingAuthenticatorFactory* self, const gchar* provider, SpitPublishingPluginHost* host); +SpitPublishingAuthenticator* spit_publishing_authenticator_factory_create (SpitPublishingAuthenticatorFactory* self, + const gchar* provider, + SpitPublishingPluginHost* host); -GQuark spit_publishing_publishing_error_quark (void) { +GQuark +spit_publishing_publishing_error_quark (void) +{ return g_quark_from_static_string ("spit_publishing_publishing_error-quark"); } @@ -455,7 +481,9 @@ GQuark spit_publishing_publishing_error_quark (void) { * Values can be masked together, for example: {{{(MediaType.PHOTO | MediaType.VIDEO)}}} * indicates that a publishing service supports the upload of both photos and videos. */ -GType spit_publishing_publisher_media_type_get_type (void) { +GType +spit_publishing_publisher_media_type_get_type (void) +{ static volatile gsize spit_publishing_publisher_media_type_type_id__volatile = 0; if (g_once_init_enter (&spit_publishing_publisher_media_type_type_id__volatile)) { static const GEnumValue values[] = {{SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_NONE, "SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_NONE", "none"}, {SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO, "SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO", "photo"}, {SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO, "SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO", "video"}, {0, NULL, NULL}}; @@ -470,12 +498,14 @@ GType spit_publishing_publisher_media_type_get_type (void) { /** * Returns a {@link Service} object describing the service to which this connects. */ -SpitPublishingService* spit_publishing_publisher_get_service (SpitPublishingPublisher* self) { +SpitPublishingService* +spit_publishing_publisher_get_service (SpitPublishingPublisher* self) +{ #line 121 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self), NULL); #line 121 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->get_service (self); -#line 479 "PublishingInterfaces.c" +#line 509 "PublishingInterfaces.c" } @@ -485,24 +515,28 @@ SpitPublishingService* spit_publishing_publisher_get_service (SpitPublishingPubl * this publisher can install user interface panes and query configuration information. * Only running services should perform network operations. */ -void spit_publishing_publisher_start (SpitPublishingPublisher* self) { +void +spit_publishing_publisher_start (SpitPublishingPublisher* self) +{ #line 129 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self)); #line 129 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->start (self); -#line 494 "PublishingInterfaces.c" +#line 526 "PublishingInterfaces.c" } /** * Returns true if this publisher is in the running state; false otherwise. */ -gboolean spit_publishing_publisher_is_running (SpitPublishingPublisher* self) { +gboolean +spit_publishing_publisher_is_running (SpitPublishingPublisher* self) +{ #line 134 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self), FALSE); #line 134 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->is_running (self); -#line 506 "PublishingInterfaces.c" +#line 540 "PublishingInterfaces.c" } @@ -510,120 +544,156 @@ gboolean spit_publishing_publisher_is_running (SpitPublishingPublisher* self) { * Causes this publisher to enter a non-running state. This publisher should stop all * network operations and cease use of the shared services provided by the {@link PluginHost}. */ -void spit_publishing_publisher_stop (SpitPublishingPublisher* self) { +void +spit_publishing_publisher_stop (SpitPublishingPublisher* self) +{ #line 140 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self)); #line 140 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->stop (self); -#line 519 "PublishingInterfaces.c" +#line 555 "PublishingInterfaces.c" } -static void spit_publishing_publisher_real_reserved0 (SpitPublishingPublisher* self) { +static void +spit_publishing_publisher_real_reserved0 (SpitPublishingPublisher* self) +{ } -void spit_publishing_publisher_reserved0 (SpitPublishingPublisher* self) { +void +spit_publishing_publisher_reserved0 (SpitPublishingPublisher* self) +{ #line 145 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self)); #line 145 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved0 (self); -#line 532 "PublishingInterfaces.c" +#line 572 "PublishingInterfaces.c" } -static void spit_publishing_publisher_real_reserved1 (SpitPublishingPublisher* self) { +static void +spit_publishing_publisher_real_reserved1 (SpitPublishingPublisher* self) +{ } -void spit_publishing_publisher_reserved1 (SpitPublishingPublisher* self) { +void +spit_publishing_publisher_reserved1 (SpitPublishingPublisher* self) +{ #line 146 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self)); #line 146 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved1 (self); -#line 545 "PublishingInterfaces.c" +#line 589 "PublishingInterfaces.c" } -static void spit_publishing_publisher_real_reserved2 (SpitPublishingPublisher* self) { +static void +spit_publishing_publisher_real_reserved2 (SpitPublishingPublisher* self) +{ } -void spit_publishing_publisher_reserved2 (SpitPublishingPublisher* self) { +void +spit_publishing_publisher_reserved2 (SpitPublishingPublisher* self) +{ #line 147 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self)); #line 147 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved2 (self); -#line 558 "PublishingInterfaces.c" +#line 606 "PublishingInterfaces.c" } -static void spit_publishing_publisher_real_reserved3 (SpitPublishingPublisher* self) { +static void +spit_publishing_publisher_real_reserved3 (SpitPublishingPublisher* self) +{ } -void spit_publishing_publisher_reserved3 (SpitPublishingPublisher* self) { +void +spit_publishing_publisher_reserved3 (SpitPublishingPublisher* self) +{ #line 148 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self)); #line 148 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved3 (self); -#line 571 "PublishingInterfaces.c" +#line 623 "PublishingInterfaces.c" } -static void spit_publishing_publisher_real_reserved4 (SpitPublishingPublisher* self) { +static void +spit_publishing_publisher_real_reserved4 (SpitPublishingPublisher* self) +{ } -void spit_publishing_publisher_reserved4 (SpitPublishingPublisher* self) { +void +spit_publishing_publisher_reserved4 (SpitPublishingPublisher* self) +{ #line 149 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self)); #line 149 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved4 (self); -#line 584 "PublishingInterfaces.c" +#line 640 "PublishingInterfaces.c" } -static void spit_publishing_publisher_real_reserved5 (SpitPublishingPublisher* self) { +static void +spit_publishing_publisher_real_reserved5 (SpitPublishingPublisher* self) +{ } -void spit_publishing_publisher_reserved5 (SpitPublishingPublisher* self) { +void +spit_publishing_publisher_reserved5 (SpitPublishingPublisher* self) +{ #line 150 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self)); #line 150 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved5 (self); -#line 597 "PublishingInterfaces.c" +#line 657 "PublishingInterfaces.c" } -static void spit_publishing_publisher_real_reserved6 (SpitPublishingPublisher* self) { +static void +spit_publishing_publisher_real_reserved6 (SpitPublishingPublisher* self) +{ } -void spit_publishing_publisher_reserved6 (SpitPublishingPublisher* self) { +void +spit_publishing_publisher_reserved6 (SpitPublishingPublisher* self) +{ #line 151 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self)); #line 151 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved6 (self); -#line 610 "PublishingInterfaces.c" +#line 674 "PublishingInterfaces.c" } -static void spit_publishing_publisher_real_reserved7 (SpitPublishingPublisher* self) { +static void +spit_publishing_publisher_real_reserved7 (SpitPublishingPublisher* self) +{ } -void spit_publishing_publisher_reserved7 (SpitPublishingPublisher* self) { +void +spit_publishing_publisher_reserved7 (SpitPublishingPublisher* self) +{ #line 152 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self)); #line 152 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved7 (self); -#line 623 "PublishingInterfaces.c" +#line 691 "PublishingInterfaces.c" } -static void spit_publishing_publisher_base_init (SpitPublishingPublisherIface * iface) { +static void +spit_publishing_publisher_base_init (SpitPublishingPublisherIface * iface) +{ #line 105 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" static gboolean initialized = FALSE; #line 105 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" @@ -646,7 +716,7 @@ static void spit_publishing_publisher_base_init (SpitPublishingPublisherIface * iface->reserved6 = spit_publishing_publisher_real_reserved6; #line 105 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" iface->reserved7 = spit_publishing_publisher_real_reserved7; -#line 650 "PublishingInterfaces.c" +#line 720 "PublishingInterfaces.c" } } @@ -661,7 +731,9 @@ static void spit_publishing_publisher_base_init (SpitPublishingPublisherIface * * a non-running state and do not begin running until start( ) is invoked. Publishers * run until stop( ) is invoked. */ -GType spit_publishing_publisher_get_type (void) { +GType +spit_publishing_publisher_get_type (void) +{ static volatile gsize spit_publishing_publisher_type_id__volatile = 0; if (g_once_init_enter (&spit_publishing_publisher_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingPublisherIface), (GBaseInitFunc) spit_publishing_publisher_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL }; @@ -678,7 +750,9 @@ GType spit_publishing_publisher_get_type (void) { * 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_publishing_dialog_pane_geometry_options_get_type (void) { +GType +spit_publishing_dialog_pane_geometry_options_get_type (void) +{ static volatile gsize spit_publishing_dialog_pane_geometry_options_type_id__volatile = 0; if (g_once_init_enter (&spit_publishing_dialog_pane_geometry_options_type_id__volatile)) { static const GEnumValue values[] = {{SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE, "SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE", "none"}, {SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE, "SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE", "extended-size"}, {SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE, "SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE", "resizable"}, {SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE, "SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE", "colossal-size"}, {0, NULL, NULL}}; @@ -693,12 +767,14 @@ GType spit_publishing_dialog_pane_geometry_options_get_type (void) { /** * Returns the Gtk.Widget that is this pane's on-screen representation. */ -GtkWidget* spit_publishing_dialog_pane_get_widget (SpitPublishingDialogPane* self) { +GtkWidget* +spit_publishing_dialog_pane_get_widget (SpitPublishingDialogPane* self) +{ #line 197 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self), NULL); #line 197 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->get_widget (self); -#line 702 "PublishingInterfaces.c" +#line 778 "PublishingInterfaces.c" } @@ -706,12 +782,14 @@ GtkWidget* spit_publishing_dialog_pane_get_widget (SpitPublishingDialogPane* sel * Returns a {@link GeometryOptions} bitfield describing how the on-screen publishing dialog * box should look and behave when this pane is installed. */ -SpitPublishingDialogPaneGeometryOptions spit_publishing_dialog_pane_get_preferred_geometry (SpitPublishingDialogPane* self) { +SpitPublishingDialogPaneGeometryOptions +spit_publishing_dialog_pane_get_preferred_geometry (SpitPublishingDialogPane* self) +{ #line 203 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self), 0); #line 203 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->get_preferred_geometry (self); -#line 715 "PublishingInterfaces.c" +#line 793 "PublishingInterfaces.c" } @@ -719,12 +797,14 @@ SpitPublishingDialogPaneGeometryOptions spit_publishing_dialog_pane_get_preferre * 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_publishing_dialog_pane_on_pane_installed (SpitPublishingDialogPane* self) { +void +spit_publishing_dialog_pane_on_pane_installed (SpitPublishingDialogPane* self) +{ #line 209 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self)); #line 209 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->on_pane_installed (self); -#line 728 "PublishingInterfaces.c" +#line 808 "PublishingInterfaces.c" } @@ -732,120 +812,156 @@ void spit_publishing_dialog_pane_on_pane_installed (SpitPublishingDialogPane* se * 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_publishing_dialog_pane_on_pane_uninstalled (SpitPublishingDialogPane* self) { +void +spit_publishing_dialog_pane_on_pane_uninstalled (SpitPublishingDialogPane* self) +{ #line 215 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self)); #line 215 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->on_pane_uninstalled (self); -#line 741 "PublishingInterfaces.c" +#line 823 "PublishingInterfaces.c" } -static void spit_publishing_dialog_pane_real_reserved0 (SpitPublishingDialogPane* self) { +static void +spit_publishing_dialog_pane_real_reserved0 (SpitPublishingDialogPane* self) +{ } -void spit_publishing_dialog_pane_reserved0 (SpitPublishingDialogPane* self) { +void +spit_publishing_dialog_pane_reserved0 (SpitPublishingDialogPane* self) +{ #line 220 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self)); #line 220 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved0 (self); -#line 754 "PublishingInterfaces.c" +#line 840 "PublishingInterfaces.c" } -static void spit_publishing_dialog_pane_real_reserved1 (SpitPublishingDialogPane* self) { +static void +spit_publishing_dialog_pane_real_reserved1 (SpitPublishingDialogPane* self) +{ } -void spit_publishing_dialog_pane_reserved1 (SpitPublishingDialogPane* self) { +void +spit_publishing_dialog_pane_reserved1 (SpitPublishingDialogPane* self) +{ #line 221 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self)); #line 221 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved1 (self); -#line 767 "PublishingInterfaces.c" +#line 857 "PublishingInterfaces.c" } -static void spit_publishing_dialog_pane_real_reserved2 (SpitPublishingDialogPane* self) { +static void +spit_publishing_dialog_pane_real_reserved2 (SpitPublishingDialogPane* self) +{ } -void spit_publishing_dialog_pane_reserved2 (SpitPublishingDialogPane* self) { +void +spit_publishing_dialog_pane_reserved2 (SpitPublishingDialogPane* self) +{ #line 222 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self)); #line 222 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved2 (self); -#line 780 "PublishingInterfaces.c" +#line 874 "PublishingInterfaces.c" } -static void spit_publishing_dialog_pane_real_reserved3 (SpitPublishingDialogPane* self) { +static void +spit_publishing_dialog_pane_real_reserved3 (SpitPublishingDialogPane* self) +{ } -void spit_publishing_dialog_pane_reserved3 (SpitPublishingDialogPane* self) { +void +spit_publishing_dialog_pane_reserved3 (SpitPublishingDialogPane* self) +{ #line 223 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self)); #line 223 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved3 (self); -#line 793 "PublishingInterfaces.c" +#line 891 "PublishingInterfaces.c" } -static void spit_publishing_dialog_pane_real_reserved4 (SpitPublishingDialogPane* self) { +static void +spit_publishing_dialog_pane_real_reserved4 (SpitPublishingDialogPane* self) +{ } -void spit_publishing_dialog_pane_reserved4 (SpitPublishingDialogPane* self) { +void +spit_publishing_dialog_pane_reserved4 (SpitPublishingDialogPane* self) +{ #line 224 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self)); #line 224 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved4 (self); -#line 806 "PublishingInterfaces.c" +#line 908 "PublishingInterfaces.c" } -static void spit_publishing_dialog_pane_real_reserved5 (SpitPublishingDialogPane* self) { +static void +spit_publishing_dialog_pane_real_reserved5 (SpitPublishingDialogPane* self) +{ } -void spit_publishing_dialog_pane_reserved5 (SpitPublishingDialogPane* self) { +void +spit_publishing_dialog_pane_reserved5 (SpitPublishingDialogPane* self) +{ #line 225 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self)); #line 225 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved5 (self); -#line 819 "PublishingInterfaces.c" +#line 925 "PublishingInterfaces.c" } -static void spit_publishing_dialog_pane_real_reserved6 (SpitPublishingDialogPane* self) { +static void +spit_publishing_dialog_pane_real_reserved6 (SpitPublishingDialogPane* self) +{ } -void spit_publishing_dialog_pane_reserved6 (SpitPublishingDialogPane* self) { +void +spit_publishing_dialog_pane_reserved6 (SpitPublishingDialogPane* self) +{ #line 226 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self)); #line 226 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved6 (self); -#line 832 "PublishingInterfaces.c" +#line 942 "PublishingInterfaces.c" } -static void spit_publishing_dialog_pane_real_reserved7 (SpitPublishingDialogPane* self) { +static void +spit_publishing_dialog_pane_real_reserved7 (SpitPublishingDialogPane* self) +{ } -void spit_publishing_dialog_pane_reserved7 (SpitPublishingDialogPane* self) { +void +spit_publishing_dialog_pane_reserved7 (SpitPublishingDialogPane* self) +{ #line 227 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self)); #line 227 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved7 (self); -#line 845 "PublishingInterfaces.c" +#line 959 "PublishingInterfaces.c" } -static void spit_publishing_dialog_pane_base_init (SpitPublishingDialogPaneIface * iface) { +static void +spit_publishing_dialog_pane_base_init (SpitPublishingDialogPaneIface * iface) +{ #line 160 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" static gboolean initialized = FALSE; #line 160 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" @@ -868,7 +984,7 @@ static void spit_publishing_dialog_pane_base_init (SpitPublishingDialogPaneIface iface->reserved6 = spit_publishing_dialog_pane_real_reserved6; #line 160 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" iface->reserved7 = spit_publishing_dialog_pane_real_reserved7; -#line 872 "PublishingInterfaces.c" +#line 988 "PublishingInterfaces.c" } } @@ -878,7 +994,9 @@ static void spit_publishing_dialog_pane_base_init (SpitPublishingDialogPaneIface * communicate status to and to get information from the user. * */ -GType spit_publishing_dialog_pane_get_type (void) { +GType +spit_publishing_dialog_pane_get_type (void) +{ static volatile gsize spit_publishing_dialog_pane_type_id__volatile = 0; if (g_once_init_enter (&spit_publishing_dialog_pane_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingDialogPaneIface), (GBaseInitFunc) spit_publishing_dialog_pane_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL }; @@ -895,7 +1013,9 @@ GType spit_publishing_dialog_pane_get_type (void) { * 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_publishing_plugin_host_button_mode_get_type (void) { +GType +spit_publishing_plugin_host_button_mode_get_type (void) +{ static volatile gsize spit_publishing_plugin_host_button_mode_type_id__volatile = 0; if (g_once_init_enter (&spit_publishing_plugin_host_button_mode_type_id__volatile)) { static const GEnumValue values[] = {{SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CLOSE, "SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CLOSE", "close"}, {SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL, "SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL", "cancel"}, {0, NULL, NULL}}; @@ -913,12 +1033,15 @@ GType spit_publishing_plugin_host_button_mode_get_type (void) { * * @param err An error object that describes the kind of error that occurred. */ -void spit_publishing_plugin_host_post_error (SpitPublishingPluginHost* self, GError* err) { +void +spit_publishing_plugin_host_post_error (SpitPublishingPluginHost* self, + GError* err) +{ #line 277 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 277 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->post_error (self, err); -#line 922 "PublishingInterfaces.c" +#line 1045 "PublishingInterfaces.c" } @@ -928,24 +1051,28 @@ void spit_publishing_plugin_host_post_error (SpitPublishingPluginHost* self, GEr * Calling this method stops all network activity and hides the on-screen publishing * dialog box. */ -void spit_publishing_plugin_host_stop_publishing (SpitPublishingPluginHost* self) { +void +spit_publishing_plugin_host_stop_publishing (SpitPublishingPluginHost* self) +{ #line 285 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 285 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->stop_publishing (self); -#line 937 "PublishingInterfaces.c" +#line 1062 "PublishingInterfaces.c" } /** * Returns a reference to the {@link Publisher} object that this is currently hosting. */ -SpitPublishingPublisher* spit_publishing_plugin_host_get_publisher (SpitPublishingPluginHost* self) { +SpitPublishingPublisher* +spit_publishing_plugin_host_get_publisher (SpitPublishingPluginHost* self) +{ #line 290 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self), NULL); #line 290 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->get_publisher (self); -#line 949 "PublishingInterfaces.c" +#line 1076 "PublishingInterfaces.c" } @@ -967,12 +1094,16 @@ SpitPublishingPublisher* spit_publishing_plugin_host_get_publisher (SpitPublishi * should be ButtonMode.CLOSE, because all cancellable publishing actions have already * occurred. */ -void spit_publishing_plugin_host_install_dialog_pane (SpitPublishingPluginHost* self, SpitPublishingDialogPane* pane, SpitPublishingPluginHostButtonMode mode) { +void +spit_publishing_plugin_host_install_dialog_pane (SpitPublishingPluginHost* self, + SpitPublishingDialogPane* pane, + SpitPublishingPluginHostButtonMode mode) +{ #line 310 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 310 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_dialog_pane (self, pane, mode); -#line 976 "PublishingInterfaces.c" +#line 1107 "PublishingInterfaces.c" } @@ -1002,12 +1133,16 @@ void spit_publishing_plugin_host_install_dialog_pane (SpitPublishingPluginHost* * should be ButtonMode.CLOSE, because all cancellable publishing actions have already * occurred. */ -void spit_publishing_plugin_host_install_static_message_pane (SpitPublishingPluginHost* self, const gchar* message, SpitPublishingPluginHostButtonMode mode) { +void +spit_publishing_plugin_host_install_static_message_pane (SpitPublishingPluginHost* self, + const gchar* message, + SpitPublishingPluginHostButtonMode mode) +{ #line 339 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 339 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_static_message_pane (self, message, mode); -#line 1011 "PublishingInterfaces.c" +#line 1146 "PublishingInterfaces.c" } @@ -1029,12 +1164,16 @@ void spit_publishing_plugin_host_install_static_message_pane (SpitPublishingPlug * should be ButtonMode.CLOSE, because all cancellable publishing actions have already * occurred. */ -void spit_publishing_plugin_host_install_pango_message_pane (SpitPublishingPluginHost* self, const gchar* markup, SpitPublishingPluginHostButtonMode mode) { +void +spit_publishing_plugin_host_install_pango_message_pane (SpitPublishingPluginHost* self, + const gchar* markup, + SpitPublishingPluginHostButtonMode mode) +{ #line 360 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 360 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_pango_message_pane (self, markup, mode); -#line 1038 "PublishingInterfaces.c" +#line 1177 "PublishingInterfaces.c" } @@ -1050,12 +1189,14 @@ void spit_publishing_plugin_host_install_pango_message_pane (SpitPublishingPlugi * If an error has posted, the {@link PluginHost} will not honor * this request. */ -void spit_publishing_plugin_host_install_success_pane (SpitPublishingPluginHost* self) { +void +spit_publishing_plugin_host_install_success_pane (SpitPublishingPluginHost* self) +{ #line 375 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 375 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_success_pane (self); -#line 1059 "PublishingInterfaces.c" +#line 1200 "PublishingInterfaces.c" } @@ -1073,12 +1214,14 @@ void spit_publishing_plugin_host_install_success_pane (SpitPublishingPluginHost* * * If an error has posted, the {@link PluginHost} will not honor this request. */ -void spit_publishing_plugin_host_install_account_fetch_wait_pane (SpitPublishingPluginHost* self) { +void +spit_publishing_plugin_host_install_account_fetch_wait_pane (SpitPublishingPluginHost* self) +{ #line 391 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 391 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_account_fetch_wait_pane (self); -#line 1082 "PublishingInterfaces.c" +#line 1225 "PublishingInterfaces.c" } @@ -1093,12 +1236,14 @@ void spit_publishing_plugin_host_install_account_fetch_wait_pane (SpitPublishing * * If an error has posted, the {@link PluginHost} will not honor this request. */ -void spit_publishing_plugin_host_install_login_wait_pane (SpitPublishingPluginHost* self) { +void +spit_publishing_plugin_host_install_login_wait_pane (SpitPublishingPluginHost* self) +{ #line 405 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 405 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_login_wait_pane (self); -#line 1102 "PublishingInterfaces.c" +#line 1247 "PublishingInterfaces.c" } @@ -1122,12 +1267,17 @@ void spit_publishing_plugin_host_install_login_wait_pane (SpitPublishingPluginHo * @param on_login_clicked specifies the callback that is invoked when the user clicks * the “Login” button. */ -void spit_publishing_plugin_host_install_welcome_pane (SpitPublishingPluginHost* self, const gchar* welcome_message, SpitPublishingLoginCallback on_login_clicked, void* on_login_clicked_target) { +void +spit_publishing_plugin_host_install_welcome_pane (SpitPublishingPluginHost* self, + const gchar* welcome_message, + SpitPublishingLoginCallback on_login_clicked, + void* on_login_clicked_target) +{ #line 427 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 427 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_welcome_pane (self, welcome_message, on_login_clicked, on_login_clicked_target); -#line 1131 "PublishingInterfaces.c" +#line 1281 "PublishingInterfaces.c" } @@ -1145,12 +1295,15 @@ void spit_publishing_plugin_host_install_welcome_pane (SpitPublishingPluginHost* * When is_locked is false, the combo box is sensitive, allowing the user to freely switch * from the current service to another service. */ -void spit_publishing_plugin_host_set_service_locked (SpitPublishingPluginHost* self, gboolean is_locked) { +void +spit_publishing_plugin_host_set_service_locked (SpitPublishingPluginHost* self, + gboolean is_locked) +{ #line 444 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 444 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->set_service_locked (self, is_locked); -#line 1154 "PublishingInterfaces.c" +#line 1307 "PublishingInterfaces.c" } @@ -1164,12 +1317,15 @@ void spit_publishing_plugin_host_set_service_locked (SpitPublishingPluginHost* s * @param widget a reference to the widget to designate as the default widget for the * publishing dialog. */ -void spit_publishing_plugin_host_set_dialog_default_widget (SpitPublishingPluginHost* self, GtkWidget* widget) { +void +spit_publishing_plugin_host_set_dialog_default_widget (SpitPublishingPluginHost* self, + GtkWidget* widget) +{ #line 456 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 456 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->set_dialog_default_widget (self, widget); -#line 1173 "PublishingInterfaces.c" +#line 1329 "PublishingInterfaces.c" } @@ -1177,12 +1333,15 @@ void spit_publishing_plugin_host_set_dialog_default_widget (SpitPublishingPlugin * Returns an array of the publishable media items that the user has selected for upload to the * remote service. */ -SpitPublishingPublishable** spit_publishing_plugin_host_get_publishables (SpitPublishingPluginHost* self, int* result_length1) { +SpitPublishingPublishable** +spit_publishing_plugin_host_get_publishables (SpitPublishingPluginHost* self, + int* result_length1) +{ #line 462 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self), NULL); #line 462 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->get_publishables (self, result_length1); -#line 1186 "PublishingInterfaces.c" +#line 1345 "PublishingInterfaces.c" } @@ -1216,12 +1375,18 @@ SpitPublishingPublishable** spit_publishing_plugin_host_get_publishables (SpitPu * metadata will be left intact. The value of this parameter has no * effect on video publishables. */ -SpitPublishingProgressCallback spit_publishing_plugin_host_serialize_publishables (SpitPublishingPluginHost* self, gint content_major_axis, gboolean strip_metadata, void** result_target, GDestroyNotify* result_target_destroy_notify) { +SpitPublishingProgressCallback +spit_publishing_plugin_host_serialize_publishables (SpitPublishingPluginHost* self, + gint content_major_axis, + gboolean strip_metadata, + void** result_target, + GDestroyNotify* result_target_destroy_notify) +{ #line 494 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self), NULL); #line 494 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->serialize_publishables (self, content_major_axis, strip_metadata, result_target, result_target_destroy_notify); -#line 1225 "PublishingInterfaces.c" +#line 1390 "PublishingInterfaces.c" } @@ -1230,120 +1395,156 @@ SpitPublishingProgressCallback spit_publishing_plugin_host_serialize_publishable * in the set of publishable media items that the user has selected for upload to the remote * service. */ -SpitPublishingPublisherMediaType spit_publishing_plugin_host_get_publishable_media_type (SpitPublishingPluginHost* self) { +SpitPublishingPublisherMediaType +spit_publishing_plugin_host_get_publishable_media_type (SpitPublishingPluginHost* self) +{ #line 502 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self), 0); #line 502 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->get_publishable_media_type (self); -#line 1239 "PublishingInterfaces.c" +#line 1406 "PublishingInterfaces.c" } -static void spit_publishing_plugin_host_real_reserved0 (SpitPublishingPluginHost* self) { +static void +spit_publishing_plugin_host_real_reserved0 (SpitPublishingPluginHost* self) +{ } -void spit_publishing_plugin_host_reserved0 (SpitPublishingPluginHost* self) { +void +spit_publishing_plugin_host_reserved0 (SpitPublishingPluginHost* self) +{ #line 507 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 507 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved0 (self); -#line 1252 "PublishingInterfaces.c" +#line 1423 "PublishingInterfaces.c" } -static void spit_publishing_plugin_host_real_reserved1 (SpitPublishingPluginHost* self) { +static void +spit_publishing_plugin_host_real_reserved1 (SpitPublishingPluginHost* self) +{ } -void spit_publishing_plugin_host_reserved1 (SpitPublishingPluginHost* self) { +void +spit_publishing_plugin_host_reserved1 (SpitPublishingPluginHost* self) +{ #line 508 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 508 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved1 (self); -#line 1265 "PublishingInterfaces.c" +#line 1440 "PublishingInterfaces.c" } -static void spit_publishing_plugin_host_real_reserved2 (SpitPublishingPluginHost* self) { +static void +spit_publishing_plugin_host_real_reserved2 (SpitPublishingPluginHost* self) +{ } -void spit_publishing_plugin_host_reserved2 (SpitPublishingPluginHost* self) { +void +spit_publishing_plugin_host_reserved2 (SpitPublishingPluginHost* self) +{ #line 509 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 509 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved2 (self); -#line 1278 "PublishingInterfaces.c" +#line 1457 "PublishingInterfaces.c" } -static void spit_publishing_plugin_host_real_reserved3 (SpitPublishingPluginHost* self) { +static void +spit_publishing_plugin_host_real_reserved3 (SpitPublishingPluginHost* self) +{ } -void spit_publishing_plugin_host_reserved3 (SpitPublishingPluginHost* self) { +void +spit_publishing_plugin_host_reserved3 (SpitPublishingPluginHost* self) +{ #line 510 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 510 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved3 (self); -#line 1291 "PublishingInterfaces.c" +#line 1474 "PublishingInterfaces.c" } -static void spit_publishing_plugin_host_real_reserved4 (SpitPublishingPluginHost* self) { +static void +spit_publishing_plugin_host_real_reserved4 (SpitPublishingPluginHost* self) +{ } -void spit_publishing_plugin_host_reserved4 (SpitPublishingPluginHost* self) { +void +spit_publishing_plugin_host_reserved4 (SpitPublishingPluginHost* self) +{ #line 511 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 511 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved4 (self); -#line 1304 "PublishingInterfaces.c" +#line 1491 "PublishingInterfaces.c" } -static void spit_publishing_plugin_host_real_reserved5 (SpitPublishingPluginHost* self) { +static void +spit_publishing_plugin_host_real_reserved5 (SpitPublishingPluginHost* self) +{ } -void spit_publishing_plugin_host_reserved5 (SpitPublishingPluginHost* self) { +void +spit_publishing_plugin_host_reserved5 (SpitPublishingPluginHost* self) +{ #line 512 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 512 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved5 (self); -#line 1317 "PublishingInterfaces.c" +#line 1508 "PublishingInterfaces.c" } -static void spit_publishing_plugin_host_real_reserved6 (SpitPublishingPluginHost* self) { +static void +spit_publishing_plugin_host_real_reserved6 (SpitPublishingPluginHost* self) +{ } -void spit_publishing_plugin_host_reserved6 (SpitPublishingPluginHost* self) { +void +spit_publishing_plugin_host_reserved6 (SpitPublishingPluginHost* self) +{ #line 513 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 513 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved6 (self); -#line 1330 "PublishingInterfaces.c" +#line 1525 "PublishingInterfaces.c" } -static void spit_publishing_plugin_host_real_reserved7 (SpitPublishingPluginHost* self) { +static void +spit_publishing_plugin_host_real_reserved7 (SpitPublishingPluginHost* self) +{ } -void spit_publishing_plugin_host_reserved7 (SpitPublishingPluginHost* self) { +void +spit_publishing_plugin_host_reserved7 (SpitPublishingPluginHost* self) +{ #line 514 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self)); #line 514 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved7 (self); -#line 1343 "PublishingInterfaces.c" +#line 1542 "PublishingInterfaces.c" } -static void spit_publishing_plugin_host_base_init (SpitPublishingPluginHostIface * iface) { +static void +spit_publishing_plugin_host_base_init (SpitPublishingPluginHostIface * iface) +{ #line 260 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" static gboolean initialized = FALSE; #line 260 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" @@ -1366,7 +1567,7 @@ static void spit_publishing_plugin_host_base_init (SpitPublishingPluginHostIface iface->reserved6 = spit_publishing_plugin_host_real_reserved6; #line 260 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" iface->reserved7 = spit_publishing_plugin_host_real_reserved7; -#line 1370 "PublishingInterfaces.c" +#line 1571 "PublishingInterfaces.c" } } @@ -1383,7 +1584,9 @@ static void spit_publishing_plugin_host_base_init (SpitPublishingPluginHostIface * {@link Publisher} is in the running state. This ensures that non-running publishers * don’t destructively interfere with the actively running publisher. */ -GType spit_publishing_plugin_host_get_type (void) { +GType +spit_publishing_plugin_host_get_type (void) +{ static volatile gsize spit_publishing_plugin_host_type_id__volatile = 0; if (g_once_init_enter (&spit_publishing_plugin_host_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingPluginHostIface), (GBaseInitFunc) spit_publishing_plugin_host_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL }; @@ -1404,12 +1607,14 @@ GType spit_publishing_plugin_host_get_type (void) { * You should use this file handle to read into memory the binary data you will send over * the network to the remote publishing service when this publishable is uploaded. */ -GFile* spit_publishing_publishable_get_serialized_file (SpitPublishingPublishable* self) { +GFile* +spit_publishing_publishable_get_serialized_file (SpitPublishingPublishable* self) +{ #line 535 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self), NULL); #line 535 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->get_serialized_file (self); -#line 1413 "PublishingInterfaces.c" +#line 1618 "PublishingInterfaces.c" } @@ -1420,12 +1625,14 @@ GFile* spit_publishing_publishable_get_serialized_file (SpitPublishingPublishabl * and provide a fallback value. One possible option for a fallback is: * get_param_string(Spit.Publishing.Publishable.PARAM_STRING_BASENAME) */ -gchar* spit_publishing_publishable_get_publishing_name (SpitPublishingPublishable* self) { +gchar* +spit_publishing_publishable_get_publishing_name (SpitPublishingPublishable* self) +{ #line 544 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self), NULL); #line 544 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->get_publishing_name (self); -#line 1429 "PublishingInterfaces.c" +#line 1636 "PublishingInterfaces.c" } @@ -1433,12 +1640,15 @@ gchar* spit_publishing_publishable_get_publishing_name (SpitPublishingPublishabl * Returns a string value from the publishable corresponding with the parameter name * provided, or null if there is no value for this name. */ -gchar* spit_publishing_publishable_get_param_string (SpitPublishingPublishable* self, const gchar* name) { +gchar* +spit_publishing_publishable_get_param_string (SpitPublishingPublishable* self, + const gchar* name) +{ #line 550 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self), NULL); #line 550 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->get_param_string (self, name); -#line 1442 "PublishingInterfaces.c" +#line 1652 "PublishingInterfaces.c" } @@ -1446,144 +1656,185 @@ gchar* spit_publishing_publishable_get_param_string (SpitPublishingPublishable* * Returns an array of strings that should be used to tag or mark this publishable on the * remote service, or null if this publishable has no tags or markings. */ -gchar** spit_publishing_publishable_get_publishing_keywords (SpitPublishingPublishable* self, int* result_length1) { +gchar** +spit_publishing_publishable_get_publishing_keywords (SpitPublishingPublishable* self, + int* result_length1) +{ #line 556 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self), NULL); #line 556 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->get_publishing_keywords (self, result_length1); -#line 1455 "PublishingInterfaces.c" +#line 1668 "PublishingInterfaces.c" } /** * Returns the kind of media item this publishable encapsulates. */ -SpitPublishingPublisherMediaType spit_publishing_publishable_get_media_type (SpitPublishingPublishable* self) { +SpitPublishingPublisherMediaType +spit_publishing_publishable_get_media_type (SpitPublishingPublishable* self) +{ #line 561 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self), 0); #line 561 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->get_media_type (self); -#line 1467 "PublishingInterfaces.c" +#line 1682 "PublishingInterfaces.c" } /** * Returns the creation timestamp on the file. */ -GDateTime* spit_publishing_publishable_get_exposure_date_time (SpitPublishingPublishable* self) { +GDateTime* +spit_publishing_publishable_get_exposure_date_time (SpitPublishingPublishable* self) +{ #line 566 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self), NULL); #line 566 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->get_exposure_date_time (self); -#line 1479 "PublishingInterfaces.c" +#line 1696 "PublishingInterfaces.c" } -static void spit_publishing_publishable_real_reserved0 (SpitPublishingPublishable* self) { +static void +spit_publishing_publishable_real_reserved0 (SpitPublishingPublishable* self) +{ } -void spit_publishing_publishable_reserved0 (SpitPublishingPublishable* self) { +void +spit_publishing_publishable_reserved0 (SpitPublishingPublishable* self) +{ #line 571 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self)); #line 571 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved0 (self); -#line 1492 "PublishingInterfaces.c" +#line 1713 "PublishingInterfaces.c" } -static void spit_publishing_publishable_real_reserved1 (SpitPublishingPublishable* self) { +static void +spit_publishing_publishable_real_reserved1 (SpitPublishingPublishable* self) +{ } -void spit_publishing_publishable_reserved1 (SpitPublishingPublishable* self) { +void +spit_publishing_publishable_reserved1 (SpitPublishingPublishable* self) +{ #line 572 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self)); #line 572 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved1 (self); -#line 1505 "PublishingInterfaces.c" +#line 1730 "PublishingInterfaces.c" } -static void spit_publishing_publishable_real_reserved2 (SpitPublishingPublishable* self) { +static void +spit_publishing_publishable_real_reserved2 (SpitPublishingPublishable* self) +{ } -void spit_publishing_publishable_reserved2 (SpitPublishingPublishable* self) { +void +spit_publishing_publishable_reserved2 (SpitPublishingPublishable* self) +{ #line 573 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self)); #line 573 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved2 (self); -#line 1518 "PublishingInterfaces.c" +#line 1747 "PublishingInterfaces.c" } -static void spit_publishing_publishable_real_reserved3 (SpitPublishingPublishable* self) { +static void +spit_publishing_publishable_real_reserved3 (SpitPublishingPublishable* self) +{ } -void spit_publishing_publishable_reserved3 (SpitPublishingPublishable* self) { +void +spit_publishing_publishable_reserved3 (SpitPublishingPublishable* self) +{ #line 574 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self)); #line 574 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved3 (self); -#line 1531 "PublishingInterfaces.c" +#line 1764 "PublishingInterfaces.c" } -static void spit_publishing_publishable_real_reserved4 (SpitPublishingPublishable* self) { +static void +spit_publishing_publishable_real_reserved4 (SpitPublishingPublishable* self) +{ } -void spit_publishing_publishable_reserved4 (SpitPublishingPublishable* self) { +void +spit_publishing_publishable_reserved4 (SpitPublishingPublishable* self) +{ #line 575 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self)); #line 575 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved4 (self); -#line 1544 "PublishingInterfaces.c" +#line 1781 "PublishingInterfaces.c" } -static void spit_publishing_publishable_real_reserved5 (SpitPublishingPublishable* self) { +static void +spit_publishing_publishable_real_reserved5 (SpitPublishingPublishable* self) +{ } -void spit_publishing_publishable_reserved5 (SpitPublishingPublishable* self) { +void +spit_publishing_publishable_reserved5 (SpitPublishingPublishable* self) +{ #line 576 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self)); #line 576 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved5 (self); -#line 1557 "PublishingInterfaces.c" +#line 1798 "PublishingInterfaces.c" } -static void spit_publishing_publishable_real_reserved6 (SpitPublishingPublishable* self) { +static void +spit_publishing_publishable_real_reserved6 (SpitPublishingPublishable* self) +{ } -void spit_publishing_publishable_reserved6 (SpitPublishingPublishable* self) { +void +spit_publishing_publishable_reserved6 (SpitPublishingPublishable* self) +{ #line 577 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self)); #line 577 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved6 (self); -#line 1570 "PublishingInterfaces.c" +#line 1815 "PublishingInterfaces.c" } -static void spit_publishing_publishable_real_reserved7 (SpitPublishingPublishable* self) { +static void +spit_publishing_publishable_real_reserved7 (SpitPublishingPublishable* self) +{ } -void spit_publishing_publishable_reserved7 (SpitPublishingPublishable* self) { +void +spit_publishing_publishable_reserved7 (SpitPublishingPublishable* self) +{ #line 578 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self)); #line 578 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved7 (self); -#line 1583 "PublishingInterfaces.c" +#line 1832 "PublishingInterfaces.c" } -static void spit_publishing_publishable_base_init (SpitPublishingPublishableIface * iface) { +static void +spit_publishing_publishable_base_init (SpitPublishingPublishableIface * iface) +{ #line 521 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" static gboolean initialized = FALSE; #line 521 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" @@ -1606,7 +1857,7 @@ static void spit_publishing_publishable_base_init (SpitPublishingPublishableIfac iface->reserved6 = spit_publishing_publishable_real_reserved6; #line 521 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" iface->reserved7 = spit_publishing_publishable_real_reserved7; -#line 1610 "PublishingInterfaces.c" +#line 1861 "PublishingInterfaces.c" } } @@ -1615,7 +1866,9 @@ static void spit_publishing_publishable_base_init (SpitPublishingPublishableIfac * Describes an underlying media item (such as a photo or a video) that your plugin * uploads to a remote publishing service. */ -GType spit_publishing_publishable_get_type (void) { +GType +spit_publishing_publishable_get_type (void) +{ static volatile gsize spit_publishing_publishable_type_id__volatile = 0; if (g_once_init_enter (&spit_publishing_publishable_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingPublishableIface), (GBaseInitFunc) spit_publishing_publishable_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL }; @@ -1632,132 +1885,171 @@ GType spit_publishing_publishable_get_type (void) { * A factory method that instantiates and returns a new {@link Publisher} object that * encapsulates a connection to the remote publishing service that this Service describes. */ -SpitPublishingPublisher* spit_publishing_service_create_publisher (SpitPublishingService* self, SpitPublishingPluginHost* host) { +SpitPublishingPublisher* +spit_publishing_service_create_publisher (SpitPublishingService* self, + SpitPublishingPluginHost* host) +{ #line 591 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_SERVICE (self), NULL); #line 591 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->create_publisher (self, host); -#line 1641 "PublishingInterfaces.c" +#line 1897 "PublishingInterfaces.c" } /** * Returns the kinds of media that this service can work with. */ -SpitPublishingPublisherMediaType spit_publishing_service_get_supported_media (SpitPublishingService* self) { +SpitPublishingPublisherMediaType +spit_publishing_service_get_supported_media (SpitPublishingService* self) +{ #line 596 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_SERVICE (self), 0); #line 596 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->get_supported_media (self); -#line 1653 "PublishingInterfaces.c" +#line 1911 "PublishingInterfaces.c" } -static void spit_publishing_service_real_reserved0 (SpitPublishingService* self) { +static void +spit_publishing_service_real_reserved0 (SpitPublishingService* self) +{ } -void spit_publishing_service_reserved0 (SpitPublishingService* self) { +void +spit_publishing_service_reserved0 (SpitPublishingService* self) +{ #line 601 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self)); #line 601 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved0 (self); -#line 1666 "PublishingInterfaces.c" +#line 1928 "PublishingInterfaces.c" } -static void spit_publishing_service_real_reserved1 (SpitPublishingService* self) { +static void +spit_publishing_service_real_reserved1 (SpitPublishingService* self) +{ } -void spit_publishing_service_reserved1 (SpitPublishingService* self) { +void +spit_publishing_service_reserved1 (SpitPublishingService* self) +{ #line 602 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self)); #line 602 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved1 (self); -#line 1679 "PublishingInterfaces.c" +#line 1945 "PublishingInterfaces.c" } -static void spit_publishing_service_real_reserved2 (SpitPublishingService* self) { +static void +spit_publishing_service_real_reserved2 (SpitPublishingService* self) +{ } -void spit_publishing_service_reserved2 (SpitPublishingService* self) { +void +spit_publishing_service_reserved2 (SpitPublishingService* self) +{ #line 603 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self)); #line 603 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved2 (self); -#line 1692 "PublishingInterfaces.c" +#line 1962 "PublishingInterfaces.c" } -static void spit_publishing_service_real_reserved3 (SpitPublishingService* self) { +static void +spit_publishing_service_real_reserved3 (SpitPublishingService* self) +{ } -void spit_publishing_service_reserved3 (SpitPublishingService* self) { +void +spit_publishing_service_reserved3 (SpitPublishingService* self) +{ #line 604 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self)); #line 604 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved3 (self); -#line 1705 "PublishingInterfaces.c" +#line 1979 "PublishingInterfaces.c" } -static void spit_publishing_service_real_reserved4 (SpitPublishingService* self) { +static void +spit_publishing_service_real_reserved4 (SpitPublishingService* self) +{ } -void spit_publishing_service_reserved4 (SpitPublishingService* self) { +void +spit_publishing_service_reserved4 (SpitPublishingService* self) +{ #line 605 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self)); #line 605 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved4 (self); -#line 1718 "PublishingInterfaces.c" +#line 1996 "PublishingInterfaces.c" } -static void spit_publishing_service_real_reserved5 (SpitPublishingService* self) { +static void +spit_publishing_service_real_reserved5 (SpitPublishingService* self) +{ } -void spit_publishing_service_reserved5 (SpitPublishingService* self) { +void +spit_publishing_service_reserved5 (SpitPublishingService* self) +{ #line 606 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self)); #line 606 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved5 (self); -#line 1731 "PublishingInterfaces.c" +#line 2013 "PublishingInterfaces.c" } -static void spit_publishing_service_real_reserved6 (SpitPublishingService* self) { +static void +spit_publishing_service_real_reserved6 (SpitPublishingService* self) +{ } -void spit_publishing_service_reserved6 (SpitPublishingService* self) { +void +spit_publishing_service_reserved6 (SpitPublishingService* self) +{ #line 607 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self)); #line 607 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved6 (self); -#line 1744 "PublishingInterfaces.c" +#line 2030 "PublishingInterfaces.c" } -static void spit_publishing_service_real_reserved7 (SpitPublishingService* self) { +static void +spit_publishing_service_real_reserved7 (SpitPublishingService* self) +{ } -void spit_publishing_service_reserved7 (SpitPublishingService* self) { +void +spit_publishing_service_reserved7 (SpitPublishingService* self) +{ #line 608 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self)); #line 608 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved7 (self); -#line 1757 "PublishingInterfaces.c" +#line 2047 "PublishingInterfaces.c" } -static void spit_publishing_service_base_init (SpitPublishingServiceIface * iface) { +static void +spit_publishing_service_base_init (SpitPublishingServiceIface * iface) +{ #line 586 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" static gboolean initialized = FALSE; #line 586 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" @@ -1780,7 +2072,7 @@ static void spit_publishing_service_base_init (SpitPublishingServiceIface * ifac iface->reserved6 = spit_publishing_service_real_reserved6; #line 586 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" iface->reserved7 = spit_publishing_service_real_reserved7; -#line 1784 "PublishingInterfaces.c" +#line 2076 "PublishingInterfaces.c" } } @@ -1790,7 +2082,9 @@ static void spit_publishing_service_base_init (SpitPublishingServiceIface * ifac * * Developers of publishing plugins provide a class that implements this interface. */ -GType spit_publishing_service_get_type (void) { +GType +spit_publishing_service_get_type (void) +{ static volatile gsize spit_publishing_service_type_id__volatile = 0; if (g_once_init_enter (&spit_publishing_service_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingServiceIface), (GBaseInitFunc) spit_publishing_service_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL }; @@ -1804,52 +2098,64 @@ GType spit_publishing_service_get_type (void) { } -void spit_publishing_authenticator_authenticate (SpitPublishingAuthenticator* self) { +void +spit_publishing_authenticator_authenticate (SpitPublishingAuthenticator* self) +{ #line 615 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR (self)); #line 615 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_AUTHENTICATOR_GET_INTERFACE (self)->authenticate (self); -#line 1813 "PublishingInterfaces.c" +#line 2109 "PublishingInterfaces.c" } -gboolean spit_publishing_authenticator_can_logout (SpitPublishingAuthenticator* self) { +gboolean +spit_publishing_authenticator_can_logout (SpitPublishingAuthenticator* self) +{ #line 616 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR (self), FALSE); #line 616 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_AUTHENTICATOR_GET_INTERFACE (self)->can_logout (self); -#line 1822 "PublishingInterfaces.c" +#line 2120 "PublishingInterfaces.c" } -void spit_publishing_authenticator_logout (SpitPublishingAuthenticator* self) { +void +spit_publishing_authenticator_logout (SpitPublishingAuthenticator* self) +{ #line 617 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR (self)); #line 617 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_AUTHENTICATOR_GET_INTERFACE (self)->logout (self); -#line 1831 "PublishingInterfaces.c" +#line 2131 "PublishingInterfaces.c" } -void spit_publishing_authenticator_refresh (SpitPublishingAuthenticator* self) { +void +spit_publishing_authenticator_refresh (SpitPublishingAuthenticator* self) +{ #line 618 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR (self)); #line 618 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" SPIT_PUBLISHING_AUTHENTICATOR_GET_INTERFACE (self)->refresh (self); -#line 1840 "PublishingInterfaces.c" +#line 2142 "PublishingInterfaces.c" } -GHashTable* spit_publishing_authenticator_get_authentication_parameter (SpitPublishingAuthenticator* self) { +GHashTable* +spit_publishing_authenticator_get_authentication_parameter (SpitPublishingAuthenticator* self) +{ #line 620 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR (self), NULL); #line 620 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_AUTHENTICATOR_GET_INTERFACE (self)->get_authentication_parameter (self); -#line 1849 "PublishingInterfaces.c" +#line 2153 "PublishingInterfaces.c" } -static void spit_publishing_authenticator_base_init (SpitPublishingAuthenticatorIface * iface) { +static void +spit_publishing_authenticator_base_init (SpitPublishingAuthenticatorIface * iface) +{ #line 611 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" static gboolean initialized = FALSE; #line 611 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" @@ -1860,12 +2166,14 @@ static void spit_publishing_authenticator_base_init (SpitPublishingAuthenticator spit_publishing_authenticator_signals[SPIT_PUBLISHING_AUTHENTICATOR_AUTHENTICATED_SIGNAL] = g_signal_new ("authenticated", SPIT_PUBLISHING_TYPE_AUTHENTICATOR, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); #line 611 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" spit_publishing_authenticator_signals[SPIT_PUBLISHING_AUTHENTICATOR_AUTHENTICATION_FAILED_SIGNAL] = g_signal_new ("authentication-failed", SPIT_PUBLISHING_TYPE_AUTHENTICATOR, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 1864 "PublishingInterfaces.c" +#line 2170 "PublishingInterfaces.c" } } -GType spit_publishing_authenticator_get_type (void) { +GType +spit_publishing_authenticator_get_type (void) +{ static volatile gsize spit_publishing_authenticator_type_id__volatile = 0; if (g_once_init_enter (&spit_publishing_authenticator_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingAuthenticatorIface), (GBaseInitFunc) spit_publishing_authenticator_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL }; @@ -1878,37 +2186,47 @@ GType spit_publishing_authenticator_get_type (void) { } -GeeList* spit_publishing_authenticator_factory_get_available_authenticators (SpitPublishingAuthenticatorFactory* self) { +GeeList* +spit_publishing_authenticator_factory_get_available_authenticators (SpitPublishingAuthenticatorFactory* self) +{ #line 628 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR_FACTORY (self), NULL); #line 628 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_AUTHENTICATOR_FACTORY_GET_INTERFACE (self)->get_available_authenticators (self); -#line 1887 "PublishingInterfaces.c" +#line 2197 "PublishingInterfaces.c" } -SpitPublishingAuthenticator* spit_publishing_authenticator_factory_create (SpitPublishingAuthenticatorFactory* self, const gchar* provider, SpitPublishingPluginHost* host) { +SpitPublishingAuthenticator* +spit_publishing_authenticator_factory_create (SpitPublishingAuthenticatorFactory* self, + const gchar* provider, + SpitPublishingPluginHost* host) +{ #line 629 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" g_return_val_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR_FACTORY (self), NULL); #line 629 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" return SPIT_PUBLISHING_AUTHENTICATOR_FACTORY_GET_INTERFACE (self)->create (self, provider, host); -#line 1896 "PublishingInterfaces.c" +#line 2210 "PublishingInterfaces.c" } -static void spit_publishing_authenticator_factory_base_init (SpitPublishingAuthenticatorFactoryIface * iface) { +static void +spit_publishing_authenticator_factory_base_init (SpitPublishingAuthenticatorFactoryIface * iface) +{ #line 623 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" static gboolean initialized = FALSE; #line 623 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" if (!initialized) { #line 623 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala" initialized = TRUE; -#line 1907 "PublishingInterfaces.c" +#line 2223 "PublishingInterfaces.c" } } -GType spit_publishing_authenticator_factory_get_type (void) { +GType +spit_publishing_authenticator_factory_get_type (void) +{ static volatile gsize spit_publishing_authenticator_factory_type_id__volatile = 0; if (g_once_init_enter (&spit_publishing_authenticator_factory_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingAuthenticatorFactoryIface), (GBaseInitFunc) spit_publishing_authenticator_factory_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL }; -- cgit v1.2.3