/* vm-importer.c generated by valac 0.26.0.19-b2255, the Vala compiler
 * generated from vm-importer.vala, do not modify */

/* This file is part of GNOME Boxes. License: LGPLv2+*/

#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <libvirt-gobject/libvirt-gobject.h>
#include <libvirt-gconfig/libvirt-gconfig.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libcommon.h>
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include <osinfo/osinfo.h>
#include <libgd/gd.h>


#define BOXES_TYPE_VM_CREATOR (boxes_vm_creator_get_type ())
#define BOXES_VM_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_VM_CREATOR, BoxesVMCreator))
#define BOXES_VM_CREATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_VM_CREATOR, BoxesVMCreatorClass))
#define BOXES_IS_VM_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_VM_CREATOR))
#define BOXES_IS_VM_CREATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_VM_CREATOR))
#define BOXES_VM_CREATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_VM_CREATOR, BoxesVMCreatorClass))

typedef struct _BoxesVMCreator BoxesVMCreator;
typedef struct _BoxesVMCreatorClass BoxesVMCreatorClass;
typedef struct _BoxesVMCreatorPrivate BoxesVMCreatorPrivate;

#define BOXES_TYPE_COLLECTION_ITEM (boxes_collection_item_get_type ())
#define BOXES_COLLECTION_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItem))
#define BOXES_COLLECTION_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItemClass))
#define BOXES_IS_COLLECTION_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_ITEM))
#define BOXES_IS_COLLECTION_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_ITEM))
#define BOXES_COLLECTION_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItemClass))

typedef struct _BoxesCollectionItem BoxesCollectionItem;
typedef struct _BoxesCollectionItemClass BoxesCollectionItemClass;

#define BOXES_TYPE_MACHINE (boxes_machine_get_type ())
#define BOXES_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MACHINE, BoxesMachine))
#define BOXES_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MACHINE, BoxesMachineClass))
#define BOXES_IS_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MACHINE))
#define BOXES_IS_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MACHINE))
#define BOXES_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MACHINE, BoxesMachineClass))

typedef struct _BoxesMachine BoxesMachine;
typedef struct _BoxesMachineClass BoxesMachineClass;

#define BOXES_TYPE_LIBVIRT_MACHINE (boxes_libvirt_machine_get_type ())
#define BOXES_LIBVIRT_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachine))
#define BOXES_LIBVIRT_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachineClass))
#define BOXES_IS_LIBVIRT_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_LIBVIRT_MACHINE))
#define BOXES_IS_LIBVIRT_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_LIBVIRT_MACHINE))
#define BOXES_LIBVIRT_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachineClass))

typedef struct _BoxesLibvirtMachine BoxesLibvirtMachine;
typedef struct _BoxesLibvirtMachineClass BoxesLibvirtMachineClass;

#define BOXES_TYPE_VM_IMPORTER (boxes_vm_importer_get_type ())
#define BOXES_VM_IMPORTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_VM_IMPORTER, BoxesVMImporter))
#define BOXES_VM_IMPORTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_VM_IMPORTER, BoxesVMImporterClass))
#define BOXES_IS_VM_IMPORTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_VM_IMPORTER))
#define BOXES_IS_VM_IMPORTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_VM_IMPORTER))
#define BOXES_VM_IMPORTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_VM_IMPORTER, BoxesVMImporterClass))

typedef struct _BoxesVMImporter BoxesVMImporter;
typedef struct _BoxesVMImporterClass BoxesVMImporterClass;
typedef struct _BoxesVMImporterPrivate BoxesVMImporterPrivate;

#define BOXES_TYPE_INSTALLER_MEDIA (boxes_installer_media_get_type ())
#define BOXES_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia))
#define BOXES_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))
#define BOXES_IS_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_IS_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_INSTALLER_MEDIA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))

typedef struct _BoxesInstallerMedia BoxesInstallerMedia;
typedef struct _BoxesInstallerMediaClass BoxesInstallerMediaClass;

#define BOXES_TYPE_INSTALLED_MEDIA (boxes_installed_media_get_type ())
#define BOXES_INSTALLED_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_INSTALLED_MEDIA, BoxesInstalledMedia))
#define BOXES_INSTALLED_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_INSTALLED_MEDIA, BoxesInstalledMediaClass))
#define BOXES_IS_INSTALLED_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_INSTALLED_MEDIA))
#define BOXES_IS_INSTALLED_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_INSTALLED_MEDIA))
#define BOXES_INSTALLED_MEDIA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_INSTALLED_MEDIA, BoxesInstalledMediaClass))

typedef struct _BoxesInstalledMedia BoxesInstalledMedia;
typedef struct _BoxesInstalledMediaClass BoxesInstalledMediaClass;

#define BOXES_TYPE_UI (boxes_ui_get_type ())
#define BOXES_UI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UI, BoxesUI))
#define BOXES_IS_UI(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UI))
#define BOXES_UI_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_TYPE_UI, BoxesUIIface))

typedef struct _BoxesUI BoxesUI;
typedef struct _BoxesUIIface BoxesUIIface;

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())
typedef struct _BoxesCollectionItemPrivate BoxesCollectionItemPrivate;

#define BOXES_TYPE_IPROPERTIES_PROVIDER (boxes_iproperties_provider_get_type ())
#define BOXES_IPROPERTIES_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_IPROPERTIES_PROVIDER, BoxesIPropertiesProvider))
#define BOXES_IS_IPROPERTIES_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_IPROPERTIES_PROVIDER))
#define BOXES_IPROPERTIES_PROVIDER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_TYPE_IPROPERTIES_PROVIDER, BoxesIPropertiesProviderIface))

typedef struct _BoxesIPropertiesProvider BoxesIPropertiesProvider;
typedef struct _BoxesIPropertiesProviderIface BoxesIPropertiesProviderIface;

#define BOXES_TYPE_PROPERTIES_PAGE (boxes_properties_page_get_type ())

#define TYPE_PROPERTY_CREATION_FLAG (property_creation_flag_get_type ())

#define BOXES_TYPE_PROPERTY (boxes_property_get_type ())
#define BOXES_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PROPERTY, BoxesProperty))
#define BOXES_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PROPERTY, BoxesPropertyClass))
#define BOXES_IS_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PROPERTY))
#define BOXES_IS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PROPERTY))
#define BOXES_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PROPERTY, BoxesPropertyClass))

typedef struct _BoxesProperty BoxesProperty;
typedef struct _BoxesPropertyClass BoxesPropertyClass;
typedef struct _BoxesMachinePrivate BoxesMachinePrivate;

#define BOXES_MACHINE_TYPE_CONNECT_FLAGS (boxes_machine_connect_flags_get_type ())
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _boxes_vm_creator_unref0(var) ((var == NULL) ? NULL : (var = (boxes_vm_creator_unref (var), NULL)))

#define BOXES_TYPE_MEDIA_MANAGER (boxes_media_manager_get_type ())
#define BOXES_MEDIA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MEDIA_MANAGER, BoxesMediaManager))
#define BOXES_MEDIA_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MEDIA_MANAGER, BoxesMediaManagerClass))
#define BOXES_IS_MEDIA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MEDIA_MANAGER))
#define BOXES_IS_MEDIA_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MEDIA_MANAGER))
#define BOXES_MEDIA_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MEDIA_MANAGER, BoxesMediaManagerClass))

typedef struct _BoxesMediaManager BoxesMediaManager;
typedef struct _BoxesMediaManagerClass BoxesMediaManagerClass;
typedef struct _BoxesVmImporterContinueInstallationData BoxesVmImporterContinueInstallationData;
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _BoxesInstallerMediaPrivate BoxesInstallerMediaPrivate;

#define BOXES_TYPE_APP (boxes_app_get_type ())
#define BOXES_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_APP, BoxesApp))
#define BOXES_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_APP, BoxesAppClass))
#define BOXES_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_APP))
#define BOXES_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_APP))
#define BOXES_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_APP, BoxesAppClass))

typedef struct _BoxesApp BoxesApp;
typedef struct _BoxesAppClass BoxesAppClass;

#define BOXES_TYPE_APP_WINDOW (boxes_app_window_get_type ())
#define BOXES_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_APP_WINDOW, BoxesAppWindow))
#define BOXES_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_APP_WINDOW, BoxesAppWindowClass))
#define BOXES_IS_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_APP_WINDOW))
#define BOXES_IS_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_APP_WINDOW))
#define BOXES_APP_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_APP_WINDOW, BoxesAppWindowClass))

typedef struct _BoxesAppWindow BoxesAppWindow;
typedef struct _BoxesAppWindowClass BoxesAppWindowClass;
typedef struct _BoxesAppWindowPrivate BoxesAppWindowPrivate;

#define BOXES_TYPE_SEARCHBAR (boxes_searchbar_get_type ())
#define BOXES_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbar))
#define BOXES_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))
#define BOXES_IS_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SEARCHBAR))
#define BOXES_IS_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SEARCHBAR))
#define BOXES_SEARCHBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))

typedef struct _BoxesSearchbar BoxesSearchbar;
typedef struct _BoxesSearchbarClass BoxesSearchbarClass;

#define BOXES_TYPE_TOPBAR (boxes_topbar_get_type ())
#define BOXES_TOPBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_TOPBAR, BoxesTopbar))
#define BOXES_TOPBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_TOPBAR, BoxesTopbarClass))
#define BOXES_IS_TOPBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_TOPBAR))
#define BOXES_IS_TOPBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_TOPBAR))
#define BOXES_TOPBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_TOPBAR, BoxesTopbarClass))

typedef struct _BoxesTopbar BoxesTopbar;
typedef struct _BoxesTopbarClass BoxesTopbarClass;

#define BOXES_TYPE_NOTIFICATIONBAR (boxes_notificationbar_get_type ())
#define BOXES_NOTIFICATIONBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_NOTIFICATIONBAR, BoxesNotificationbar))
#define BOXES_NOTIFICATIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_NOTIFICATIONBAR, BoxesNotificationbarClass))
#define BOXES_IS_NOTIFICATIONBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_NOTIFICATIONBAR))
#define BOXES_IS_NOTIFICATIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_NOTIFICATIONBAR))
#define BOXES_NOTIFICATIONBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_NOTIFICATIONBAR, BoxesNotificationbarClass))

typedef struct _BoxesNotificationbar BoxesNotificationbar;
typedef struct _BoxesNotificationbarClass BoxesNotificationbarClass;

#define BOXES_TYPE_SELECTIONBAR (boxes_selectionbar_get_type ())
#define BOXES_SELECTIONBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbar))
#define BOXES_SELECTIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbarClass))
#define BOXES_IS_SELECTIONBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SELECTIONBAR))
#define BOXES_IS_SELECTIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SELECTIONBAR))
#define BOXES_SELECTIONBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbarClass))

typedef struct _BoxesSelectionbar BoxesSelectionbar;
typedef struct _BoxesSelectionbarClass BoxesSelectionbarClass;

#define BOXES_TYPE_SIDEBAR (boxes_sidebar_get_type ())
#define BOXES_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SIDEBAR, BoxesSidebar))
#define BOXES_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SIDEBAR, BoxesSidebarClass))
#define BOXES_IS_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SIDEBAR))
#define BOXES_IS_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SIDEBAR))
#define BOXES_SIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SIDEBAR, BoxesSidebarClass))

typedef struct _BoxesSidebar BoxesSidebar;
typedef struct _BoxesSidebarClass BoxesSidebarClass;

#define BOXES_TYPE_WIZARD (boxes_wizard_get_type ())
#define BOXES_WIZARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD, BoxesWizard))
#define BOXES_WIZARD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD, BoxesWizardClass))
#define BOXES_IS_WIZARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD))
#define BOXES_IS_WIZARD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD))
#define BOXES_WIZARD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD, BoxesWizardClass))

typedef struct _BoxesWizard BoxesWizard;
typedef struct _BoxesWizardClass BoxesWizardClass;

#define BOXES_TYPE_PROPERTIES (boxes_properties_get_type ())
#define BOXES_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PROPERTIES, BoxesProperties))
#define BOXES_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PROPERTIES, BoxesPropertiesClass))
#define BOXES_IS_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PROPERTIES))
#define BOXES_IS_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PROPERTIES))
#define BOXES_PROPERTIES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PROPERTIES, BoxesPropertiesClass))

typedef struct _BoxesProperties BoxesProperties;
typedef struct _BoxesPropertiesClass BoxesPropertiesClass;

#define BOXES_TYPE_DISPLAY_PAGE (boxes_display_page_get_type ())
#define BOXES_DISPLAY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPage))
#define BOXES_DISPLAY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPageClass))
#define BOXES_IS_DISPLAY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DISPLAY_PAGE))
#define BOXES_IS_DISPLAY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DISPLAY_PAGE))
#define BOXES_DISPLAY_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPageClass))

typedef struct _BoxesDisplayPage BoxesDisplayPage;
typedef struct _BoxesDisplayPageClass BoxesDisplayPageClass;

#define BOXES_TYPE_EMPTY_BOXES (boxes_empty_boxes_get_type ())
#define BOXES_EMPTY_BOXES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxes))
#define BOXES_EMPTY_BOXES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxesClass))
#define BOXES_IS_EMPTY_BOXES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_EMPTY_BOXES))
#define BOXES_IS_EMPTY_BOXES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_EMPTY_BOXES))
#define BOXES_EMPTY_BOXES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxesClass))

typedef struct _BoxesEmptyBoxes BoxesEmptyBoxes;
typedef struct _BoxesEmptyBoxesClass BoxesEmptyBoxesClass;

#define BOXES_TYPE_COLLECTION_VIEW (boxes_collection_view_get_type ())
#define BOXES_COLLECTION_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionView))
#define BOXES_COLLECTION_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionViewClass))
#define BOXES_IS_COLLECTION_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_VIEW))
#define BOXES_IS_COLLECTION_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_VIEW))
#define BOXES_COLLECTION_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_VIEW, BoxesCollectionViewClass))

typedef struct _BoxesCollectionView BoxesCollectionView;
typedef struct _BoxesCollectionViewClass BoxesCollectionViewClass;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _BoxesVmImporterImportVmData BoxesVmImporterImportVmData;

struct _BoxesVMCreator {
	GTypeInstance parent_instance;
	volatile int ref_count;
	BoxesVMCreatorPrivate * priv;
};

struct _BoxesVMCreatorClass {
	GTypeClass parent_class;
	void (*finalize) (BoxesVMCreator *self);
	void (*launch_vm) (BoxesVMCreator* self, BoxesLibvirtMachine* machine, GError** error);
	void (*continue_installation) (BoxesVMCreator* self, BoxesLibvirtMachine* machine, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*continue_installation_finish) (BoxesVMCreator* self, GAsyncResult* _res_);
	void (*update_machine_info) (BoxesVMCreator* self, BoxesLibvirtMachine* machine);
	void (*create_domain_config) (BoxesVMCreator* self, const gchar* name, const gchar* title, GVirStorageVol* volume, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GVirConfigDomain* (*create_domain_config_finish) (BoxesVMCreator* self, GAsyncResult* _res_, GError** error);
	void (*create_domain_base_name_and_title) (BoxesVMCreator* self, gchar** base_name, gchar** base_title);
};

struct _BoxesVMImporter {
	BoxesVMCreator parent_instance;
	BoxesVMImporterPrivate * priv;
	gboolean start_after_import;
};

struct _BoxesVMImporterClass {
	BoxesVMCreatorClass parent_class;
};

typedef enum  {
	BOXES_UI_STATE_NONE,
	BOXES_UI_STATE_COLLECTION,
	BOXES_UI_STATE_CREDS,
	BOXES_UI_STATE_DISPLAY,
	BOXES_UI_STATE_WIZARD,
	BOXES_UI_STATE_PROPERTIES
} BoxesUIState;

struct _BoxesUIIface {
	GTypeInterface parent_iface;
	BoxesUIState (*get_previous_ui_state) (BoxesUI* self);
	void (*set_previous_ui_state) (BoxesUI* self, BoxesUIState value);
	BoxesUIState (*get_ui_state) (BoxesUI* self);
	void (*set_ui_state) (BoxesUI* self, BoxesUIState value);
};

struct _BoxesCollectionItem {
	GObject parent_instance;
	BoxesCollectionItemPrivate * priv;
};

struct _BoxesCollectionItemClass {
	GObjectClass parent_class;
	gint (*compare) (BoxesCollectionItem* self, BoxesCollectionItem* other);
};

typedef enum  {
	BOXES_PROPERTIES_PAGE_LOGIN,
	BOXES_PROPERTIES_PAGE_SYSTEM,
	BOXES_PROPERTIES_PAGE_DISPLAY,
	BOXES_PROPERTIES_PAGE_DEVICES,
	BOXES_PROPERTIES_PAGE_SNAPSHOTS,
	BOXES_PROPERTIES_PAGE_LAST
} BoxesPropertiesPage;

typedef enum  {
	PROPERTY_CREATION_FLAG_NONE = 1 << 0,
	PROPERTY_CREATION_FLAG_NO_USB = 1 << 1
} PropertyCreationFlag;

struct _BoxesIPropertiesProviderIface {
	GTypeInterface parent_iface;
	GList* (*get_properties) (BoxesIPropertiesProvider* self, BoxesPropertiesPage page, PropertyCreationFlag* flags);
};

typedef enum  {
	BOXES_MACHINE_CONNECT_FLAGS_NONE = 0,
	BOXES_MACHINE_CONNECT_FLAGS_IGNORE_SAVED_STATE = 1 << 0
} BoxesMachineConnectFlags;

struct _BoxesMachine {
	BoxesCollectionItem parent_instance;
	BoxesMachinePrivate * priv;
	BoxesCollectionSource* source;
	BoxesBoxConfig* config;
	gboolean stay_on_display;
	gboolean suspend_at_exit;
};

struct _BoxesMachineClass {
	BoxesCollectionItemClass parent_class;
	void (*save_real) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*save_real_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	void (*take_screenshot) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GdkPixbuf* (*take_screenshot_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	GList* (*get_properties) (BoxesMachine* self, BoxesPropertiesPage page, PropertyCreationFlag* flags);
	void (*connect_display) (BoxesMachine* self, BoxesMachineConnectFlags flags, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*connect_display_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	void (*restart) (BoxesMachine* self);
	void (*disconnect_display) (BoxesMachine* self);
	void (*delete) (BoxesMachine* self, gboolean by_user);
};

struct _BoxesVmImporterContinueInstallationData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesVMImporter* self;
	BoxesLibvirtMachine* machine;
	BoxesMediaManager* _tmp0_;
	BoxesMediaManager* _tmp1_;
	BoxesLibvirtMachine* _tmp2_;
	GVirConfigDomain* _tmp3_;
	GVirConfigDomain* _tmp4_;
	BoxesInstallerMedia* _tmp5_;
	BoxesInstallerMedia* _tmp6_;
	BoxesLibvirtMachine* _tmp7_;
	BoxesLibvirtMachine* _tmp8_;
	BoxesLibvirtMachine* _tmp9_;
};

struct _BoxesInstallerMedia {
	GObject parent_instance;
	BoxesInstallerMediaPrivate * priv;
	OsinfoOs* os;
	OsinfoResources* resources;
	OsinfoMedia* os_media;
	gchar* label;
	gchar* device_file;
	gchar* mount_point;
	gboolean from_image;
};

struct _BoxesInstallerMediaClass {
	GObjectClass parent_class;
	void (*set_direct_boot_params) (BoxesInstallerMedia* self, GVirConfigDomainOs* os);
	void (*prepare) (BoxesInstallerMedia* self, BoxesActivityProgress* progress, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*prepare_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_);
	void (*prepare_for_installation) (BoxesInstallerMedia* self, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*prepare_for_installation_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_, GError** error);
	void (*prepare_to_continue_installation) (BoxesInstallerMedia* self, const gchar* vm_name);
	void (*clean_up) (BoxesInstallerMedia* self);
	void (*clean_up_preparation_cache) (BoxesInstallerMedia* self);
	void (*setup_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*setup_post_install_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*populate_setup_box) (BoxesInstallerMedia* self, GtkBox* setup_box);
	GList* (*get_vm_properties) (BoxesInstallerMedia* self);
	BoxesVMCreator* (*get_vm_creator) (BoxesInstallerMedia* self);
	OsinfoDeviceList* (*get_supported_devices) (BoxesInstallerMedia* self);
	guint64 (*get_installed_size) (BoxesInstallerMedia* self);
	gboolean (*get_need_user_input_for_vm_creation) (BoxesInstallerMedia* self);
	gboolean (*get_ready_to_create) (BoxesInstallerMedia* self);
	gboolean (*get_live) (BoxesInstallerMedia* self);
	gchar* (*get_architecture) (BoxesInstallerMedia* self);
};

struct _BoxesAppWindow {
	GtkApplicationWindow parent_instance;
	BoxesAppWindowPrivate * priv;
	BoxesSearchbar* searchbar;
	BoxesTopbar* topbar;
	BoxesNotificationbar* notificationbar;
	BoxesSelectionbar* selectionbar;
	BoxesSidebar* sidebar;
	BoxesWizard* wizard;
	BoxesProperties* properties;
	BoxesDisplayPage* display_page;
	BoxesEmptyBoxes* empty_boxes;
	GtkStack* below_bin;
	BoxesCollectionView* view;
	GSettings* settings;
};

struct _BoxesAppWindowClass {
	GtkApplicationWindowClass parent_class;
};

struct _BoxesVmImporterImportVmData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesVMImporter* self;
	BoxesLibvirtMachine* machine;
	gchar* destination_path;
	BoxesLibvirtMachine* _tmp0_;
	GVirStorageVol* _tmp1_;
	GVirStorageVol* _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	BoxesInstalledMedia* _tmp5_;
	BoxesInstalledMedia* _tmp6_;
	const gchar* _tmp7_;
	GVirStoragePool* pool;
	GVirStoragePool* _tmp8_;
	GVirStoragePool* _tmp9_;
	GError* _error_;
	BoxesLibvirtMachine* _tmp10_;
	const gchar* _tmp11_;
	const gchar* _tmp12_;
	BoxesInstalledMedia* _tmp13_;
	BoxesInstalledMedia* _tmp14_;
	const gchar* _tmp15_;
	GError* _tmp16_;
	const gchar* _tmp17_;
	gchar* ui_message;
	const gchar* _tmp18_;
	BoxesInstalledMedia* _tmp19_;
	BoxesInstalledMedia* _tmp20_;
	const gchar* _tmp21_;
	gchar* _tmp22_;
	BoxesApp* _tmp23_;
	BoxesAppWindow* _tmp24_;
	BoxesAppWindow* _tmp25_;
	BoxesNotificationbar* _tmp26_;
	const gchar* _tmp27_;
	GdNotification* _tmp28_;
	GdNotification* _tmp29_;
	BoxesLibvirtMachine* _tmp30_;
	BoxesLibvirtMachine* _tmp31_;
	gboolean _tmp32_;
	BoxesLibvirtMachine* _tmp33_;
	GVirDomain* _tmp34_;
	GVirDomain* _tmp35_;
	GError* _vala1__error_;
	BoxesLibvirtMachine* _tmp36_;
	GVirDomain* _tmp37_;
	GVirDomain* _tmp38_;
	const gchar* _tmp39_;
	GError* _tmp40_;
	const gchar* _tmp41_;
	BoxesLibvirtMachine* _tmp42_;
	BoxesLibvirtMachine* _tmp43_;
	GError * _inner_error_;
};


static gpointer boxes_vm_importer_parent_class = NULL;
extern BoxesApp* boxes_app_app;

gpointer boxes_vm_creator_ref (gpointer instance);
void boxes_vm_creator_unref (gpointer instance);
GParamSpec* boxes_param_spec_vm_creator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void boxes_value_set_vm_creator (GValue* value, gpointer v_object);
void boxes_value_take_vm_creator (GValue* value, gpointer v_object);
gpointer boxes_value_get_vm_creator (const GValue* value);
GType boxes_vm_creator_get_type (void) G_GNUC_CONST;
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_machine_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_machine_get_type (void) G_GNUC_CONST;
GType boxes_vm_importer_get_type (void) G_GNUC_CONST;
enum  {
	BOXES_VM_IMPORTER_DUMMY_PROPERTY
};
GType boxes_installer_media_get_type (void) G_GNUC_CONST;
GType boxes_installed_media_get_type (void) G_GNUC_CONST;
BoxesVMImporter* boxes_vm_importer_new (BoxesInstalledMedia* source_media);
BoxesVMImporter* boxes_vm_importer_construct (GType object_type, BoxesInstalledMedia* source_media);
BoxesVMCreator* boxes_vm_creator_new (BoxesInstallerMedia* install_media);
BoxesVMCreator* boxes_vm_creator_construct (GType object_type, BoxesInstallerMedia* install_media);
BoxesVMImporter* boxes_vm_importer_new_for_import_completion (BoxesLibvirtMachine* machine);
BoxesVMImporter* boxes_vm_importer_construct_for_import_completion (GType object_type, BoxesLibvirtMachine* machine);
BoxesVMCreator* boxes_vm_creator_new_for_install_completion (BoxesLibvirtMachine* machine);
BoxesVMCreator* boxes_vm_creator_construct_for_install_completion (GType object_type, BoxesLibvirtMachine* machine);
static void boxes_vm_importer_real_launch_vm (BoxesVMCreator* base, BoxesLibvirtMachine* machine, GError** error);
void boxes_libvirt_machine_set_vm_creator (BoxesLibvirtMachine* self, BoxesVMCreator* value);
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_properties_page_get_type (void) G_GNUC_CONST;
GType property_creation_flag_get_type (void) G_GNUC_CONST;
GType boxes_property_get_type (void) G_GNUC_CONST;
GType boxes_iproperties_provider_get_type (void) G_GNUC_CONST;
GType boxes_machine_connect_flags_get_type (void) G_GNUC_CONST;
void boxes_vm_creator_update_machine_info (BoxesVMCreator* self, BoxesLibvirtMachine* machine);
static void boxes_vm_importer_import_vm (BoxesVMImporter* self, BoxesLibvirtMachine* machine, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_vm_importer_import_vm_finish (BoxesVMImporter* self, GAsyncResult* _res_);
static void boxes_vm_importer_real_continue_installation_data_free (gpointer _data);
static void boxes_vm_importer_real_continue_installation (BoxesVMCreator* base, BoxesLibvirtMachine* machine, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_vm_importer_real_continue_installation_co (BoxesVmImporterContinueInstallationData* _data_);
GType boxes_media_manager_get_type (void) G_GNUC_CONST;
BoxesMediaManager* boxes_media_manager_get_instance (void);
void boxes_media_manager_create_installer_media_from_config (BoxesMediaManager* self, GVirConfigDomain* config, GAsyncReadyCallback _callback_, gpointer _user_data_);
BoxesInstallerMedia* boxes_media_manager_create_installer_media_from_config_finish (BoxesMediaManager* self, GAsyncResult* _res_);
GVirConfigDomain* boxes_libvirt_machine_get_domain_config (BoxesLibvirtMachine* self);
static void boxes_vm_importer_continue_installation_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void boxes_vm_creator_set_install_media (BoxesVMCreator* self, BoxesInstallerMedia* value);
static void boxes_vm_importer_real_update_machine_info (BoxesVMCreator* base, BoxesLibvirtMachine* machine);
void boxes_machine_set_info (BoxesMachine* self, const gchar* value);
static void boxes_vm_importer_import_vm_data_free (gpointer _data);
static gboolean boxes_vm_importer_import_vm_co (BoxesVmImporterImportVmData* _data_);
GVirStorageVol* boxes_libvirt_machine_get_storage_volume (BoxesLibvirtMachine* self);
BoxesInstalledMedia* boxes_vm_importer_get_source_media (BoxesVMImporter* self);
void boxes_installed_media_copy (BoxesInstalledMedia* self, const gchar* destination_path, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_installed_media_copy_finish (BoxesInstalledMedia* self, GAsyncResult* _res_, GError** error);
static void boxes_vm_importer_import_vm_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void boxes_vm_creator_get_storage_pool (BoxesVMCreator* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
GVirStoragePool* boxes_vm_creator_get_storage_pool_finish (BoxesVMCreator* self, GAsyncResult* _res_, GError** error);
const gchar* boxes_collection_item_get_name (BoxesCollectionItem* self);
GType boxes_app_get_type (void) G_GNUC_CONST;
GType boxes_app_window_get_type (void) G_GNUC_CONST;
BoxesAppWindow* boxes_app_get_main_window (BoxesApp* self);
GType boxes_searchbar_get_type (void) G_GNUC_CONST;
GType boxes_topbar_get_type (void) G_GNUC_CONST;
GType boxes_notificationbar_get_type (void) G_GNUC_CONST;
GType boxes_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_sidebar_get_type (void) G_GNUC_CONST;
GType boxes_wizard_get_type (void) G_GNUC_CONST;
GType boxes_properties_get_type (void) G_GNUC_CONST;
GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_empty_boxes_get_type (void) G_GNUC_CONST;
GType boxes_collection_view_get_type (void) G_GNUC_CONST;
GdNotification* boxes_notificationbar_display_error (BoxesNotificationbar* self, const gchar* message, gint timeout);
#define BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT 6
void boxes_machine_delete (BoxesMachine* self, gboolean by_user);
void boxes_vm_creator_set_post_install_config (BoxesVMCreator* self, BoxesLibvirtMachine* machine);
GVirDomain* boxes_libvirt_machine_get_domain (BoxesLibvirtMachine* self);
BoxesInstallerMedia* boxes_vm_creator_get_install_media (BoxesVMCreator* self);
static void boxes_vm_importer_finalize (BoxesVMCreator* obj);


BoxesVMImporter* boxes_vm_importer_construct (GType object_type, BoxesInstalledMedia* source_media) {
	BoxesVMImporter* self = NULL;
	BoxesInstalledMedia* _tmp0_ = NULL;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	g_return_val_if_fail (source_media != NULL, NULL);
#line 12 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp0_ = source_media;
#line 12 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	self = (BoxesVMImporter*) boxes_vm_creator_construct (object_type, (BoxesInstallerMedia*) _tmp0_);
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	return self;
#line 599 "vm-importer.c"
}


BoxesVMImporter* boxes_vm_importer_new (BoxesInstalledMedia* source_media) {
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	return boxes_vm_importer_construct (BOXES_TYPE_VM_IMPORTER, source_media);
#line 606 "vm-importer.c"
}


BoxesVMImporter* boxes_vm_importer_construct_for_import_completion (GType object_type, BoxesLibvirtMachine* machine) {
	BoxesVMImporter* self = NULL;
	BoxesLibvirtMachine* _tmp0_ = NULL;
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	g_return_val_if_fail (machine != NULL, NULL);
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp0_ = machine;
#line 16 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	self = (BoxesVMImporter*) boxes_vm_creator_construct_for_install_completion (object_type, _tmp0_);
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	return self;
#line 621 "vm-importer.c"
}


BoxesVMImporter* boxes_vm_importer_new_for_import_completion (BoxesLibvirtMachine* machine) {
#line 15 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	return boxes_vm_importer_construct_for_import_completion (BOXES_TYPE_VM_IMPORTER, machine);
#line 628 "vm-importer.c"
}


static void boxes_vm_importer_real_launch_vm (BoxesVMCreator* base, BoxesLibvirtMachine* machine, GError** error) {
	BoxesVMImporter * self;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	BoxesLibvirtMachine* _tmp1_ = NULL;
	BoxesBoxConfig* _tmp2_ = NULL;
	gint64 _tmp3_ = 0LL;
	BoxesLibvirtMachine* _tmp4_ = NULL;
	BoxesLibvirtMachine* _tmp5_ = NULL;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	self = (BoxesVMImporter*) base;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	g_return_if_fail (machine != NULL);
#line 20 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp0_ = machine;
#line 20 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_libvirt_machine_set_vm_creator (_tmp0_, (BoxesVMCreator*) self);
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp1_ = machine;
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp2_ = ((BoxesMachine*) _tmp1_)->config;
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp3_ = g_get_real_time ();
#line 21 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_box_config_set_access_last_time (_tmp2_, _tmp3_);
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp4_ = machine;
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_vm_creator_update_machine_info ((BoxesVMCreator*) self, _tmp4_);
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp5_ = machine;
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_vm_importer_import_vm (self, _tmp5_, NULL, NULL);
#line 664 "vm-importer.c"
}


static void boxes_vm_importer_real_continue_installation_data_free (gpointer _data) {
	BoxesVmImporterContinueInstallationData* _data_;
	_data_ = _data;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_g_object_unref0 (_data_->machine);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_boxes_vm_creator_unref0 (_data_->self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	g_slice_free (BoxesVmImporterContinueInstallationData, _data_);
#line 677 "vm-importer.c"
}


static gpointer _boxes_vm_creator_ref0 (gpointer self) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	return self ? boxes_vm_creator_ref (self) : NULL;
#line 684 "vm-importer.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	return self ? g_object_ref (self) : NULL;
#line 691 "vm-importer.c"
}


static void boxes_vm_importer_real_continue_installation (BoxesVMCreator* base, BoxesLibvirtMachine* machine, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesVMImporter * self;
	BoxesVmImporterContinueInstallationData* _data_;
	BoxesVMImporter* _tmp0_ = NULL;
	BoxesLibvirtMachine* _tmp1_ = NULL;
	BoxesLibvirtMachine* _tmp2_ = NULL;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	self = (BoxesVMImporter*) base;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_ = g_slice_new0 (BoxesVmImporterContinueInstallationData);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_async_result = g_simple_async_result_new (NULL, _callback_, _user_data_, boxes_vm_importer_real_continue_installation);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_vm_importer_real_continue_installation_data_free);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp0_ = _boxes_vm_creator_ref0 (self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->self = _tmp0_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp1_ = machine;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_g_object_unref0 (_data_->machine);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->machine = _tmp2_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_vm_importer_real_continue_installation_co (_data_);
#line 723 "vm-importer.c"
}


static void boxes_vm_importer_real_continue_installation_finish (BoxesVMCreator* base, GAsyncResult* _res_) {
	BoxesVmImporterContinueInstallationData* _data_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 731 "vm-importer.c"
}


static void boxes_vm_importer_continue_installation_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesVmImporterContinueInstallationData* _data_;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_ = _user_data_;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_source_object_ = source_object;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_res_ = _res_;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_vm_importer_real_continue_installation_co (_data_);
#line 745 "vm-importer.c"
}


static gboolean boxes_vm_importer_real_continue_installation_co (BoxesVmImporterContinueInstallationData* _data_) {
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	switch (_data_->_state_) {
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		case 0:
#line 754 "vm-importer.c"
		goto _state_0;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		case 1:
#line 758 "vm-importer.c"
		goto _state_1;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		case 2:
#line 762 "vm-importer.c"
		goto _state_2;
		default:
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		g_assert_not_reached ();
#line 767 "vm-importer.c"
	}
	_state_0:
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp0_ = NULL;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp0_ = boxes_media_manager_get_instance ();
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp1_ = NULL;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp2_ = NULL;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp2_ = _data_->machine;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp3_ = NULL;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp3_ = boxes_libvirt_machine_get_domain_config (_data_->_tmp2_);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp4_ = NULL;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_state_ = 1;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_media_manager_create_installer_media_from_config (_data_->_tmp1_, _data_->_tmp4_, boxes_vm_importer_continue_installation_ready, _data_);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	return FALSE;
#line 796 "vm-importer.c"
	_state_1:
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp5_ = NULL;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp5_ = boxes_media_manager_create_installer_media_from_config_finish (_data_->_tmp1_, _data_->_res_);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp6_ = NULL;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_vm_creator_set_install_media ((BoxesVMCreator*) _data_->self, _data_->_tmp6_);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_g_object_unref0 (_data_->_tmp6_);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_g_object_unref0 (_data_->_tmp1_);
#line 29 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp7_ = NULL;
#line 29 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp7_ = _data_->machine;
#line 29 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_libvirt_machine_set_vm_creator (_data_->_tmp7_, (BoxesVMCreator*) _data_->self);
#line 30 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp8_ = NULL;
#line 30 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp8_ = _data_->machine;
#line 30 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_vm_creator_update_machine_info ((BoxesVMCreator*) _data_->self, _data_->_tmp8_);
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp9_ = NULL;
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp9_ = _data_->machine;
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_state_ = 2;
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_vm_importer_import_vm (_data_->self, _data_->_tmp9_, boxes_vm_importer_continue_installation_ready, _data_);
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	return FALSE;
#line 834 "vm-importer.c"
	_state_2:
#line 32 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_vm_importer_import_vm_finish (_data_->self, _data_->_res_);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	if (_data_->_state_ == 0) {
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 842 "vm-importer.c"
	} else {
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 846 "vm-importer.c"
	}
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	g_object_unref (_data_->_async_result);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	return FALSE;
#line 852 "vm-importer.c"
}


static void boxes_vm_importer_real_update_machine_info (BoxesVMCreator* base, BoxesLibvirtMachine* machine) {
	BoxesVMImporter * self;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	self = (BoxesVMImporter*) base;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	g_return_if_fail (machine != NULL);
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp0_ = machine;
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp1_ = _ ("Importing…");
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_machine_set_info ((BoxesMachine*) _tmp0_, _tmp1_);
#line 870 "vm-importer.c"
}


static void boxes_vm_importer_import_vm_data_free (gpointer _data) {
	BoxesVmImporterImportVmData* _data_;
	_data_ = _data;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_g_object_unref0 (_data_->machine);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_boxes_vm_creator_unref0 (_data_->self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	g_slice_free (BoxesVmImporterImportVmData, _data_);
#line 883 "vm-importer.c"
}


static void boxes_vm_importer_import_vm (BoxesVMImporter* self, BoxesLibvirtMachine* machine, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesVmImporterImportVmData* _data_;
	BoxesVMImporter* _tmp0_ = NULL;
	BoxesLibvirtMachine* _tmp1_ = NULL;
	BoxesLibvirtMachine* _tmp2_ = NULL;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_ = g_slice_new0 (BoxesVmImporterImportVmData);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_async_result = g_simple_async_result_new (NULL, _callback_, _user_data_, boxes_vm_importer_import_vm);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_vm_importer_import_vm_data_free);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp0_ = _boxes_vm_creator_ref0 (self);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->self = _tmp0_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp1_ = machine;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_g_object_unref0 (_data_->machine);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->machine = _tmp2_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_vm_importer_import_vm_co (_data_);
#line 912 "vm-importer.c"
}


static void boxes_vm_importer_import_vm_finish (BoxesVMImporter* self, GAsyncResult* _res_) {
	BoxesVmImporterImportVmData* _data_;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 920 "vm-importer.c"
}


static void boxes_vm_importer_import_vm_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesVmImporterImportVmData* _data_;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_ = _user_data_;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_source_object_ = source_object;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_res_ = _res_;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_vm_importer_import_vm_co (_data_);
#line 934 "vm-importer.c"
}


static gboolean boxes_vm_importer_import_vm_co (BoxesVmImporterImportVmData* _data_) {
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	switch (_data_->_state_) {
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		case 0:
#line 943 "vm-importer.c"
		goto _state_0;
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		case 1:
#line 947 "vm-importer.c"
		goto _state_1;
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		case 2:
#line 951 "vm-importer.c"
		goto _state_2;
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		case 3:
#line 955 "vm-importer.c"
		goto _state_3;
		default:
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		g_assert_not_reached ();
#line 960 "vm-importer.c"
	}
	_state_0:
	{
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp0_ = NULL;
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp0_ = _data_->machine;
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp1_ = NULL;
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp1_ = boxes_libvirt_machine_get_storage_volume (_data_->_tmp0_);
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp2_ = NULL;
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp2_ = _data_->_tmp1_;
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp3_ = NULL;
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp3_ = gvir_storage_vol_get_path (_data_->_tmp2_, &_data_->_inner_error_);
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp4_ = NULL;
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp4_ = g_strdup (_data_->_tmp3_);
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->destination_path = _data_->_tmp4_;
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 988 "vm-importer.c"
			goto __catch108_g_error;
		}
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp5_ = NULL;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp5_ = boxes_vm_importer_get_source_media (_data_->self);
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp6_ = NULL;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp6_ = _data_->_tmp5_;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp7_ = NULL;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp7_ = _data_->destination_path;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_state_ = 1;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		boxes_installed_media_copy (_data_->_tmp6_, _data_->_tmp7_, boxes_vm_importer_import_vm_ready, _data_);
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		return FALSE;
#line 1009 "vm-importer.c"
		_state_1:
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		boxes_installed_media_copy_finish (_data_->_tmp6_, _data_->_res_, &_data_->_inner_error_);
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_g_free0 (_data_->destination_path);
#line 1017 "vm-importer.c"
			goto __catch108_g_error;
		}
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_state_ = 2;
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		boxes_vm_creator_get_storage_pool ((BoxesVMCreator*) _data_->self, boxes_vm_importer_import_vm_ready, _data_);
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		return FALSE;
#line 1026 "vm-importer.c"
		_state_2:
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp8_ = NULL;
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp8_ = boxes_vm_creator_get_storage_pool_finish ((BoxesVMCreator*) _data_->self, _data_->_res_, &_data_->_inner_error_);
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->pool = _data_->_tmp8_;
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_g_free0 (_data_->destination_path);
#line 1038 "vm-importer.c"
			goto __catch108_g_error;
		}
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp9_ = NULL;
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp9_ = _data_->pool;
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_state_ = 3;
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		gvir_storage_pool_refresh_async (_data_->_tmp9_, NULL, boxes_vm_importer_import_vm_ready, _data_);
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		return FALSE;
#line 1051 "vm-importer.c"
		_state_3:
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		gvir_storage_pool_refresh_finish (_data_->_tmp9_, _data_->_res_, &_data_->_inner_error_);
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_g_object_unref0 (_data_->pool);
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_g_free0 (_data_->destination_path);
#line 1061 "vm-importer.c"
			goto __catch108_g_error;
		}
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_g_object_unref0 (_data_->pool);
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_g_free0 (_data_->destination_path);
#line 1068 "vm-importer.c"
	}
	goto __finally108;
	__catch108_g_error:
	{
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_inner_error_ = NULL;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp10_ = NULL;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp10_ = _data_->machine;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp11_ = NULL;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp11_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _data_->_tmp10_);
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp12_ = NULL;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp12_ = _data_->_tmp11_;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp13_ = NULL;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp13_ = boxes_vm_importer_get_source_media (_data_->self);
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp14_ = NULL;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp14_ = _data_->_tmp13_;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp15_ = NULL;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp15_ = ((BoxesInstallerMedia*) _data_->_tmp14_)->device_file;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp16_ = NULL;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp16_ = _data_->_error_;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp17_ = NULL;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp17_ = _data_->_tmp16_->message;
#line 49 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		g_warning ("vm-importer.vala:49: Failed to import box '%s' from file '%s': %s", _data_->_tmp12_, _data_->_tmp15_, _data_->_tmp17_);
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp18_ = NULL;
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp18_ = _ ("Box import from file '%s' failed.");
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp19_ = NULL;
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp19_ = boxes_vm_importer_get_source_media (_data_->self);
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp20_ = NULL;
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp20_ = _data_->_tmp19_;
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp21_ = NULL;
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp21_ = ((BoxesInstallerMedia*) _data_->_tmp20_)->device_file;
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp22_ = NULL;
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp22_ = g_strdup_printf (_data_->_tmp18_, _data_->_tmp21_);
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->ui_message = _data_->_tmp22_;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp23_ = NULL;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp23_ = boxes_app_app;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp24_ = NULL;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp24_ = boxes_app_get_main_window (_data_->_tmp23_);
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp25_ = NULL;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp25_ = _data_->_tmp24_;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp26_ = NULL;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp26_ = _data_->_tmp25_->notificationbar;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp27_ = NULL;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp27_ = _data_->ui_message;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp28_ = NULL;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp28_ = boxes_notificationbar_display_error (_data_->_tmp26_, _data_->_tmp27_, BOXES_NOTIFICATIONBAR_DEFAULT_TIMEOUT);
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp29_ = NULL;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp29_ = _data_->_tmp28_;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_g_object_unref0 (_data_->_tmp29_);
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp30_ = NULL;
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_data_->_tmp30_ = _data_->machine;
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		boxes_machine_delete ((BoxesMachine*) _data_->_tmp30_, TRUE);
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_g_free0 (_data_->ui_message);
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		_g_error_free0 (_data_->_error_);
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		if (_data_->_state_ == 0) {
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1177 "vm-importer.c"
		} else {
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1181 "vm-importer.c"
		}
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		g_object_unref (_data_->_async_result);
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		return FALSE;
#line 1187 "vm-importer.c"
	}
	__finally108:
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		g_clear_error (&_data_->_inner_error_);
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		return FALSE;
#line 1198 "vm-importer.c"
	}
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp31_ = NULL;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp31_ = _data_->machine;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_vm_creator_set_post_install_config ((BoxesVMCreator*) _data_->self, _data_->_tmp31_);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp32_ = FALSE;
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp32_ = _data_->self->start_after_import;
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	if (_data_->_tmp32_) {
#line 1212 "vm-importer.c"
		{
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp33_ = NULL;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp33_ = _data_->machine;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp34_ = NULL;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp34_ = boxes_libvirt_machine_get_domain (_data_->_tmp33_);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp35_ = NULL;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp35_ = _data_->_tmp34_;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			gvir_domain_start (_data_->_tmp35_, (guint) 0, &_data_->_inner_error_);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1230 "vm-importer.c"
				goto __catch109_g_error;
			}
		}
		goto __finally109;
		__catch109_g_error:
		{
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_vala1__error_ = _data_->_inner_error_;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_inner_error_ = NULL;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp36_ = NULL;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp36_ = _data_->machine;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp37_ = NULL;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp37_ = boxes_libvirt_machine_get_domain (_data_->_tmp36_);
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp38_ = NULL;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp38_ = _data_->_tmp37_;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp39_ = NULL;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp39_ = gvir_domain_get_name (_data_->_tmp38_);
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp40_ = NULL;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp40_ = _data_->_vala1__error_;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp41_ = NULL;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_data_->_tmp41_ = _data_->_tmp40_->message;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			g_warning ("vm-importer.vala:65: Failed to start domain '%s': %s", _data_->_tmp39_, _data_->_tmp41_);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			_g_error_free0 (_data_->_vala1__error_);
#line 1269 "vm-importer.c"
		}
		__finally109:
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			g_clear_error (&_data_->_inner_error_);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
			return FALSE;
#line 1280 "vm-importer.c"
		}
	}
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp42_ = NULL;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp42_ = _data_->machine;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_machine_set_info ((BoxesMachine*) _data_->_tmp42_, NULL);
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp43_ = NULL;
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_data_->_tmp43_ = _data_->machine;
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_libvirt_machine_set_vm_creator (_data_->_tmp43_, NULL);
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	if (_data_->_state_ == 0) {
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1299 "vm-importer.c"
	} else {
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1303 "vm-importer.c"
	}
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	g_object_unref (_data_->_async_result);
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	return FALSE;
#line 1309 "vm-importer.c"
}


BoxesInstalledMedia* boxes_vm_importer_get_source_media (BoxesVMImporter* self) {
	BoxesInstalledMedia* result;
	BoxesInstallerMedia* _tmp0_ = NULL;
	BoxesInstallerMedia* _tmp1_ = NULL;
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp0_ = boxes_vm_creator_get_install_media ((BoxesVMCreator*) self);
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	_tmp1_ = _tmp0_;
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	result = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, BOXES_TYPE_INSTALLED_MEDIA) ? ((BoxesInstalledMedia*) _tmp1_) : NULL;
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	return result;
#line 1327 "vm-importer.c"
}


static void boxes_vm_importer_class_init (BoxesVMImporterClass * klass) {
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	boxes_vm_importer_parent_class = g_type_class_peek_parent (klass);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	((BoxesVMCreatorClass *) klass)->finalize = boxes_vm_importer_finalize;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	((BoxesVMCreatorClass *) klass)->launch_vm = boxes_vm_importer_real_launch_vm;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	((BoxesVMCreatorClass *) klass)->continue_installation = boxes_vm_importer_real_continue_installation;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	((BoxesVMCreatorClass *) klass)->continue_installation_finish = boxes_vm_importer_real_continue_installation_finish;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	((BoxesVMCreatorClass *) klass)->update_machine_info = boxes_vm_importer_real_update_machine_info;
#line 1344 "vm-importer.c"
}


static void boxes_vm_importer_instance_init (BoxesVMImporter * self) {
#line 9 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	self->start_after_import = TRUE;
#line 1351 "vm-importer.c"
}


static void boxes_vm_importer_finalize (BoxesVMCreator* obj) {
	BoxesVMImporter * self;
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_VM_IMPORTER, BoxesVMImporter);
#line 6 "/home/zeenix/checkout/gnome/gnome-boxes/src/vm-importer.vala"
	BOXES_VM_CREATOR_CLASS (boxes_vm_importer_parent_class)->finalize (obj);
#line 1361 "vm-importer.c"
}


GType boxes_vm_importer_get_type (void) {
	static volatile gsize boxes_vm_importer_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_vm_importer_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesVMImporterClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_vm_importer_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesVMImporter), 0, (GInstanceInitFunc) boxes_vm_importer_instance_init, NULL };
		GType boxes_vm_importer_type_id;
		boxes_vm_importer_type_id = g_type_register_static (BOXES_TYPE_VM_CREATOR, "BoxesVMImporter", &g_define_type_info, 0);
		g_once_init_leave (&boxes_vm_importer_type_id__volatile, boxes_vm_importer_type_id);
	}
	return boxes_vm_importer_type_id__volatile;
}



