/* codecore.h generated by valac 0.56.19, the Vala compiler, do not modify */

#ifndef __SRC_CODECORE_H__
#define __SRC_CODECORE_H__

#include <gio/gio.h>
#include <gtk/gtk.h>
#include <glib-object.h>
#include <handy.h>
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include <gee.h>
#include <float.h>
#include <math.h>
#include <pango/pango.h>
#include <granite.h>
#include <libgit2-glib/ggit.h>
#include <gtksourceview/gtksource.h>
#include <gdk/gdk.h>
#include <vte/vte.h>
#include <vala.h>

G_BEGIN_DECLS

#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif
#define SCRATCH_MAIN_WINDOW_FONT_SIZE_MAX 72
#define SCRATCH_MAIN_WINDOW_FONT_SIZE_MIN 7
#define SCRATCH_MAIN_WINDOW_ACTION_GROUP "win"
#define SCRATCH_MAIN_WINDOW_ACTION_PREFIX SCRATCH_MAIN_WINDOW_ACTION_GROUP "."
#define SCRATCH_MAIN_WINDOW_ACTION_FIND "action-find"
#define SCRATCH_MAIN_WINDOW_ACTION_CLONE_REPO "action-clone-repo"
#define SCRATCH_MAIN_WINDOW_ACTION_FIND_NEXT "action-find-next"
#define SCRATCH_MAIN_WINDOW_ACTION_FIND_PREVIOUS "action-find-previous"
#define SCRATCH_MAIN_WINDOW_ACTION_FIND_GLOBAL "action-find-global"
#define SCRATCH_MAIN_WINDOW_ACTION_OPEN "action-open"
#define SCRATCH_MAIN_WINDOW_ACTION_OPEN_FOLDER "action-open-folder"
#define SCRATCH_MAIN_WINDOW_ACTION_OPEN_PROJECT "action-open-project"
#define SCRATCH_MAIN_WINDOW_ACTION_COLLAPSE_ALL_FOLDERS "action-collapse-all-folders"
#define SCRATCH_MAIN_WINDOW_ACTION_GO_TO "action-go-to"
#define SCRATCH_MAIN_WINDOW_ACTION_NEW_TAB "action-new-tab"
#define SCRATCH_MAIN_WINDOW_ACTION_NEW_FROM_CLIPBOARD "action-new-from-clipboard"
#define SCRATCH_MAIN_WINDOW_ACTION_DUPLICATE_TAB "action-duplicate-tab"
#define SCRATCH_MAIN_WINDOW_ACTION_PREFERENCES "preferences"
#define SCRATCH_MAIN_WINDOW_ACTION_UNDO "action-undo"
#define SCRATCH_MAIN_WINDOW_ACTION_REDO "action-redo"
#define SCRATCH_MAIN_WINDOW_ACTION_REVERT "action-revert"
#define SCRATCH_MAIN_WINDOW_ACTION_SAVE "action-save"
#define SCRATCH_MAIN_WINDOW_ACTION_SAVE_AS "action-save-as"
#define SCRATCH_MAIN_WINDOW_ACTION_SHOW_REPLACE "action-show-replace"
#define SCRATCH_MAIN_WINDOW_ACTION_TO_LOWER_CASE "action-to-lower-case"
#define SCRATCH_MAIN_WINDOW_ACTION_TO_UPPER_CASE "action-to-upper-case"
#define SCRATCH_MAIN_WINDOW_ACTION_DUPLICATE "action-duplicate"
#define SCRATCH_MAIN_WINDOW_ACTION_FULLSCREEN "action-fullscreen"
#define SCRATCH_MAIN_WINDOW_ACTION_QUIT "action-quit-app"
#define SCRATCH_MAIN_WINDOW_ACTION_CLOSE_WINDOW "action-close-window"
#define SCRATCH_MAIN_WINDOW_ACTION_ZOOM_DEFAULT "action-zoom-default"
#define SCRATCH_MAIN_WINDOW_ACTION_ZOOM_IN "action-zoom-in"
#define SCRATCH_MAIN_WINDOW_ACTION_ZOOM_OUT "action-zoom-out"
#define SCRATCH_MAIN_WINDOW_ACTION_TOGGLE_SHOW_FIND "action-toggle_show-find"
#define SCRATCH_MAIN_WINDOW_ACTION_TOGGLE_SIDEBAR "action-toggle-sidebar"
#define SCRATCH_MAIN_WINDOW_ACTION_FOCUS_SIDEBAR "action-focus-sidebar"
#define SCRATCH_MAIN_WINDOW_ACTION_FOCUS_DOCUMENT "action-focus-document"
#define SCRATCH_MAIN_WINDOW_ACTION_TOGGLE_OUTLINE "action-toggle-outline"
#define SCRATCH_MAIN_WINDOW_ACTION_TOGGLE_TERMINAL "action-toggle-terminal"
#define SCRATCH_MAIN_WINDOW_ACTION_OPEN_IN_TERMINAL "action-open-in-terminal"
#define SCRATCH_MAIN_WINDOW_ACTION_SET_ACTIVE_PROJECT "action-set-active-project"
#define SCRATCH_MAIN_WINDOW_ACTION_NEXT_TAB "action-next-tab"
#define SCRATCH_MAIN_WINDOW_ACTION_PREVIOUS_TAB "action-previous-tab"
#define SCRATCH_MAIN_WINDOW_ACTION_CLEAR_LINES "action-clear-lines"
#define SCRATCH_MAIN_WINDOW_ACTION_BRANCH_ACTIONS "action-branch-actions"
#define SCRATCH_MAIN_WINDOW_ACTION_CLOSE_TAB "action-close-tab"
#define SCRATCH_MAIN_WINDOW_ACTION_CLOSE_TABS_TO_RIGHT "action-close-tabs-to-right"
#define SCRATCH_MAIN_WINDOW_ACTION_CLOSE_OTHER_TABS "action-close-other-tabs"
#define SCRATCH_MAIN_WINDOW_ACTION_CLOSE_PROJECT_DOCS "action-close-project-docs"
#define SCRATCH_MAIN_WINDOW_ACTION_HIDE_PROJECT_DOCS "action-hide-project-docs"
#define SCRATCH_MAIN_WINDOW_ACTION_RESTORE_PROJECT_DOCS "action-restore-project-docs"
#define SCRATCH_MAIN_WINDOW_ACTION_MOVE_TAB_TO_NEW_WINDOW "action-move-tab-to-new-window"
#define SCRATCH_MAIN_WINDOW_ACTION_RESTORE_CLOSED_TAB "action-restore-closed-tab"
#define SCRATCH_MAIN_WINDOW_ACTION_OPEN_IN_NEW_WINDOW "action-open-in-new-window"
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_GROUP "file-view"
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_PREFIX SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_GROUP "."
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_LAUNCH_APP_WITH_FILE_PATH "launch-app-with-file-path"
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_SHOW_APP_CHOOSER "show-app-chooser"
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_EXECUTE_CONTRACT_WITH_FILE_PATH "execute-contract-with-file-path"
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_RENAME_FILE "rename-file"
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_RENAME_FOLDER "rename-folder"
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_DELETE "delete"
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_NEW_FILE "new-file"
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_NEW_FROM_TEMPLATE "new-from-template"
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_NEW_FOLDER "new-folder"
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_CLOSE_FOLDER "close-folder"
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_ACTION_CLOSE_OTHER_FOLDERS "close-other-folders"
#define SCRATCH_SERVICES_MONITORED_REPOSITORY_ORIGIN_PREFIX "origin/"
#define SCRATCH_WIDGETS_GIT_GUTTER_RENDERER_ADDED_STYLE_ID "diff:added-line"
#define SCRATCH_WIDGETS_GIT_GUTTER_RENDERER_REMOVED_STYLE_ID "diff:removed-line"
#define SCRATCH_WIDGETS_GIT_GUTTER_RENDERER_CHANGED_STYLE_ID "diff:changed-line"
#define SCRATCH_WIDGETS_GIT_GUTTER_RENDERER_REPLACES_DELETED_STYLE_ID "diff:special-case"
#define SCRATCH_WIDGETS_GIT_GUTTER_RENDERER_NONE_STYLE_ID "background-pattern"
#define CODE_SIDEBAR_SIDEBAR_ACTION_GROUP "sidebar"
#define CODE_SIDEBAR_SIDEBAR_ACTION_PREFIX CODE_SIDEBAR_SIDEBAR_ACTION_GROUP "."
#define CODE_TERMINAL_ACTION_GROUP "term"
#define CODE_TERMINAL_ACTION_COPY "action-copy"
#define CODE_TERMINAL_ACTION_PASTE "action-paste"
#define SCRATCH_SERVICES_VALA_SYMBOL_OUTLINE_PARSE_TIME_MAX_MSEC 5000
#define CONSTANTS_GETTEXT_PACKAGE "io.elementary.code"
#define CONSTANTS_PROJECT_NAME "io.elementary.code"
#define CONSTANTS_VERSION "8.3.2"
#define CONSTANTS_PLUGINDIR "/usr/lib/io.elementary.code/plugins"
#define CONSTANTS_INSTALL_PREFIX "/usr"
#define CONSTANTS_DATADIR "/usr/share"
#define CONSTANTS_LOCALEDIR "/usr/share/locale"
#define CONSTANTS_BRANCH ""

#define SCRATCH_TYPE_APPLICATION (scratch_application_get_type ())
#define SCRATCH_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_TYPE_APPLICATION, ScratchApplication))
#define SCRATCH_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_TYPE_APPLICATION, ScratchApplicationClass))
#define SCRATCH_IS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_TYPE_APPLICATION))
#define SCRATCH_IS_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_TYPE_APPLICATION))
#define SCRATCH_APPLICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_TYPE_APPLICATION, ScratchApplicationClass))

typedef struct _ScratchApplication ScratchApplication;
typedef struct _ScratchApplicationClass ScratchApplicationClass;
typedef struct _ScratchApplicationPrivate ScratchApplicationPrivate;

#define SCRATCH_TYPE_MAIN_WINDOW (scratch_main_window_get_type ())
#define SCRATCH_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_TYPE_MAIN_WINDOW, ScratchMainWindow))
#define SCRATCH_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_TYPE_MAIN_WINDOW, ScratchMainWindowClass))
#define SCRATCH_IS_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_TYPE_MAIN_WINDOW))
#define SCRATCH_IS_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_TYPE_MAIN_WINDOW))
#define SCRATCH_MAIN_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_TYPE_MAIN_WINDOW, ScratchMainWindowClass))

typedef struct _ScratchMainWindow ScratchMainWindow;
typedef struct _ScratchMainWindowClass ScratchMainWindowClass;
typedef struct _ScratchMainWindowPrivate ScratchMainWindowPrivate;

#define TYPE_RESTORE_OVERRIDE (restore_override_get_type ())
#define RESTORE_OVERRIDE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_RESTORE_OVERRIDE, RestoreOverride))
#define RESTORE_OVERRIDE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_RESTORE_OVERRIDE, RestoreOverrideClass))
#define IS_RESTORE_OVERRIDE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_RESTORE_OVERRIDE))
#define IS_RESTORE_OVERRIDE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_RESTORE_OVERRIDE))
#define RESTORE_OVERRIDE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_RESTORE_OVERRIDE, RestoreOverrideClass))

typedef struct _RestoreOverride RestoreOverride;
typedef struct _RestoreOverrideClass RestoreOverrideClass;

#define SCRATCH_SERVICES_TYPE_DOCUMENT (scratch_services_document_get_type ())
#define SCRATCH_SERVICES_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_DOCUMENT, ScratchServicesDocument))
#define SCRATCH_SERVICES_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_SERVICES_TYPE_DOCUMENT, ScratchServicesDocumentClass))
#define SCRATCH_SERVICES_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_DOCUMENT))
#define SCRATCH_SERVICES_IS_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_SERVICES_TYPE_DOCUMENT))
#define SCRATCH_SERVICES_DOCUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_SERVICES_TYPE_DOCUMENT, ScratchServicesDocumentClass))

typedef struct _ScratchServicesDocument ScratchServicesDocument;
typedef struct _ScratchServicesDocumentClass ScratchServicesDocumentClass;

#define TYPE_SELECTION_RANGE (selection_range_get_type ())
typedef struct _SelectionRange SelectionRange;

#define CODE_TYPE_SIDEBAR (code_sidebar_get_type ())
#define CODE_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_TYPE_SIDEBAR, CodeSidebar))
#define CODE_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CODE_TYPE_SIDEBAR, CodeSidebarClass))
#define CODE_IS_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_TYPE_SIDEBAR))
#define CODE_IS_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CODE_TYPE_SIDEBAR))
#define CODE_SIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CODE_TYPE_SIDEBAR, CodeSidebarClass))

typedef struct _CodeSidebar CodeSidebar;
typedef struct _CodeSidebarClass CodeSidebarClass;

#define SCRATCH_WIDGETS_TYPE_DOCUMENT_VIEW (scratch_widgets_document_view_get_type ())
#define SCRATCH_WIDGETS_DOCUMENT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_WIDGETS_TYPE_DOCUMENT_VIEW, ScratchWidgetsDocumentView))
#define SCRATCH_WIDGETS_DOCUMENT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_WIDGETS_TYPE_DOCUMENT_VIEW, ScratchWidgetsDocumentViewClass))
#define SCRATCH_WIDGETS_IS_DOCUMENT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_WIDGETS_TYPE_DOCUMENT_VIEW))
#define SCRATCH_WIDGETS_IS_DOCUMENT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_WIDGETS_TYPE_DOCUMENT_VIEW))
#define SCRATCH_WIDGETS_DOCUMENT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_WIDGETS_TYPE_DOCUMENT_VIEW, ScratchWidgetsDocumentViewClass))

typedef struct _ScratchWidgetsDocumentView ScratchWidgetsDocumentView;
typedef struct _ScratchWidgetsDocumentViewClass ScratchWidgetsDocumentViewClass;

#define SCRATCH_DIALOGS_TYPE_PREFERENCES (scratch_dialogs_preferences_get_type ())
#define SCRATCH_DIALOGS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_DIALOGS_TYPE_PREFERENCES, ScratchDialogsPreferences))
#define SCRATCH_DIALOGS_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_DIALOGS_TYPE_PREFERENCES, ScratchDialogsPreferencesClass))
#define SCRATCH_DIALOGS_IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_DIALOGS_TYPE_PREFERENCES))
#define SCRATCH_DIALOGS_IS_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_DIALOGS_TYPE_PREFERENCES))
#define SCRATCH_DIALOGS_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_DIALOGS_TYPE_PREFERENCES, ScratchDialogsPreferencesClass))

typedef struct _ScratchDialogsPreferences ScratchDialogsPreferences;
typedef struct _ScratchDialogsPreferencesClass ScratchDialogsPreferencesClass;
typedef struct _ScratchDialogsPreferencesPrivate ScratchDialogsPreferencesPrivate;

#define SCRATCH_SERVICES_TYPE_PLUGINS_MANAGER (scratch_services_plugins_manager_get_type ())
#define SCRATCH_SERVICES_PLUGINS_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_PLUGINS_MANAGER, ScratchServicesPluginsManager))
#define SCRATCH_SERVICES_PLUGINS_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_SERVICES_TYPE_PLUGINS_MANAGER, ScratchServicesPluginsManagerClass))
#define SCRATCH_SERVICES_IS_PLUGINS_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_PLUGINS_MANAGER))
#define SCRATCH_SERVICES_IS_PLUGINS_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_SERVICES_TYPE_PLUGINS_MANAGER))
#define SCRATCH_SERVICES_PLUGINS_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_SERVICES_TYPE_PLUGINS_MANAGER, ScratchServicesPluginsManagerClass))

typedef struct _ScratchServicesPluginsManager ScratchServicesPluginsManager;
typedef struct _ScratchServicesPluginsManagerClass ScratchServicesPluginsManagerClass;

#define SCRATCH_DIALOGS_TYPE_RESTORE_CONFIRMATION_DIALOG (scratch_dialogs_restore_confirmation_dialog_get_type ())
#define SCRATCH_DIALOGS_RESTORE_CONFIRMATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_DIALOGS_TYPE_RESTORE_CONFIRMATION_DIALOG, ScratchDialogsRestoreConfirmationDialog))
#define SCRATCH_DIALOGS_RESTORE_CONFIRMATION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_DIALOGS_TYPE_RESTORE_CONFIRMATION_DIALOG, ScratchDialogsRestoreConfirmationDialogClass))
#define SCRATCH_DIALOGS_IS_RESTORE_CONFIRMATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_DIALOGS_TYPE_RESTORE_CONFIRMATION_DIALOG))
#define SCRATCH_DIALOGS_IS_RESTORE_CONFIRMATION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_DIALOGS_TYPE_RESTORE_CONFIRMATION_DIALOG))
#define SCRATCH_DIALOGS_RESTORE_CONFIRMATION_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_DIALOGS_TYPE_RESTORE_CONFIRMATION_DIALOG, ScratchDialogsRestoreConfirmationDialogClass))

typedef struct _ScratchDialogsRestoreConfirmationDialog ScratchDialogsRestoreConfirmationDialog;
typedef struct _ScratchDialogsRestoreConfirmationDialogClass ScratchDialogsRestoreConfirmationDialogClass;
typedef struct _ScratchDialogsRestoreConfirmationDialogPrivate ScratchDialogsRestoreConfirmationDialogPrivate;

#define SCRATCH_DIALOGS_TYPE_CLOSE_PROJECTS_CONFIRMATION_DIALOG (scratch_dialogs_close_projects_confirmation_dialog_get_type ())
#define SCRATCH_DIALOGS_CLOSE_PROJECTS_CONFIRMATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_DIALOGS_TYPE_CLOSE_PROJECTS_CONFIRMATION_DIALOG, ScratchDialogsCloseProjectsConfirmationDialog))
#define SCRATCH_DIALOGS_CLOSE_PROJECTS_CONFIRMATION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_DIALOGS_TYPE_CLOSE_PROJECTS_CONFIRMATION_DIALOG, ScratchDialogsCloseProjectsConfirmationDialogClass))
#define SCRATCH_DIALOGS_IS_CLOSE_PROJECTS_CONFIRMATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_DIALOGS_TYPE_CLOSE_PROJECTS_CONFIRMATION_DIALOG))
#define SCRATCH_DIALOGS_IS_CLOSE_PROJECTS_CONFIRMATION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_DIALOGS_TYPE_CLOSE_PROJECTS_CONFIRMATION_DIALOG))
#define SCRATCH_DIALOGS_CLOSE_PROJECTS_CONFIRMATION_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_DIALOGS_TYPE_CLOSE_PROJECTS_CONFIRMATION_DIALOG, ScratchDialogsCloseProjectsConfirmationDialogClass))

typedef struct _ScratchDialogsCloseProjectsConfirmationDialog ScratchDialogsCloseProjectsConfirmationDialog;
typedef struct _ScratchDialogsCloseProjectsConfirmationDialogClass ScratchDialogsCloseProjectsConfirmationDialogClass;
typedef struct _ScratchDialogsCloseProjectsConfirmationDialogPrivate ScratchDialogsCloseProjectsConfirmationDialogPrivate;

#define SCRATCH_DIALOGS_TYPE_CLONE_REPOSITORY_DIALOG (scratch_dialogs_clone_repository_dialog_get_type ())
#define SCRATCH_DIALOGS_CLONE_REPOSITORY_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_DIALOGS_TYPE_CLONE_REPOSITORY_DIALOG, ScratchDialogsCloneRepositoryDialog))
#define SCRATCH_DIALOGS_CLONE_REPOSITORY_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_DIALOGS_TYPE_CLONE_REPOSITORY_DIALOG, ScratchDialogsCloneRepositoryDialogClass))
#define SCRATCH_DIALOGS_IS_CLONE_REPOSITORY_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_DIALOGS_TYPE_CLONE_REPOSITORY_DIALOG))
#define SCRATCH_DIALOGS_IS_CLONE_REPOSITORY_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_DIALOGS_TYPE_CLONE_REPOSITORY_DIALOG))
#define SCRATCH_DIALOGS_CLONE_REPOSITORY_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_DIALOGS_TYPE_CLONE_REPOSITORY_DIALOG, ScratchDialogsCloneRepositoryDialogClass))

typedef struct _ScratchDialogsCloneRepositoryDialog ScratchDialogsCloneRepositoryDialog;
typedef struct _ScratchDialogsCloneRepositoryDialogClass ScratchDialogsCloneRepositoryDialogClass;
typedef struct _ScratchDialogsCloneRepositoryDialogPrivate ScratchDialogsCloneRepositoryDialogPrivate;

#define SCRATCH_DIALOGS_TYPE_OVERWRITE_UNCOMMITTED_CONFIRMATION_DIALOG (scratch_dialogs_overwrite_uncommitted_confirmation_dialog_get_type ())
#define SCRATCH_DIALOGS_OVERWRITE_UNCOMMITTED_CONFIRMATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_DIALOGS_TYPE_OVERWRITE_UNCOMMITTED_CONFIRMATION_DIALOG, ScratchDialogsOverwriteUncommittedConfirmationDialog))
#define SCRATCH_DIALOGS_OVERWRITE_UNCOMMITTED_CONFIRMATION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_DIALOGS_TYPE_OVERWRITE_UNCOMMITTED_CONFIRMATION_DIALOG, ScratchDialogsOverwriteUncommittedConfirmationDialogClass))
#define SCRATCH_DIALOGS_IS_OVERWRITE_UNCOMMITTED_CONFIRMATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_DIALOGS_TYPE_OVERWRITE_UNCOMMITTED_CONFIRMATION_DIALOG))
#define SCRATCH_DIALOGS_IS_OVERWRITE_UNCOMMITTED_CONFIRMATION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_DIALOGS_TYPE_OVERWRITE_UNCOMMITTED_CONFIRMATION_DIALOG))
#define SCRATCH_DIALOGS_OVERWRITE_UNCOMMITTED_CONFIRMATION_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_DIALOGS_TYPE_OVERWRITE_UNCOMMITTED_CONFIRMATION_DIALOG, ScratchDialogsOverwriteUncommittedConfirmationDialogClass))

typedef struct _ScratchDialogsOverwriteUncommittedConfirmationDialog ScratchDialogsOverwriteUncommittedConfirmationDialog;
typedef struct _ScratchDialogsOverwriteUncommittedConfirmationDialogClass ScratchDialogsOverwriteUncommittedConfirmationDialogClass;
typedef struct _ScratchDialogsOverwriteUncommittedConfirmationDialogPrivate ScratchDialogsOverwriteUncommittedConfirmationDialogPrivate;

#define SCRATCH_DIALOGS_TYPE_GLOBAL_SEARCH_DIALOG (scratch_dialogs_global_search_dialog_get_type ())
#define SCRATCH_DIALOGS_GLOBAL_SEARCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_DIALOGS_TYPE_GLOBAL_SEARCH_DIALOG, ScratchDialogsGlobalSearchDialog))
#define SCRATCH_DIALOGS_GLOBAL_SEARCH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_DIALOGS_TYPE_GLOBAL_SEARCH_DIALOG, ScratchDialogsGlobalSearchDialogClass))
#define SCRATCH_DIALOGS_IS_GLOBAL_SEARCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_DIALOGS_TYPE_GLOBAL_SEARCH_DIALOG))
#define SCRATCH_DIALOGS_IS_GLOBAL_SEARCH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_DIALOGS_TYPE_GLOBAL_SEARCH_DIALOG))
#define SCRATCH_DIALOGS_GLOBAL_SEARCH_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_DIALOGS_TYPE_GLOBAL_SEARCH_DIALOG, ScratchDialogsGlobalSearchDialogClass))

typedef struct _ScratchDialogsGlobalSearchDialog ScratchDialogsGlobalSearchDialog;
typedef struct _ScratchDialogsGlobalSearchDialogClass ScratchDialogsGlobalSearchDialogClass;
typedef struct _ScratchDialogsGlobalSearchDialogPrivate ScratchDialogsGlobalSearchDialogPrivate;
typedef enum  {
	SCRATCH_BRANCH_ACTION_CHECKOUT,
	SCRATCH_BRANCH_ACTION_COMMIT,
	SCRATCH_BRANCH_ACTION_PUSH,
	SCRATCH_BRANCH_ACTION_PULL,
	SCRATCH_BRANCH_ACTION_MERGE,
	SCRATCH_BRANCH_ACTION_DELETE,
	SCRATCH_BRANCH_ACTION_CREATE
} ScratchBranchAction;

#define SCRATCH_TYPE_BRANCH_ACTION (scratch_branch_action_get_type ())

#define SCRATCH_TYPE_BRANCH_ACTION_PAGE (scratch_branch_action_page_get_type ())
#define SCRATCH_BRANCH_ACTION_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_TYPE_BRANCH_ACTION_PAGE, ScratchBranchActionPage))
#define SCRATCH_IS_BRANCH_ACTION_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_TYPE_BRANCH_ACTION_PAGE))
#define SCRATCH_BRANCH_ACTION_PAGE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SCRATCH_TYPE_BRANCH_ACTION_PAGE, ScratchBranchActionPageIface))

typedef struct _ScratchBranchActionPage ScratchBranchActionPage;
typedef struct _ScratchBranchActionPageIface ScratchBranchActionPageIface;

#define SCRATCH_DIALOGS_TYPE_BRANCH_ACTION_DIALOG (scratch_dialogs_branch_action_dialog_get_type ())
#define SCRATCH_DIALOGS_BRANCH_ACTION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_DIALOGS_TYPE_BRANCH_ACTION_DIALOG, ScratchDialogsBranchActionDialog))
#define SCRATCH_DIALOGS_BRANCH_ACTION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_DIALOGS_TYPE_BRANCH_ACTION_DIALOG, ScratchDialogsBranchActionDialogClass))
#define SCRATCH_DIALOGS_IS_BRANCH_ACTION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_DIALOGS_TYPE_BRANCH_ACTION_DIALOG))
#define SCRATCH_DIALOGS_IS_BRANCH_ACTION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_DIALOGS_TYPE_BRANCH_ACTION_DIALOG))
#define SCRATCH_DIALOGS_BRANCH_ACTION_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_DIALOGS_TYPE_BRANCH_ACTION_DIALOG, ScratchDialogsBranchActionDialogClass))

typedef struct _ScratchDialogsBranchActionDialog ScratchDialogsBranchActionDialog;
typedef struct _ScratchDialogsBranchActionDialogClass ScratchDialogsBranchActionDialogClass;
typedef struct _ScratchDialogsBranchActionDialogPrivate ScratchDialogsBranchActionDialogPrivate;

#define CODE_WIDGETS_SOURCE_LIST_TYPE_ITEM (code_widgets_source_list_item_get_type ())
#define CODE_WIDGETS_SOURCE_LIST_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_WIDGETS_SOURCE_LIST_TYPE_ITEM, CodeWidgetsSourceListItem))
#define CODE_WIDGETS_SOURCE_LIST_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CODE_WIDGETS_SOURCE_LIST_TYPE_ITEM, CodeWidgetsSourceListItemClass))
#define CODE_WIDGETS_SOURCE_LIST_IS_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_WIDGETS_SOURCE_LIST_TYPE_ITEM))
#define CODE_WIDGETS_SOURCE_LIST_IS_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CODE_WIDGETS_SOURCE_LIST_TYPE_ITEM))
#define CODE_WIDGETS_SOURCE_LIST_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CODE_WIDGETS_SOURCE_LIST_TYPE_ITEM, CodeWidgetsSourceListItemClass))

typedef struct _CodeWidgetsSourceListItem CodeWidgetsSourceListItem;
typedef struct _CodeWidgetsSourceListItemClass CodeWidgetsSourceListItemClass;

#define CODE_WIDGETS_SOURCE_LIST_TYPE_EXPANDABLE_ITEM (code_widgets_source_list_expandable_item_get_type ())
#define CODE_WIDGETS_SOURCE_LIST_EXPANDABLE_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_WIDGETS_SOURCE_LIST_TYPE_EXPANDABLE_ITEM, CodeWidgetsSourceListExpandableItem))
#define CODE_WIDGETS_SOURCE_LIST_EXPANDABLE_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CODE_WIDGETS_SOURCE_LIST_TYPE_EXPANDABLE_ITEM, CodeWidgetsSourceListExpandableItemClass))
#define CODE_WIDGETS_SOURCE_LIST_IS_EXPANDABLE_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_WIDGETS_SOURCE_LIST_TYPE_EXPANDABLE_ITEM))
#define CODE_WIDGETS_SOURCE_LIST_IS_EXPANDABLE_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CODE_WIDGETS_SOURCE_LIST_TYPE_EXPANDABLE_ITEM))
#define CODE_WIDGETS_SOURCE_LIST_EXPANDABLE_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CODE_WIDGETS_SOURCE_LIST_TYPE_EXPANDABLE_ITEM, CodeWidgetsSourceListExpandableItemClass))

typedef struct _CodeWidgetsSourceListExpandableItem CodeWidgetsSourceListExpandableItem;
typedef struct _CodeWidgetsSourceListExpandableItemClass CodeWidgetsSourceListExpandableItemClass;

#define SCRATCH_FOLDER_MANAGER_TYPE_ITEM (scratch_folder_manager_item_get_type ())
#define SCRATCH_FOLDER_MANAGER_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_FOLDER_MANAGER_TYPE_ITEM, ScratchFolderManagerItem))
#define SCRATCH_FOLDER_MANAGER_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_FOLDER_MANAGER_TYPE_ITEM, ScratchFolderManagerItemClass))
#define SCRATCH_FOLDER_MANAGER_IS_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_FOLDER_MANAGER_TYPE_ITEM))
#define SCRATCH_FOLDER_MANAGER_IS_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_FOLDER_MANAGER_TYPE_ITEM))
#define SCRATCH_FOLDER_MANAGER_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_FOLDER_MANAGER_TYPE_ITEM, ScratchFolderManagerItemClass))

typedef struct _ScratchFolderManagerItem ScratchFolderManagerItem;
typedef struct _ScratchFolderManagerItemClass ScratchFolderManagerItemClass;

#define SCRATCH_FOLDER_MANAGER_TYPE_FOLDER_ITEM (scratch_folder_manager_folder_item_get_type ())
#define SCRATCH_FOLDER_MANAGER_FOLDER_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_FOLDER_MANAGER_TYPE_FOLDER_ITEM, ScratchFolderManagerFolderItem))
#define SCRATCH_FOLDER_MANAGER_FOLDER_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_FOLDER_MANAGER_TYPE_FOLDER_ITEM, ScratchFolderManagerFolderItemClass))
#define SCRATCH_FOLDER_MANAGER_IS_FOLDER_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_FOLDER_MANAGER_TYPE_FOLDER_ITEM))
#define SCRATCH_FOLDER_MANAGER_IS_FOLDER_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_FOLDER_MANAGER_TYPE_FOLDER_ITEM))
#define SCRATCH_FOLDER_MANAGER_FOLDER_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_FOLDER_MANAGER_TYPE_FOLDER_ITEM, ScratchFolderManagerFolderItemClass))

typedef struct _ScratchFolderManagerFolderItem ScratchFolderManagerFolderItem;
typedef struct _ScratchFolderManagerFolderItemClass ScratchFolderManagerFolderItemClass;

#define SCRATCH_FOLDER_MANAGER_TYPE_PROJECT_FOLDER_ITEM (scratch_folder_manager_project_folder_item_get_type ())
#define SCRATCH_FOLDER_MANAGER_PROJECT_FOLDER_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_FOLDER_MANAGER_TYPE_PROJECT_FOLDER_ITEM, ScratchFolderManagerProjectFolderItem))
#define SCRATCH_FOLDER_MANAGER_PROJECT_FOLDER_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_FOLDER_MANAGER_TYPE_PROJECT_FOLDER_ITEM, ScratchFolderManagerProjectFolderItemClass))
#define SCRATCH_FOLDER_MANAGER_IS_PROJECT_FOLDER_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_FOLDER_MANAGER_TYPE_PROJECT_FOLDER_ITEM))
#define SCRATCH_FOLDER_MANAGER_IS_PROJECT_FOLDER_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_FOLDER_MANAGER_TYPE_PROJECT_FOLDER_ITEM))
#define SCRATCH_FOLDER_MANAGER_PROJECT_FOLDER_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_FOLDER_MANAGER_TYPE_PROJECT_FOLDER_ITEM, ScratchFolderManagerProjectFolderItemClass))

typedef struct _ScratchFolderManagerProjectFolderItem ScratchFolderManagerProjectFolderItem;
typedef struct _ScratchFolderManagerProjectFolderItemClass ScratchFolderManagerProjectFolderItemClass;

#define SCRATCH_DIALOGS_TYPE_BRANCH_CHECKOUT_PAGE (scratch_dialogs_branch_checkout_page_get_type ())
#define SCRATCH_DIALOGS_BRANCH_CHECKOUT_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_DIALOGS_TYPE_BRANCH_CHECKOUT_PAGE, ScratchDialogsBranchCheckoutPage))
#define SCRATCH_DIALOGS_BRANCH_CHECKOUT_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_DIALOGS_TYPE_BRANCH_CHECKOUT_PAGE, ScratchDialogsBranchCheckoutPageClass))
#define SCRATCH_DIALOGS_IS_BRANCH_CHECKOUT_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_DIALOGS_TYPE_BRANCH_CHECKOUT_PAGE))
#define SCRATCH_DIALOGS_IS_BRANCH_CHECKOUT_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_DIALOGS_TYPE_BRANCH_CHECKOUT_PAGE))
#define SCRATCH_DIALOGS_BRANCH_CHECKOUT_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_DIALOGS_TYPE_BRANCH_CHECKOUT_PAGE, ScratchDialogsBranchCheckoutPageClass))

typedef struct _ScratchDialogsBranchCheckoutPage ScratchDialogsBranchCheckoutPage;
typedef struct _ScratchDialogsBranchCheckoutPageClass ScratchDialogsBranchCheckoutPageClass;
typedef struct _ScratchDialogsBranchCheckoutPagePrivate ScratchDialogsBranchCheckoutPagePrivate;

#define SCRATCH_DIALOGS_TYPE_BRANCH_CREATE_PAGE (scratch_dialogs_branch_create_page_get_type ())
#define SCRATCH_DIALOGS_BRANCH_CREATE_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_DIALOGS_TYPE_BRANCH_CREATE_PAGE, ScratchDialogsBranchCreatePage))
#define SCRATCH_DIALOGS_BRANCH_CREATE_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_DIALOGS_TYPE_BRANCH_CREATE_PAGE, ScratchDialogsBranchCreatePageClass))
#define SCRATCH_DIALOGS_IS_BRANCH_CREATE_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_DIALOGS_TYPE_BRANCH_CREATE_PAGE))
#define SCRATCH_DIALOGS_IS_BRANCH_CREATE_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_DIALOGS_TYPE_BRANCH_CREATE_PAGE))
#define SCRATCH_DIALOGS_BRANCH_CREATE_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_DIALOGS_TYPE_BRANCH_CREATE_PAGE, ScratchDialogsBranchCreatePageClass))

typedef struct _ScratchDialogsBranchCreatePage ScratchDialogsBranchCreatePage;
typedef struct _ScratchDialogsBranchCreatePageClass ScratchDialogsBranchCreatePageClass;
typedef struct _ScratchDialogsBranchCreatePagePrivate ScratchDialogsBranchCreatePagePrivate;

#define SCRATCH_FOLDER_MANAGER_TYPE_FILE (scratch_folder_manager_file_get_type ())
#define SCRATCH_FOLDER_MANAGER_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_FOLDER_MANAGER_TYPE_FILE, ScratchFolderManagerFile))
#define SCRATCH_FOLDER_MANAGER_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_FOLDER_MANAGER_TYPE_FILE, ScratchFolderManagerFileClass))
#define SCRATCH_FOLDER_MANAGER_IS_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_FOLDER_MANAGER_TYPE_FILE))
#define SCRATCH_FOLDER_MANAGER_IS_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_FOLDER_MANAGER_TYPE_FILE))
#define SCRATCH_FOLDER_MANAGER_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_FOLDER_MANAGER_TYPE_FILE, ScratchFolderManagerFileClass))

typedef struct _ScratchFolderManagerFile ScratchFolderManagerFile;
typedef struct _ScratchFolderManagerFileClass ScratchFolderManagerFileClass;
typedef struct _ScratchFolderManagerFilePrivate ScratchFolderManagerFilePrivate;
typedef struct _CodeWidgetsSourceListItemPrivate CodeWidgetsSourceListItemPrivate;
typedef struct _CodeWidgetsSourceListExpandableItemPrivate CodeWidgetsSourceListExpandableItemPrivate;

#define CODE_WIDGETS_TYPE_SOURCE_LIST_SORTABLE (code_widgets_source_list_sortable_get_type ())
#define CODE_WIDGETS_SOURCE_LIST_SORTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_WIDGETS_TYPE_SOURCE_LIST_SORTABLE, CodeWidgetsSourceListSortable))
#define CODE_WIDGETS_IS_SOURCE_LIST_SORTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_WIDGETS_TYPE_SOURCE_LIST_SORTABLE))
#define CODE_WIDGETS_SOURCE_LIST_SORTABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), CODE_WIDGETS_TYPE_SOURCE_LIST_SORTABLE, CodeWidgetsSourceListSortableIface))

typedef struct _CodeWidgetsSourceListSortable CodeWidgetsSourceListSortable;
typedef struct _CodeWidgetsSourceListSortableIface CodeWidgetsSourceListSortableIface;
typedef struct _ScratchFolderManagerItemPrivate ScratchFolderManagerItemPrivate;

#define SCRATCH_FOLDER_MANAGER_TYPE_FILE_ITEM (scratch_folder_manager_file_item_get_type ())
#define SCRATCH_FOLDER_MANAGER_FILE_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_FOLDER_MANAGER_TYPE_FILE_ITEM, ScratchFolderManagerFileItem))
#define SCRATCH_FOLDER_MANAGER_FILE_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_FOLDER_MANAGER_TYPE_FILE_ITEM, ScratchFolderManagerFileItemClass))
#define SCRATCH_FOLDER_MANAGER_IS_FILE_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_FOLDER_MANAGER_TYPE_FILE_ITEM))
#define SCRATCH_FOLDER_MANAGER_IS_FILE_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_FOLDER_MANAGER_TYPE_FILE_ITEM))
#define SCRATCH_FOLDER_MANAGER_FILE_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_FOLDER_MANAGER_TYPE_FILE_ITEM, ScratchFolderManagerFileItemClass))

typedef struct _ScratchFolderManagerFileItem ScratchFolderManagerFileItem;
typedef struct _ScratchFolderManagerFileItemClass ScratchFolderManagerFileItemClass;
typedef struct _ScratchFolderManagerFileItemPrivate ScratchFolderManagerFileItemPrivate;

#define CODE_WIDGETS_TYPE_SOURCE_LIST (code_widgets_source_list_get_type ())
#define CODE_WIDGETS_SOURCE_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_WIDGETS_TYPE_SOURCE_LIST, CodeWidgetsSourceList))
#define CODE_WIDGETS_SOURCE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CODE_WIDGETS_TYPE_SOURCE_LIST, CodeWidgetsSourceListClass))
#define CODE_WIDGETS_IS_SOURCE_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_WIDGETS_TYPE_SOURCE_LIST))
#define CODE_WIDGETS_IS_SOURCE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CODE_WIDGETS_TYPE_SOURCE_LIST))
#define CODE_WIDGETS_SOURCE_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CODE_WIDGETS_TYPE_SOURCE_LIST, CodeWidgetsSourceListClass))

typedef struct _CodeWidgetsSourceList CodeWidgetsSourceList;
typedef struct _CodeWidgetsSourceListClass CodeWidgetsSourceListClass;

#define SCRATCH_FOLDER_MANAGER_TYPE_FILE_VIEW (scratch_folder_manager_file_view_get_type ())
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_FOLDER_MANAGER_TYPE_FILE_VIEW, ScratchFolderManagerFileView))
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_FOLDER_MANAGER_TYPE_FILE_VIEW, ScratchFolderManagerFileViewClass))
#define SCRATCH_FOLDER_MANAGER_IS_FILE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_FOLDER_MANAGER_TYPE_FILE_VIEW))
#define SCRATCH_FOLDER_MANAGER_IS_FILE_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_FOLDER_MANAGER_TYPE_FILE_VIEW))
#define SCRATCH_FOLDER_MANAGER_FILE_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_FOLDER_MANAGER_TYPE_FILE_VIEW, ScratchFolderManagerFileViewClass))

typedef struct _ScratchFolderManagerFileView ScratchFolderManagerFileView;
typedef struct _ScratchFolderManagerFileViewClass ScratchFolderManagerFileViewClass;
typedef struct _CodeWidgetsSourceListPrivate CodeWidgetsSourceListPrivate;

#define CODE_TYPE_PANE_SWITCHER (code_pane_switcher_get_type ())
#define CODE_PANE_SWITCHER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_TYPE_PANE_SWITCHER, CodePaneSwitcher))
#define CODE_IS_PANE_SWITCHER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_TYPE_PANE_SWITCHER))
#define CODE_PANE_SWITCHER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), CODE_TYPE_PANE_SWITCHER, CodePaneSwitcherIface))

typedef struct _CodePaneSwitcher CodePaneSwitcher;
typedef struct _CodePaneSwitcherIface CodePaneSwitcherIface;
typedef struct _ScratchFolderManagerFileViewPrivate ScratchFolderManagerFileViewPrivate;
typedef struct _ScratchFolderManagerFolderItemPrivate ScratchFolderManagerFolderItemPrivate;

#define SCRATCH_FOLDER_MANAGER_ITEM_TYPE_RENAME_ITEM (scratch_folder_manager_item_rename_item_get_type ())
#define SCRATCH_FOLDER_MANAGER_ITEM_RENAME_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_FOLDER_MANAGER_ITEM_TYPE_RENAME_ITEM, ScratchFolderManagerItemRenameItem))
#define SCRATCH_FOLDER_MANAGER_ITEM_RENAME_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_FOLDER_MANAGER_ITEM_TYPE_RENAME_ITEM, ScratchFolderManagerItemRenameItemClass))
#define SCRATCH_FOLDER_MANAGER_ITEM_IS_RENAME_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_FOLDER_MANAGER_ITEM_TYPE_RENAME_ITEM))
#define SCRATCH_FOLDER_MANAGER_ITEM_IS_RENAME_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_FOLDER_MANAGER_ITEM_TYPE_RENAME_ITEM))
#define SCRATCH_FOLDER_MANAGER_ITEM_RENAME_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_FOLDER_MANAGER_ITEM_TYPE_RENAME_ITEM, ScratchFolderManagerItemRenameItemClass))

typedef struct _ScratchFolderManagerItemRenameItem ScratchFolderManagerItemRenameItem;
typedef struct _ScratchFolderManagerItemRenameItemClass ScratchFolderManagerItemRenameItemClass;
typedef struct _ScratchFolderManagerItemRenameItemPrivate ScratchFolderManagerItemRenameItemPrivate;
typedef struct _ScratchFolderManagerProjectFolderItemPrivate ScratchFolderManagerProjectFolderItemPrivate;
typedef enum  {
	SCRATCH_SERVICES_VC_STATUS_NONE,
	SCRATCH_SERVICES_VC_STATUS_ADDED,
	SCRATCH_SERVICES_VC_STATUS_CHANGED,
	SCRATCH_SERVICES_VC_STATUS_REMOVED,
	SCRATCH_SERVICES_VC_STATUS_REPLACES_DELETED,
	SCRATCH_SERVICES_VC_STATUS_OTHER
} ScratchServicesVCStatus;

#define SCRATCH_SERVICES_TYPE_VC_STATUS (scratch_services_vc_status_get_type ())

#define SCRATCH_SERVICES_TYPE_MONITORED_REPOSITORY (scratch_services_monitored_repository_get_type ())
#define SCRATCH_SERVICES_MONITORED_REPOSITORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_MONITORED_REPOSITORY, ScratchServicesMonitoredRepository))
#define SCRATCH_SERVICES_MONITORED_REPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_SERVICES_TYPE_MONITORED_REPOSITORY, ScratchServicesMonitoredRepositoryClass))
#define SCRATCH_SERVICES_IS_MONITORED_REPOSITORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_MONITORED_REPOSITORY))
#define SCRATCH_SERVICES_IS_MONITORED_REPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_SERVICES_TYPE_MONITORED_REPOSITORY))
#define SCRATCH_SERVICES_MONITORED_REPOSITORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_SERVICES_TYPE_MONITORED_REPOSITORY, ScratchServicesMonitoredRepositoryClass))

typedef struct _ScratchServicesMonitoredRepository ScratchServicesMonitoredRepository;
typedef struct _ScratchServicesMonitoredRepositoryClass ScratchServicesMonitoredRepositoryClass;

#define SCRATCH_TYPE_COMMENT_TOGGLER (scratch_comment_toggler_get_type ())
#define SCRATCH_COMMENT_TOGGLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_TYPE_COMMENT_TOGGLER, ScratchCommentToggler))
#define SCRATCH_COMMENT_TOGGLER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_TYPE_COMMENT_TOGGLER, ScratchCommentTogglerClass))
#define SCRATCH_IS_COMMENT_TOGGLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_TYPE_COMMENT_TOGGLER))
#define SCRATCH_IS_COMMENT_TOGGLER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_TYPE_COMMENT_TOGGLER))
#define SCRATCH_COMMENT_TOGGLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_TYPE_COMMENT_TOGGLER, ScratchCommentTogglerClass))

typedef struct _ScratchCommentToggler ScratchCommentToggler;
typedef struct _ScratchCommentTogglerClass ScratchCommentTogglerClass;
typedef struct _ScratchCommentTogglerPrivate ScratchCommentTogglerPrivate;
typedef enum  {
	SCRATCH_SERVICES_DOCUMENT_STATES_NORMAL,
	SCRATCH_SERVICES_DOCUMENT_STATES_READONLY
} ScratchServicesDocumentStates;

#define SCRATCH_SERVICES_TYPE_DOCUMENT_STATES (scratch_services_document_states_get_type ())
typedef struct _ScratchServicesDocumentPrivate ScratchServicesDocumentPrivate;

#define SCRATCH_WIDGETS_TYPE_SOURCE_VIEW (scratch_widgets_source_view_get_type ())
#define SCRATCH_WIDGETS_SOURCE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_WIDGETS_TYPE_SOURCE_VIEW, ScratchWidgetsSourceView))
#define SCRATCH_WIDGETS_SOURCE_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_WIDGETS_TYPE_SOURCE_VIEW, ScratchWidgetsSourceViewClass))
#define SCRATCH_WIDGETS_IS_SOURCE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_WIDGETS_TYPE_SOURCE_VIEW))
#define SCRATCH_WIDGETS_IS_SOURCE_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_WIDGETS_TYPE_SOURCE_VIEW))
#define SCRATCH_WIDGETS_SOURCE_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_WIDGETS_TYPE_SOURCE_VIEW, ScratchWidgetsSourceViewClass))

typedef struct _ScratchWidgetsSourceView ScratchWidgetsSourceView;
typedef struct _ScratchWidgetsSourceViewClass ScratchWidgetsSourceViewClass;
typedef void (*ScratchServicesDocumentVoidFunc) (gpointer user_data);

#define SCRATCH_SERVICES_TYPE_DOCUMENT_MANAGER (scratch_services_document_manager_get_type ())
#define SCRATCH_SERVICES_DOCUMENT_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_DOCUMENT_MANAGER, ScratchServicesDocumentManager))
#define SCRATCH_SERVICES_DOCUMENT_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_SERVICES_TYPE_DOCUMENT_MANAGER, ScratchServicesDocumentManagerClass))
#define SCRATCH_SERVICES_IS_DOCUMENT_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_DOCUMENT_MANAGER))
#define SCRATCH_SERVICES_IS_DOCUMENT_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_SERVICES_TYPE_DOCUMENT_MANAGER))
#define SCRATCH_SERVICES_DOCUMENT_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_SERVICES_TYPE_DOCUMENT_MANAGER, ScratchServicesDocumentManagerClass))

typedef struct _ScratchServicesDocumentManager ScratchServicesDocumentManager;
typedef struct _ScratchServicesDocumentManagerClass ScratchServicesDocumentManagerClass;
typedef struct _ScratchServicesDocumentManagerPrivate ScratchServicesDocumentManagerPrivate;
typedef enum  {
	SCRATCH_SERVICES_FILE_OPTION_EXISTS,
	SCRATCH_SERVICES_FILE_OPTION_IS_DIR,
	SCRATCH_SERVICES_FILE_OPTION_IS_EXECUTABLE
} ScratchServicesFileOption;

#define SCRATCH_SERVICES_TYPE_FILE_OPTION (scratch_services_file_option_get_type ())

#define SCRATCH_SERVICES_TYPE_FILE_HANDLER (scratch_services_file_handler_get_type ())
#define SCRATCH_SERVICES_FILE_HANDLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_FILE_HANDLER, ScratchServicesFileHandler))
#define SCRATCH_SERVICES_FILE_HANDLER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_SERVICES_TYPE_FILE_HANDLER, ScratchServicesFileHandlerClass))
#define SCRATCH_SERVICES_IS_FILE_HANDLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_FILE_HANDLER))
#define SCRATCH_SERVICES_IS_FILE_HANDLER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_SERVICES_TYPE_FILE_HANDLER))
#define SCRATCH_SERVICES_FILE_HANDLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_SERVICES_TYPE_FILE_HANDLER, ScratchServicesFileHandlerClass))

typedef struct _ScratchServicesFileHandler ScratchServicesFileHandler;
typedef struct _ScratchServicesFileHandlerClass ScratchServicesFileHandlerClass;
typedef struct _ScratchServicesFileHandlerPrivate ScratchServicesFileHandlerPrivate;

#define SCRATCH_SERVICES_TYPE_GIT_MANAGER (scratch_services_git_manager_get_type ())
#define SCRATCH_SERVICES_GIT_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_GIT_MANAGER, ScratchServicesGitManager))
#define SCRATCH_SERVICES_GIT_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_SERVICES_TYPE_GIT_MANAGER, ScratchServicesGitManagerClass))
#define SCRATCH_SERVICES_IS_GIT_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_GIT_MANAGER))
#define SCRATCH_SERVICES_IS_GIT_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_SERVICES_TYPE_GIT_MANAGER))
#define SCRATCH_SERVICES_GIT_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_SERVICES_TYPE_GIT_MANAGER, ScratchServicesGitManagerClass))

typedef struct _ScratchServicesGitManager ScratchServicesGitManager;
typedef struct _ScratchServicesGitManagerClass ScratchServicesGitManagerClass;
typedef struct _ScratchServicesGitManagerPrivate ScratchServicesGitManagerPrivate;

#define SCRATCH_TYPE_LOCATION_JUMP_MANAGER (scratch_location_jump_manager_get_type ())
#define SCRATCH_LOCATION_JUMP_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_TYPE_LOCATION_JUMP_MANAGER, ScratchLocationJumpManager))
#define SCRATCH_LOCATION_JUMP_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_TYPE_LOCATION_JUMP_MANAGER, ScratchLocationJumpManagerClass))
#define SCRATCH_IS_LOCATION_JUMP_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_TYPE_LOCATION_JUMP_MANAGER))
#define SCRATCH_IS_LOCATION_JUMP_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_TYPE_LOCATION_JUMP_MANAGER))
#define SCRATCH_LOCATION_JUMP_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_TYPE_LOCATION_JUMP_MANAGER, ScratchLocationJumpManagerClass))

typedef struct _ScratchLocationJumpManager ScratchLocationJumpManager;
typedef struct _ScratchLocationJumpManagerClass ScratchLocationJumpManagerClass;
typedef struct _ScratchLocationJumpManagerPrivate ScratchLocationJumpManagerPrivate;
typedef struct _ScratchServicesMonitoredRepositoryPrivate ScratchServicesMonitoredRepositoryPrivate;

#define SCRATCH_SERVICES_TYPE_ACTIVATABLE_PLUGIN (scratch_services_activatable_plugin_get_type ())
#define SCRATCH_SERVICES_ACTIVATABLE_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_ACTIVATABLE_PLUGIN, ScratchServicesActivatablePlugin))
#define SCRATCH_SERVICES_IS_ACTIVATABLE_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_ACTIVATABLE_PLUGIN))
#define SCRATCH_SERVICES_ACTIVATABLE_PLUGIN_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SCRATCH_SERVICES_TYPE_ACTIVATABLE_PLUGIN, ScratchServicesActivatablePluginIface))

typedef struct _ScratchServicesActivatablePlugin ScratchServicesActivatablePlugin;
typedef struct _ScratchServicesActivatablePluginIface ScratchServicesActivatablePluginIface;

#define SCRATCH_SERVICES_TYPE_INTERFACE (scratch_services_interface_get_type ())
#define SCRATCH_SERVICES_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_INTERFACE, ScratchServicesInterface))
#define SCRATCH_SERVICES_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_SERVICES_TYPE_INTERFACE, ScratchServicesInterfaceClass))
#define SCRATCH_SERVICES_IS_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_INTERFACE))
#define SCRATCH_SERVICES_IS_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_SERVICES_TYPE_INTERFACE))
#define SCRATCH_SERVICES_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_SERVICES_TYPE_INTERFACE, ScratchServicesInterfaceClass))

typedef struct _ScratchServicesInterface ScratchServicesInterface;
typedef struct _ScratchServicesInterfaceClass ScratchServicesInterfaceClass;
typedef struct _ScratchServicesInterfacePrivate ScratchServicesInterfacePrivate;
typedef struct _ScratchServicesPluginsManagerPrivate ScratchServicesPluginsManagerPrivate;
typedef struct _RestoreOverridePrivate RestoreOverridePrivate;
typedef enum  {
	SCRATCH_SCRATCH_WINDOW_STATE_NORMAL = 0,
	SCRATCH_SCRATCH_WINDOW_STATE_MAXIMIZED = 1,
	SCRATCH_SCRATCH_WINDOW_STATE_FULLSCREEN = 2
} ScratchScratchWindowState;

#define SCRATCH_TYPE_SCRATCH_WINDOW_STATE (scratch_scratch_window_state_get_type ())
typedef enum  {
	SCRATCH_SCRATCH_DRAW_SPACES_STATE_NEVER = 0,
	SCRATCH_SCRATCH_DRAW_SPACES_STATE_FOR_SELECTION = 1,
	SCRATCH_SCRATCH_DRAW_SPACES_STATE_ALWAYS = 2,
	SCRATCH_SCRATCH_DRAW_SPACES_STATE_CURRENT = 4
} ScratchScratchDrawSpacesState;

#define SCRATCH_TYPE_SCRATCH_DRAW_SPACES_STATE (scratch_scratch_draw_spaces_state_get_type ())

#define CODE_TYPE_CHOOSE_PROJECT_BUTTON (code_choose_project_button_get_type ())
#define CODE_CHOOSE_PROJECT_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_TYPE_CHOOSE_PROJECT_BUTTON, CodeChooseProjectButton))
#define CODE_CHOOSE_PROJECT_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CODE_TYPE_CHOOSE_PROJECT_BUTTON, CodeChooseProjectButtonClass))
#define CODE_IS_CHOOSE_PROJECT_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_TYPE_CHOOSE_PROJECT_BUTTON))
#define CODE_IS_CHOOSE_PROJECT_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CODE_TYPE_CHOOSE_PROJECT_BUTTON))
#define CODE_CHOOSE_PROJECT_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CODE_TYPE_CHOOSE_PROJECT_BUTTON, CodeChooseProjectButtonClass))

typedef struct _CodeChooseProjectButton CodeChooseProjectButton;
typedef struct _CodeChooseProjectButtonClass CodeChooseProjectButtonClass;
typedef struct _CodeChooseProjectButtonPrivate CodeChooseProjectButtonPrivate;

#define CODE_CHOOSE_PROJECT_BUTTON_TYPE_PROJECT_ROW (code_choose_project_button_project_row_get_type ())
#define CODE_CHOOSE_PROJECT_BUTTON_PROJECT_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_CHOOSE_PROJECT_BUTTON_TYPE_PROJECT_ROW, CodeChooseProjectButtonProjectRow))
#define CODE_CHOOSE_PROJECT_BUTTON_PROJECT_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CODE_CHOOSE_PROJECT_BUTTON_TYPE_PROJECT_ROW, CodeChooseProjectButtonProjectRowClass))
#define CODE_CHOOSE_PROJECT_BUTTON_IS_PROJECT_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_CHOOSE_PROJECT_BUTTON_TYPE_PROJECT_ROW))
#define CODE_CHOOSE_PROJECT_BUTTON_IS_PROJECT_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CODE_CHOOSE_PROJECT_BUTTON_TYPE_PROJECT_ROW))
#define CODE_CHOOSE_PROJECT_BUTTON_PROJECT_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CODE_CHOOSE_PROJECT_BUTTON_TYPE_PROJECT_ROW, CodeChooseProjectButtonProjectRowClass))

typedef struct _CodeChooseProjectButtonProjectRow CodeChooseProjectButtonProjectRow;
typedef struct _CodeChooseProjectButtonProjectRowClass CodeChooseProjectButtonProjectRowClass;
typedef struct _CodeChooseProjectButtonProjectRowPrivate CodeChooseProjectButtonProjectRowPrivate;
typedef struct _ScratchWidgetsDocumentViewPrivate ScratchWidgetsDocumentViewPrivate;
typedef enum  {
	SCRATCH_WIDGETS_DOCUMENT_VIEW_TARGET_TYPE_URI_LIST
} ScratchWidgetsDocumentViewTargetType;

#define SCRATCH_WIDGETS_DOCUMENT_VIEW_TYPE_TARGET_TYPE (scratch_widgets_document_view_target_type_get_type ())

#define CODE_TYPE_FORMAT_BAR (code_format_bar_get_type ())
#define CODE_FORMAT_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_TYPE_FORMAT_BAR, CodeFormatBar))
#define CODE_FORMAT_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CODE_TYPE_FORMAT_BAR, CodeFormatBarClass))
#define CODE_IS_FORMAT_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_TYPE_FORMAT_BAR))
#define CODE_IS_FORMAT_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CODE_TYPE_FORMAT_BAR))
#define CODE_FORMAT_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CODE_TYPE_FORMAT_BAR, CodeFormatBarClass))

typedef struct _CodeFormatBar CodeFormatBar;
typedef struct _CodeFormatBarClass CodeFormatBarClass;
typedef struct _CodeFormatBarPrivate CodeFormatBarPrivate;

#define SCRATCH_WIDGETS_TYPE_GIT_GUTTER_RENDERER (scratch_widgets_git_gutter_renderer_get_type ())
#define SCRATCH_WIDGETS_GIT_GUTTER_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_WIDGETS_TYPE_GIT_GUTTER_RENDERER, ScratchWidgetsGitGutterRenderer))
#define SCRATCH_WIDGETS_GIT_GUTTER_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_WIDGETS_TYPE_GIT_GUTTER_RENDERER, ScratchWidgetsGitGutterRendererClass))
#define SCRATCH_WIDGETS_IS_GIT_GUTTER_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_WIDGETS_TYPE_GIT_GUTTER_RENDERER))
#define SCRATCH_WIDGETS_IS_GIT_GUTTER_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_WIDGETS_TYPE_GIT_GUTTER_RENDERER))
#define SCRATCH_WIDGETS_GIT_GUTTER_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_WIDGETS_TYPE_GIT_GUTTER_RENDERER, ScratchWidgetsGitGutterRendererClass))

typedef struct _ScratchWidgetsGitGutterRenderer ScratchWidgetsGitGutterRenderer;
typedef struct _ScratchWidgetsGitGutterRendererClass ScratchWidgetsGitGutterRendererClass;
typedef struct _ScratchWidgetsGitGutterRendererPrivate ScratchWidgetsGitGutterRendererPrivate;

#define SCRATCH_WIDGETS_TYPE_NAV_MARK_GUTTER_RENDERER (scratch_widgets_nav_mark_gutter_renderer_get_type ())
#define SCRATCH_WIDGETS_NAV_MARK_GUTTER_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_WIDGETS_TYPE_NAV_MARK_GUTTER_RENDERER, ScratchWidgetsNavMarkGutterRenderer))
#define SCRATCH_WIDGETS_NAV_MARK_GUTTER_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_WIDGETS_TYPE_NAV_MARK_GUTTER_RENDERER, ScratchWidgetsNavMarkGutterRendererClass))
#define SCRATCH_WIDGETS_IS_NAV_MARK_GUTTER_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_WIDGETS_TYPE_NAV_MARK_GUTTER_RENDERER))
#define SCRATCH_WIDGETS_IS_NAV_MARK_GUTTER_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_WIDGETS_TYPE_NAV_MARK_GUTTER_RENDERER))
#define SCRATCH_WIDGETS_NAV_MARK_GUTTER_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_WIDGETS_TYPE_NAV_MARK_GUTTER_RENDERER, ScratchWidgetsNavMarkGutterRendererClass))

typedef struct _ScratchWidgetsNavMarkGutterRenderer ScratchWidgetsNavMarkGutterRenderer;
typedef struct _ScratchWidgetsNavMarkGutterRendererClass ScratchWidgetsNavMarkGutterRendererClass;
typedef struct _ScratchWidgetsNavMarkGutterRendererPrivate ScratchWidgetsNavMarkGutterRendererPrivate;

#define SCRATCH_TYPE_HEADER_BAR (scratch_header_bar_get_type ())
#define SCRATCH_HEADER_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_TYPE_HEADER_BAR, ScratchHeaderBar))
#define SCRATCH_HEADER_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_TYPE_HEADER_BAR, ScratchHeaderBarClass))
#define SCRATCH_IS_HEADER_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_TYPE_HEADER_BAR))
#define SCRATCH_IS_HEADER_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_TYPE_HEADER_BAR))
#define SCRATCH_HEADER_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_TYPE_HEADER_BAR, ScratchHeaderBarClass))

typedef struct _ScratchHeaderBar ScratchHeaderBar;
typedef struct _ScratchHeaderBarClass ScratchHeaderBarClass;
typedef struct _ScratchHeaderBarPrivate ScratchHeaderBarPrivate;
typedef struct _CodeSidebarPrivate CodeSidebarPrivate;
typedef enum  {
	CODE_SIDEBAR_TARGET_TYPE_URI_LIST
} CodeSidebarTargetType;

#define CODE_SIDEBAR_TYPE_TARGET_TYPE (code_sidebar_target_type_get_type ())

#define CODE_TYPE_POPOVER_MENU_ITEM (code_popover_menu_item_get_type ())
#define CODE_POPOVER_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_TYPE_POPOVER_MENU_ITEM, CodePopoverMenuItem))
#define CODE_POPOVER_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CODE_TYPE_POPOVER_MENU_ITEM, CodePopoverMenuItemClass))
#define CODE_IS_POPOVER_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_TYPE_POPOVER_MENU_ITEM))
#define CODE_IS_POPOVER_MENU_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CODE_TYPE_POPOVER_MENU_ITEM))
#define CODE_POPOVER_MENU_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CODE_TYPE_POPOVER_MENU_ITEM, CodePopoverMenuItemClass))

typedef struct _CodePopoverMenuItem CodePopoverMenuItem;
typedef struct _CodePopoverMenuItemClass CodePopoverMenuItemClass;
typedef struct _CodePopoverMenuItemPrivate CodePopoverMenuItemPrivate;
typedef enum  {
	SCRATCH_CASE_SENSITIVE_MODE_NEVER,
	SCRATCH_CASE_SENSITIVE_MODE_MIXED,
	SCRATCH_CASE_SENSITIVE_MODE_ALWAYS
} ScratchCaseSensitiveMode;

#define SCRATCH_TYPE_CASE_SENSITIVE_MODE (scratch_case_sensitive_mode_get_type ())

#define SCRATCH_WIDGETS_TYPE_SEARCH_BAR (scratch_widgets_search_bar_get_type ())
#define SCRATCH_WIDGETS_SEARCH_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_WIDGETS_TYPE_SEARCH_BAR, ScratchWidgetsSearchBar))
#define SCRATCH_WIDGETS_SEARCH_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_WIDGETS_TYPE_SEARCH_BAR, ScratchWidgetsSearchBarClass))
#define SCRATCH_WIDGETS_IS_SEARCH_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_WIDGETS_TYPE_SEARCH_BAR))
#define SCRATCH_WIDGETS_IS_SEARCH_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_WIDGETS_TYPE_SEARCH_BAR))
#define SCRATCH_WIDGETS_SEARCH_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_WIDGETS_TYPE_SEARCH_BAR, ScratchWidgetsSearchBarClass))

typedef struct _ScratchWidgetsSearchBar ScratchWidgetsSearchBar;
typedef struct _ScratchWidgetsSearchBarClass ScratchWidgetsSearchBarClass;
typedef struct _ScratchWidgetsSearchBarPrivate ScratchWidgetsSearchBarPrivate;

#define CODE_WIDGETS_TYPE_CELL_RENDERER_BADGE (code_widgets_cell_renderer_badge_get_type ())
#define CODE_WIDGETS_CELL_RENDERER_BADGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_WIDGETS_TYPE_CELL_RENDERER_BADGE, CodeWidgetsCellRendererBadge))
#define CODE_WIDGETS_CELL_RENDERER_BADGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CODE_WIDGETS_TYPE_CELL_RENDERER_BADGE, CodeWidgetsCellRendererBadgeClass))
#define CODE_WIDGETS_IS_CELL_RENDERER_BADGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_WIDGETS_TYPE_CELL_RENDERER_BADGE))
#define CODE_WIDGETS_IS_CELL_RENDERER_BADGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CODE_WIDGETS_TYPE_CELL_RENDERER_BADGE))
#define CODE_WIDGETS_CELL_RENDERER_BADGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CODE_WIDGETS_TYPE_CELL_RENDERER_BADGE, CodeWidgetsCellRendererBadgeClass))

typedef struct _CodeWidgetsCellRendererBadge CodeWidgetsCellRendererBadge;
typedef struct _CodeWidgetsCellRendererBadgeClass CodeWidgetsCellRendererBadgeClass;
typedef struct _CodeWidgetsCellRendererBadgePrivate CodeWidgetsCellRendererBadgePrivate;

#define CODE_WIDGETS_TYPE_CELL_RENDERER_EXPANDER (code_widgets_cell_renderer_expander_get_type ())
#define CODE_WIDGETS_CELL_RENDERER_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_WIDGETS_TYPE_CELL_RENDERER_EXPANDER, CodeWidgetsCellRendererExpander))
#define CODE_WIDGETS_CELL_RENDERER_EXPANDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CODE_WIDGETS_TYPE_CELL_RENDERER_EXPANDER, CodeWidgetsCellRendererExpanderClass))
#define CODE_WIDGETS_IS_CELL_RENDERER_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_WIDGETS_TYPE_CELL_RENDERER_EXPANDER))
#define CODE_WIDGETS_IS_CELL_RENDERER_EXPANDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CODE_WIDGETS_TYPE_CELL_RENDERER_EXPANDER))
#define CODE_WIDGETS_CELL_RENDERER_EXPANDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CODE_WIDGETS_TYPE_CELL_RENDERER_EXPANDER, CodeWidgetsCellRendererExpanderClass))

typedef struct _CodeWidgetsCellRendererExpander CodeWidgetsCellRendererExpander;
typedef struct _CodeWidgetsCellRendererExpanderClass CodeWidgetsCellRendererExpanderClass;
typedef struct _CodeWidgetsCellRendererExpanderPrivate CodeWidgetsCellRendererExpanderPrivate;

#define CODE_WIDGETS_TYPE_SOURCE_LIST_DRAG_SOURCE (code_widgets_source_list_drag_source_get_type ())
#define CODE_WIDGETS_SOURCE_LIST_DRAG_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_WIDGETS_TYPE_SOURCE_LIST_DRAG_SOURCE, CodeWidgetsSourceListDragSource))
#define CODE_WIDGETS_IS_SOURCE_LIST_DRAG_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_WIDGETS_TYPE_SOURCE_LIST_DRAG_SOURCE))
#define CODE_WIDGETS_SOURCE_LIST_DRAG_SOURCE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), CODE_WIDGETS_TYPE_SOURCE_LIST_DRAG_SOURCE, CodeWidgetsSourceListDragSourceIface))

typedef struct _CodeWidgetsSourceListDragSource CodeWidgetsSourceListDragSource;
typedef struct _CodeWidgetsSourceListDragSourceIface CodeWidgetsSourceListDragSourceIface;

#define CODE_WIDGETS_TYPE_SOURCE_LIST_DRAG_DEST (code_widgets_source_list_drag_dest_get_type ())
#define CODE_WIDGETS_SOURCE_LIST_DRAG_DEST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_WIDGETS_TYPE_SOURCE_LIST_DRAG_DEST, CodeWidgetsSourceListDragDest))
#define CODE_WIDGETS_IS_SOURCE_LIST_DRAG_DEST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_WIDGETS_TYPE_SOURCE_LIST_DRAG_DEST))
#define CODE_WIDGETS_SOURCE_LIST_DRAG_DEST_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), CODE_WIDGETS_TYPE_SOURCE_LIST_DRAG_DEST, CodeWidgetsSourceListDragDestIface))

typedef struct _CodeWidgetsSourceListDragDest CodeWidgetsSourceListDragDest;
typedef struct _CodeWidgetsSourceListDragDestIface CodeWidgetsSourceListDragDestIface;
typedef gboolean (*CodeWidgetsSourceListVisibleFunc) (CodeWidgetsSourceListItem* item, gpointer user_data);
typedef struct _ScratchWidgetsSourceViewPrivate ScratchWidgetsSourceViewPrivate;

#define CODE_TYPE_TERMINAL (code_terminal_get_type ())
#define CODE_TERMINAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_TYPE_TERMINAL, CodeTerminal))
#define CODE_TERMINAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CODE_TYPE_TERMINAL, CodeTerminalClass))
#define CODE_IS_TERMINAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_TYPE_TERMINAL))
#define CODE_IS_TERMINAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CODE_TYPE_TERMINAL))
#define CODE_TERMINAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CODE_TYPE_TERMINAL, CodeTerminalClass))

typedef struct _CodeTerminal CodeTerminal;
typedef struct _CodeTerminalClass CodeTerminalClass;
typedef struct _CodeTerminalPrivate CodeTerminalPrivate;

#define CODE_TYPE_WELCOME_VIEW (code_welcome_view_get_type ())
#define CODE_WELCOME_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_TYPE_WELCOME_VIEW, CodeWelcomeView))
#define CODE_WELCOME_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CODE_TYPE_WELCOME_VIEW, CodeWelcomeViewClass))
#define CODE_IS_WELCOME_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_TYPE_WELCOME_VIEW))
#define CODE_IS_WELCOME_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CODE_TYPE_WELCOME_VIEW))
#define CODE_WELCOME_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CODE_TYPE_WELCOME_VIEW, CodeWelcomeViewClass))

typedef struct _CodeWelcomeView CodeWelcomeView;
typedef struct _CodeWelcomeViewClass CodeWelcomeViewClass;
typedef struct _CodeWelcomeViewPrivate CodeWelcomeViewPrivate;
typedef enum  {
	SCRATCH_SERVICES_SYMBOL_TYPE_CLASS,
	SCRATCH_SERVICES_SYMBOL_TYPE_PROPERTY,
	SCRATCH_SERVICES_SYMBOL_TYPE_SIGNAL,
	SCRATCH_SERVICES_SYMBOL_TYPE_METHOD,
	SCRATCH_SERVICES_SYMBOL_TYPE_STRUCT,
	SCRATCH_SERVICES_SYMBOL_TYPE_ENUM,
	SCRATCH_SERVICES_SYMBOL_TYPE_CONSTANT,
	SCRATCH_SERVICES_SYMBOL_TYPE_CONSTRUCTOR,
	SCRATCH_SERVICES_SYMBOL_TYPE_INTERFACE,
	SCRATCH_SERVICES_SYMBOL_TYPE_NAMESPACE,
	SCRATCH_SERVICES_SYMBOL_TYPE_OTHER
} ScratchServicesSymbolType;

#define SCRATCH_SERVICES_TYPE_SYMBOL_TYPE (scratch_services_symbol_type_get_type ())

#define SCRATCH_SERVICES_TYPE_SYMBOL_ITEM (scratch_services_symbol_item_get_type ())
#define SCRATCH_SERVICES_SYMBOL_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_SYMBOL_ITEM, ScratchServicesSymbolItem))
#define SCRATCH_SERVICES_IS_SYMBOL_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_SYMBOL_ITEM))
#define SCRATCH_SERVICES_SYMBOL_ITEM_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SCRATCH_SERVICES_TYPE_SYMBOL_ITEM, ScratchServicesSymbolItemIface))

typedef struct _ScratchServicesSymbolItem ScratchServicesSymbolItem;
typedef struct _ScratchServicesSymbolItemIface ScratchServicesSymbolItemIface;

#define SCRATCH_SERVICES_TYPE_SYMBOL_OUTLINE (scratch_services_symbol_outline_get_type ())
#define SCRATCH_SERVICES_SYMBOL_OUTLINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_SYMBOL_OUTLINE, ScratchServicesSymbolOutline))
#define SCRATCH_SERVICES_SYMBOL_OUTLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_SERVICES_TYPE_SYMBOL_OUTLINE, ScratchServicesSymbolOutlineClass))
#define SCRATCH_SERVICES_IS_SYMBOL_OUTLINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_SYMBOL_OUTLINE))
#define SCRATCH_SERVICES_IS_SYMBOL_OUTLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_SERVICES_TYPE_SYMBOL_OUTLINE))
#define SCRATCH_SERVICES_SYMBOL_OUTLINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_SERVICES_TYPE_SYMBOL_OUTLINE, ScratchServicesSymbolOutlineClass))

typedef struct _ScratchServicesSymbolOutline ScratchServicesSymbolOutline;
typedef struct _ScratchServicesSymbolOutlineClass ScratchServicesSymbolOutlineClass;
typedef struct _ScratchServicesSymbolOutlinePrivate ScratchServicesSymbolOutlinePrivate;

#define SCRATCH_SERVICES_TYPE_VALA_SYMBOL_ITEM (scratch_services_vala_symbol_item_get_type ())
#define SCRATCH_SERVICES_VALA_SYMBOL_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_VALA_SYMBOL_ITEM, ScratchServicesValaSymbolItem))
#define SCRATCH_SERVICES_VALA_SYMBOL_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_SERVICES_TYPE_VALA_SYMBOL_ITEM, ScratchServicesValaSymbolItemClass))
#define SCRATCH_SERVICES_IS_VALA_SYMBOL_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_VALA_SYMBOL_ITEM))
#define SCRATCH_SERVICES_IS_VALA_SYMBOL_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_SERVICES_TYPE_VALA_SYMBOL_ITEM))
#define SCRATCH_SERVICES_VALA_SYMBOL_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_SERVICES_TYPE_VALA_SYMBOL_ITEM, ScratchServicesValaSymbolItemClass))

typedef struct _ScratchServicesValaSymbolItem ScratchServicesValaSymbolItem;
typedef struct _ScratchServicesValaSymbolItemClass ScratchServicesValaSymbolItemClass;
typedef struct _ScratchServicesValaSymbolItemPrivate ScratchServicesValaSymbolItemPrivate;

#define SCRATCH_SERVICES_TYPE_VALA_SYMBOL_OUTLINE (scratch_services_vala_symbol_outline_get_type ())
#define SCRATCH_SERVICES_VALA_SYMBOL_OUTLINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_VALA_SYMBOL_OUTLINE, ScratchServicesValaSymbolOutline))
#define SCRATCH_SERVICES_VALA_SYMBOL_OUTLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_SERVICES_TYPE_VALA_SYMBOL_OUTLINE, ScratchServicesValaSymbolOutlineClass))
#define SCRATCH_SERVICES_IS_VALA_SYMBOL_OUTLINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_VALA_SYMBOL_OUTLINE))
#define SCRATCH_SERVICES_IS_VALA_SYMBOL_OUTLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_SERVICES_TYPE_VALA_SYMBOL_OUTLINE))
#define SCRATCH_SERVICES_VALA_SYMBOL_OUTLINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_SERVICES_TYPE_VALA_SYMBOL_OUTLINE, ScratchServicesValaSymbolOutlineClass))

typedef struct _ScratchServicesValaSymbolOutline ScratchServicesValaSymbolOutline;
typedef struct _ScratchServicesValaSymbolOutlineClass ScratchServicesValaSymbolOutlineClass;
typedef struct _ScratchServicesValaSymbolOutlinePrivate ScratchServicesValaSymbolOutlinePrivate;

#define TYPE_REPORT (report_get_type ())
#define REPORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_REPORT, Report))
#define REPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_REPORT, ReportClass))
#define IS_REPORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_REPORT))
#define IS_REPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_REPORT))
#define REPORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_REPORT, ReportClass))

typedef struct _Report Report;
typedef struct _ReportClass ReportClass;
typedef struct _ReportPrivate ReportPrivate;

#define CODE_PLUGINS_TYPE_VALA_SYMBOL_RESOLVER (code_plugins_vala_symbol_resolver_get_type ())
#define CODE_PLUGINS_VALA_SYMBOL_RESOLVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CODE_PLUGINS_TYPE_VALA_SYMBOL_RESOLVER, CodePluginsValaSymbolResolver))
#define CODE_PLUGINS_VALA_SYMBOL_RESOLVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CODE_PLUGINS_TYPE_VALA_SYMBOL_RESOLVER, CodePluginsValaSymbolResolverClass))
#define CODE_PLUGINS_IS_VALA_SYMBOL_RESOLVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CODE_PLUGINS_TYPE_VALA_SYMBOL_RESOLVER))
#define CODE_PLUGINS_IS_VALA_SYMBOL_RESOLVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CODE_PLUGINS_TYPE_VALA_SYMBOL_RESOLVER))
#define CODE_PLUGINS_VALA_SYMBOL_RESOLVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CODE_PLUGINS_TYPE_VALA_SYMBOL_RESOLVER, CodePluginsValaSymbolResolverClass))

typedef struct _CodePluginsValaSymbolResolver CodePluginsValaSymbolResolver;
typedef struct _CodePluginsValaSymbolResolverClass CodePluginsValaSymbolResolverClass;
typedef struct _CodePluginsValaSymbolResolverPrivate CodePluginsValaSymbolResolverPrivate;

#define SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL (scratch_services_ctags_symbol_get_type ())
#define SCRATCH_SERVICES_CTAGS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL, ScratchServicesCtagsSymbol))
#define SCRATCH_SERVICES_CTAGS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL, ScratchServicesCtagsSymbolClass))
#define SCRATCH_SERVICES_IS_CTAGS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL))
#define SCRATCH_SERVICES_IS_CTAGS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL))
#define SCRATCH_SERVICES_CTAGS_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL, ScratchServicesCtagsSymbolClass))

typedef struct _ScratchServicesCtagsSymbol ScratchServicesCtagsSymbol;
typedef struct _ScratchServicesCtagsSymbolClass ScratchServicesCtagsSymbolClass;
typedef struct _ScratchServicesCtagsSymbolPrivate ScratchServicesCtagsSymbolPrivate;

#define SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL_ITER (scratch_services_ctags_symbol_iter_get_type ())
#define SCRATCH_SERVICES_CTAGS_SYMBOL_ITER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL_ITER, ScratchServicesCtagsSymbolIter))
#define SCRATCH_SERVICES_CTAGS_SYMBOL_ITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL_ITER, ScratchServicesCtagsSymbolIterClass))
#define SCRATCH_SERVICES_IS_CTAGS_SYMBOL_ITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL_ITER))
#define SCRATCH_SERVICES_IS_CTAGS_SYMBOL_ITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL_ITER))
#define SCRATCH_SERVICES_CTAGS_SYMBOL_ITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL_ITER, ScratchServicesCtagsSymbolIterClass))

typedef struct _ScratchServicesCtagsSymbolIter ScratchServicesCtagsSymbolIter;
typedef struct _ScratchServicesCtagsSymbolIterClass ScratchServicesCtagsSymbolIterClass;
typedef struct _ScratchServicesCtagsSymbolIterPrivate ScratchServicesCtagsSymbolIterPrivate;

#define SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL_OUTLINE (scratch_services_ctags_symbol_outline_get_type ())
#define SCRATCH_SERVICES_CTAGS_SYMBOL_OUTLINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL_OUTLINE, ScratchServicesCtagsSymbolOutline))
#define SCRATCH_SERVICES_CTAGS_SYMBOL_OUTLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL_OUTLINE, ScratchServicesCtagsSymbolOutlineClass))
#define SCRATCH_SERVICES_IS_CTAGS_SYMBOL_OUTLINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL_OUTLINE))
#define SCRATCH_SERVICES_IS_CTAGS_SYMBOL_OUTLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL_OUTLINE))
#define SCRATCH_SERVICES_CTAGS_SYMBOL_OUTLINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRATCH_SERVICES_TYPE_CTAGS_SYMBOL_OUTLINE, ScratchServicesCtagsSymbolOutlineClass))

typedef struct _ScratchServicesCtagsSymbolOutline ScratchServicesCtagsSymbolOutline;
typedef struct _ScratchServicesCtagsSymbolOutlineClass ScratchServicesCtagsSymbolOutlineClass;
typedef struct _ScratchServicesCtagsSymbolOutlinePrivate ScratchServicesCtagsSymbolOutlinePrivate;

struct _ScratchApplication {
	GtkApplication parent_instance;
	ScratchApplicationPrivate * priv;
};

struct _ScratchApplicationClass {
	GtkApplicationClass parent_class;
};

struct _ScratchMainWindow {
	HdyWindow parent_instance;
	ScratchMainWindowPrivate * priv;
};

struct _ScratchMainWindowClass {
	HdyWindowClass parent_class;
};

struct _SelectionRange {
	gint start_line;
	gint start_column;
	gint end_line;
	gint end_column;
};

struct _ScratchDialogsPreferences {
	GraniteDialog parent_instance;
	ScratchDialogsPreferencesPrivate * priv;
};

struct _ScratchDialogsPreferencesClass {
	GraniteDialogClass parent_class;
};

struct _ScratchDialogsRestoreConfirmationDialog {
	GraniteMessageDialog parent_instance;
	ScratchDialogsRestoreConfirmationDialogPrivate * priv;
};

struct _ScratchDialogsRestoreConfirmationDialogClass {
	GraniteMessageDialogClass parent_class;
};

struct _ScratchDialogsCloseProjectsConfirmationDialog {
	GraniteMessageDialog parent_instance;
	ScratchDialogsCloseProjectsConfirmationDialogPrivate * priv;
};

struct _ScratchDialogsCloseProjectsConfirmationDialogClass {
	GraniteMessageDialogClass parent_class;
};

struct _ScratchDialogsCloneRepositoryDialog {
	GraniteMessageDialog parent_instance;
	ScratchDialogsCloneRepositoryDialogPrivate * priv;
};

struct _ScratchDialogsCloneRepositoryDialogClass {
	GraniteMessageDialogClass parent_class;
};

struct _ScratchDialogsOverwriteUncommittedConfirmationDialog {
	GraniteMessageDialog parent_instance;
	ScratchDialogsOverwriteUncommittedConfirmationDialogPrivate * priv;
};

struct _ScratchDialogsOverwriteUncommittedConfirmationDialogClass {
	GraniteMessageDialogClass parent_class;
};

struct _ScratchDialogsGlobalSearchDialog {
	GraniteMessageDialog parent_instance;
	ScratchDialogsGlobalSearchDialogPrivate * priv;
};

struct _ScratchDialogsGlobalSearchDialogClass {
	GraniteMessageDialogClass parent_class;
};

struct _ScratchBranchActionPageIface {
	GTypeInterface parent_iface;
	void (*focus_start_widget) (ScratchBranchActionPage* self);
	ScratchBranchAction (*get_action) (ScratchBranchActionPage* self);
	GgitRef* (*get_branch_ref) (ScratchBranchActionPage* self);
	const gchar* (*get_new_branch_name) (ScratchBranchActionPage* self);
};

struct _ScratchDialogsBranchActionDialog {
	GraniteMessageDialog parent_instance;
	ScratchDialogsBranchActionDialogPrivate * priv;
};

struct _ScratchDialogsBranchActionDialogClass {
	GraniteMessageDialogClass parent_class;
};

struct _ScratchDialogsBranchCheckoutPage {
	GtkBox parent_instance;
	ScratchDialogsBranchCheckoutPagePrivate * priv;
};

struct _ScratchDialogsBranchCheckoutPageClass {
	GtkBoxClass parent_class;
};

struct _ScratchDialogsBranchCreatePage {
	GtkBox parent_instance;
	ScratchDialogsBranchCreatePagePrivate * priv;
};

struct _ScratchDialogsBranchCreatePageClass {
	GtkBoxClass parent_class;
};

struct _ScratchFolderManagerFile {
	GObject parent_instance;
	ScratchFolderManagerFilePrivate * priv;
};

struct _ScratchFolderManagerFileClass {
	GObjectClass parent_class;
};

struct _CodeWidgetsSourceListItem {
	GObject parent_instance;
	CodeWidgetsSourceListItemPrivate * priv;
};

struct _CodeWidgetsSourceListItemClass {
	GObjectClass parent_class;
	GMenu* (*get_context_menu) (CodeWidgetsSourceListItem* self);
	void (*edited) (CodeWidgetsSourceListItem* self, const gchar* new_name);
	void (*action_activated) (CodeWidgetsSourceListItem* self);
	void (*activated) (CodeWidgetsSourceListItem* self);
};

struct _CodeWidgetsSourceListExpandableItem {
	CodeWidgetsSourceListItem parent_instance;
	CodeWidgetsSourceListExpandableItemPrivate * priv;
};

struct _CodeWidgetsSourceListExpandableItemClass {
	CodeWidgetsSourceListItemClass parent_class;
	void (*toggled) (CodeWidgetsSourceListExpandableItem* self);
};

struct _CodeWidgetsSourceListSortableIface {
	GTypeInterface parent_iface;
	gboolean (*allow_dnd_sorting) (CodeWidgetsSourceListSortable* self);
	gint (*compare) (CodeWidgetsSourceListSortable* self, CodeWidgetsSourceListItem* a, CodeWidgetsSourceListItem* b);
};

struct _ScratchFolderManagerItem {
	CodeWidgetsSourceListExpandableItem parent_instance;
	ScratchFolderManagerItemPrivate * priv;
};

struct _ScratchFolderManagerItemClass {
	CodeWidgetsSourceListExpandableItemClass parent_class;
};

struct _ScratchFolderManagerFileItem {
	ScratchFolderManagerItem parent_instance;
	ScratchFolderManagerFileItemPrivate * priv;
};

struct _ScratchFolderManagerFileItemClass {
	ScratchFolderManagerItemClass parent_class;
};

struct _CodeWidgetsSourceList {
	GtkScrolledWindow parent_instance;
	CodeWidgetsSourceListPrivate * priv;
};

struct _CodeWidgetsSourceListClass {
	GtkScrolledWindowClass parent_class;
	void (*item_selected) (CodeWidgetsSourceList* self, CodeWidgetsSourceListItem* item);
};

struct _CodePaneSwitcherIface {
	GTypeInterface parent_iface;
	const gchar* (*get_icon_name) (CodePaneSwitcher* self);
	void (*set_icon_name) (CodePaneSwitcher* self, const gchar* value);
	const gchar* (*get_title) (CodePaneSwitcher* self);
	void (*set_title) (CodePaneSwitcher* self, const gchar* value);
};

struct _ScratchFolderManagerFileView {
	CodeWidgetsSourceList parent_instance;
	ScratchFolderManagerFileViewPrivate * priv;
};

struct _ScratchFolderManagerFileViewClass {
	CodeWidgetsSourceListClass parent_class;
};

struct _ScratchFolderManagerFolderItem {
	ScratchFolderManagerItem parent_instance;
	ScratchFolderManagerFolderItemPrivate * priv;
};

struct _ScratchFolderManagerFolderItemClass {
	ScratchFolderManagerItemClass parent_class;
	void (*on_changed) (ScratchFolderManagerFolderItem* self, GFile* source, GFile* dest, GFileMonitorEvent event);
};

struct _ScratchFolderManagerItemRenameItem {
	CodeWidgetsSourceListItem parent_instance;
	ScratchFolderManagerItemRenameItemPrivate * priv;
};

struct _ScratchFolderManagerItemRenameItemClass {
	CodeWidgetsSourceListItemClass parent_class;
};

struct _ScratchFolderManagerProjectFolderItem {
	ScratchFolderManagerFolderItem parent_instance;
	ScratchFolderManagerProjectFolderItemPrivate * priv;
};

struct _ScratchFolderManagerProjectFolderItemClass {
	ScratchFolderManagerFolderItemClass parent_class;
};

struct _ScratchCommentToggler {
	GTypeInstance parent_instance;
	volatile int ref_count;
	ScratchCommentTogglerPrivate * priv;
};

struct _ScratchCommentTogglerClass {
	GTypeClass parent_class;
	void (*finalize) (ScratchCommentToggler *self);
};

struct _ScratchServicesDocument {
	GtkBox parent_instance;
	ScratchServicesDocumentPrivate * priv;
	GtkStack* main_stack;
	gchar* original_content;
	gboolean saved;
};

struct _ScratchServicesDocumentClass {
	GtkBoxClass parent_class;
};

struct _ScratchServicesDocumentManager {
	GObject parent_instance;
	ScratchServicesDocumentManagerPrivate * priv;
};

struct _ScratchServicesDocumentManagerClass {
	GObjectClass parent_class;
};

struct _ScratchServicesFileHandler {
	GObject parent_instance;
	ScratchServicesFileHandlerPrivate * priv;
};

struct _ScratchServicesFileHandlerClass {
	GObjectClass parent_class;
};

struct _ScratchServicesGitManager {
	GObject parent_instance;
	ScratchServicesGitManagerPrivate * priv;
};

struct _ScratchServicesGitManagerClass {
	GObjectClass parent_class;
};

struct _ScratchLocationJumpManager {
	GObject parent_instance;
	ScratchLocationJumpManagerPrivate * priv;
};

struct _ScratchLocationJumpManagerClass {
	GObjectClass parent_class;
};

struct _ScratchServicesMonitoredRepository {
	GObject parent_instance;
	ScratchServicesMonitoredRepositoryPrivate * priv;
};

struct _ScratchServicesMonitoredRepositoryClass {
	GObjectClass parent_class;
};

struct _ScratchServicesActivatablePluginIface {
	GTypeInterface parent_iface;
	void (*activate) (ScratchServicesActivatablePlugin* self);
	void (*deactivate) (ScratchServicesActivatablePlugin* self);
	void (*update_state) (ScratchServicesActivatablePlugin* self);
	GObject* (*get_object) (ScratchServicesActivatablePlugin* self);
	void (*set_object) (ScratchServicesActivatablePlugin* self, GObject* value);
};

struct _ScratchServicesInterface {
	GObject parent_instance;
	ScratchServicesInterfacePrivate * priv;
};

struct _ScratchServicesInterfaceClass {
	GObjectClass parent_class;
};

struct _ScratchServicesPluginsManager {
	GObject parent_instance;
	ScratchServicesPluginsManagerPrivate * priv;
};

struct _ScratchServicesPluginsManagerClass {
	GObjectClass parent_class;
};

struct _RestoreOverride {
	GObject parent_instance;
	RestoreOverridePrivate * priv;
};

struct _RestoreOverrideClass {
	GObjectClass parent_class;
};

struct _CodeChooseProjectButton {
	GtkBin parent_instance;
	CodeChooseProjectButtonPrivate * priv;
};

struct _CodeChooseProjectButtonClass {
	GtkBinClass parent_class;
};

struct _CodeChooseProjectButtonProjectRow {
	GtkListBoxRow parent_instance;
	CodeChooseProjectButtonProjectRowPrivate * priv;
};

struct _CodeChooseProjectButtonProjectRowClass {
	GtkListBoxRowClass parent_class;
};

struct _ScratchWidgetsDocumentView {
	GtkBox parent_instance;
	ScratchWidgetsDocumentViewPrivate * priv;
	GList* docs;
	gboolean is_closing;
};

struct _ScratchWidgetsDocumentViewClass {
	GtkBoxClass parent_class;
};

struct _CodeFormatBar {
	GtkBox parent_instance;
	CodeFormatBarPrivate * priv;
};

struct _CodeFormatBarClass {
	GtkBoxClass parent_class;
};

struct _ScratchWidgetsGitGutterRenderer {
	GtkSourceGutterRenderer parent_instance;
	ScratchWidgetsGitGutterRendererPrivate * priv;
	GeeHashMap* line_status_map;
	GeeHashMap* status_color_map;
};

struct _ScratchWidgetsGitGutterRendererClass {
	GtkSourceGutterRendererClass parent_class;
};

struct _ScratchWidgetsNavMarkGutterRenderer {
	GtkSourceGutterRendererPixbuf parent_instance;
	ScratchWidgetsNavMarkGutterRendererPrivate * priv;
};

struct _ScratchWidgetsNavMarkGutterRendererClass {
	GtkSourceGutterRendererPixbufClass parent_class;
};

struct _ScratchHeaderBar {
	HdyHeaderBar parent_instance;
	ScratchHeaderBarPrivate * priv;
	CodeFormatBar* format_bar;
	GMenu* share_menu;
	GtkMenuButton* share_menu_button;
};

struct _ScratchHeaderBarClass {
	HdyHeaderBarClass parent_class;
};

struct _CodeSidebar {
	GtkGrid parent_instance;
	CodeSidebarPrivate * priv;
};

struct _CodeSidebarClass {
	GtkGridClass parent_class;
};

struct _CodePopoverMenuItem {
	GtkButton parent_instance;
	CodePopoverMenuItemPrivate * priv;
};

struct _CodePopoverMenuItemClass {
	GtkButtonClass parent_class;
};

struct _ScratchWidgetsSearchBar {
	GtkBox parent_instance;
	ScratchWidgetsSearchBarPrivate * priv;
};

struct _ScratchWidgetsSearchBarClass {
	GtkBoxClass parent_class;
};

struct _CodeWidgetsCellRendererBadge {
	GtkCellRenderer parent_instance;
	CodeWidgetsCellRendererBadgePrivate * priv;
};

struct _CodeWidgetsCellRendererBadgeClass {
	GtkCellRendererClass parent_class;
};

struct _CodeWidgetsCellRendererExpander {
	GtkCellRenderer parent_instance;
	CodeWidgetsCellRendererExpanderPrivate * priv;
};

struct _CodeWidgetsCellRendererExpanderClass {
	GtkCellRendererClass parent_class;
	gint (*get_arrow_size) (CodeWidgetsCellRendererExpander* self, GtkWidget* widget);
};

struct _CodeWidgetsSourceListDragSourceIface {
	GTypeInterface parent_iface;
	gboolean (*draggable) (CodeWidgetsSourceListDragSource* self);
	void (*prepare_selection_data) (CodeWidgetsSourceListDragSource* self, GtkSelectionData* selection_data);
};

struct _CodeWidgetsSourceListDragDestIface {
	GTypeInterface parent_iface;
	gboolean (*data_drop_possible) (CodeWidgetsSourceListDragDest* self, GdkDragContext* context, GtkSelectionData* data);
	GdkDragAction (*data_received) (CodeWidgetsSourceListDragDest* self, GdkDragContext* context, GtkSelectionData* data);
};

struct _ScratchWidgetsSourceView {
	GtkSourceView parent_instance;
	ScratchWidgetsSourceViewPrivate * priv;
	GtkSourceLanguageManager* manager;
	GtkSourceStyleSchemeManager* style_scheme_manager;
	GtkCssProvider* font_css_provider;
	GtkTextTag* warning_tag;
	GtkTextTag* error_tag;
};

struct _ScratchWidgetsSourceViewClass {
	GtkSourceViewClass parent_class;
};

struct _CodeTerminal {
	GtkBox parent_instance;
	CodeTerminalPrivate * priv;
};

struct _CodeTerminalClass {
	GtkBoxClass parent_class;
};

struct _CodeWelcomeView {
	GraniteWidgetsWelcome parent_instance;
	CodeWelcomeViewPrivate * priv;
};

struct _CodeWelcomeViewClass {
	GraniteWidgetsWelcomeClass parent_class;
};

struct _ScratchServicesSymbolItemIface {
	GTypeInterface parent_iface;
	ScratchServicesSymbolType (*get_symbol_type) (ScratchServicesSymbolItem* self);
	void (*set_symbol_type) (ScratchServicesSymbolItem* self, ScratchServicesSymbolType value);
};

struct _ScratchServicesSymbolOutline {
	GtkBox parent_instance;
	ScratchServicesSymbolOutlinePrivate * priv;
	GeeHashMap* checks;
	GtkSearchEntry* search_entry;
	CodeWidgetsSourceList* store;
	CodeWidgetsSourceListExpandableItem* root;
	GtkCssProvider* source_list_style_provider;
	gboolean took_too_long;
};

struct _ScratchServicesSymbolOutlineClass {
	GtkBoxClass parent_class;
	void (*parse_symbols) (ScratchServicesSymbolOutline* self);
	void (*add_tooltips) (ScratchServicesSymbolOutline* self, CodeWidgetsSourceListExpandableItem* root);
};

struct _ScratchServicesValaSymbolItem {
	CodeWidgetsSourceListExpandableItem parent_instance;
	ScratchServicesValaSymbolItemPrivate * priv;
};

struct _ScratchServicesValaSymbolItemClass {
	CodeWidgetsSourceListExpandableItemClass parent_class;
};

struct _ScratchServicesValaSymbolOutline {
	ScratchServicesSymbolOutline parent_instance;
	ScratchServicesValaSymbolOutlinePrivate * priv;
};

struct _ScratchServicesValaSymbolOutlineClass {
	ScratchServicesSymbolOutlineClass parent_class;
};

struct _Report {
	ValaReport parent_instance;
	ReportPrivate * priv;
};

struct _ReportClass {
	ValaReportClass parent_class;
};

struct _CodePluginsValaSymbolResolver {
	ValaSymbolResolver parent_instance;
	CodePluginsValaSymbolResolverPrivate * priv;
};

struct _CodePluginsValaSymbolResolverClass {
	ValaSymbolResolverClass parent_class;
};

struct _ScratchServicesCtagsSymbol {
	CodeWidgetsSourceListExpandableItem parent_instance;
	ScratchServicesCtagsSymbolPrivate * priv;
};

struct _ScratchServicesCtagsSymbolClass {
	CodeWidgetsSourceListExpandableItemClass parent_class;
};

struct _ScratchServicesCtagsSymbolIter {
	GObject parent_instance;
	ScratchServicesCtagsSymbolIterPrivate * priv;
	ScratchServicesSymbolType* symbol_type;
};

struct _ScratchServicesCtagsSymbolIterClass {
	GObjectClass parent_class;
};

struct _ScratchServicesCtagsSymbolOutline {
	ScratchServicesSymbolOutline parent_instance;
	ScratchServicesCtagsSymbolOutlinePrivate * priv;
};

struct _ScratchServicesCtagsSymbolOutlineClass {
	ScratchServicesSymbolOutlineClass parent_class;
};

VALA_EXTERN GSettings* scratch_saved_state;
VALA_EXTERN GSettings* scratch_settings;
VALA_EXTERN GSettings* scratch_service_settings;
VALA_EXTERN GSettings* scratch_privacy_settings;
VALA_EXTERN GType scratch_application_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchApplication, g_object_unref)
VALA_EXTERN GType scratch_main_window_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchMainWindow, g_object_unref)
VALA_EXTERN ScratchMainWindow* scratch_application_get_last_window (ScratchApplication* self);
VALA_EXTERN void scratch_application_handle_quit_app (ScratchApplication* self,
                                          GAsyncReadyCallback _callback_,
                                          gpointer _user_data_);
VALA_EXTERN void scratch_application_handle_quit_app_finish (ScratchApplication* self,
                                                 GAsyncResult* _res_);
VALA_EXTERN void scratch_application_handle_quit_window (ScratchApplication* self,
                                             ScratchMainWindow* window_to_close,
                                             GAsyncReadyCallback _callback_,
                                             gpointer _user_data_);
VALA_EXTERN gboolean scratch_application_handle_quit_window_finish (ScratchApplication* self,
                                                        GAsyncResult* _res_);
static gint scratch_application_main (gchar** args,
                               gint args_length1);
VALA_EXTERN ScratchApplication* scratch_application_new (void);
VALA_EXTERN ScratchApplication* scratch_application_construct (GType object_type);
VALA_EXTERN const gchar* scratch_application_get_data_home_folder_unsaved (ScratchApplication* self);
VALA_EXTERN const gchar* scratch_application_get_system_monospace_font (ScratchApplication* self);
VALA_EXTERN void scratch_application_set_system_monospace_font (ScratchApplication* self,
                                                    const gchar* value);
VALA_EXTERN gboolean scratch_application_get_is_running_in_flatpak (ScratchApplication* self);
VALA_EXTERN GeeMultiMap* scratch_main_window_action_accelerators;
VALA_EXTERN ScratchMainWindow* scratch_main_window_new (gboolean restore_docs);
VALA_EXTERN ScratchMainWindow* scratch_main_window_construct (GType object_type,
                                                  gboolean restore_docs);
VALA_EXTERN GType restore_override_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (RestoreOverride, g_object_unref)
VALA_EXTERN ScratchMainWindow* scratch_main_window_new_with_restore_override (gboolean restore_docs,
                                                                  RestoreOverride* restore_override);
VALA_EXTERN ScratchMainWindow* scratch_main_window_construct_with_restore_override (GType object_type,
                                                                        gboolean restore_docs,
                                                                        RestoreOverride* restore_override);
VALA_EXTERN GType scratch_services_document_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesDocument, g_object_unref)
VALA_EXTERN ScratchServicesDocument* scratch_main_window_get_current_document (ScratchMainWindow* self);
VALA_EXTERN ScratchServicesDocument* scratch_main_window_get_focused_document (ScratchMainWindow* self);
VALA_EXTERN void scratch_main_window_set_selected_text_for_search (ScratchMainWindow* self);
VALA_EXTERN gboolean scratch_main_window_has_successful_search (ScratchMainWindow* self);
VALA_EXTERN void scratch_main_window_open_folder (ScratchMainWindow* self,
                                      GFile* folder);
VALA_EXTERN void scratch_main_window_open_document (ScratchMainWindow* self,
                                        ScratchServicesDocument* doc,
                                        gboolean focus,
                                        gint cursor_position,
                                        GAsyncReadyCallback _callback_,
                                        gpointer _user_data_);
VALA_EXTERN void scratch_main_window_open_document_finish (ScratchMainWindow* self,
                                               GAsyncResult* _res_);
VALA_EXTERN GType selection_range_get_type (void) G_GNUC_CONST ;
VALA_EXTERN SelectionRange* selection_range_dup (const SelectionRange* self);
VALA_EXTERN void selection_range_free (SelectionRange* self);
VALA_EXTERN void scratch_main_window_open_document_at_selected_range (ScratchMainWindow* self,
                                                          ScratchServicesDocument* doc,
                                                          gboolean focus,
                                                          SelectionRange* range,
                                                          gboolean is_override,
                                                          GAsyncReadyCallback _callback_,
                                                          gpointer _user_data_);
VALA_EXTERN void scratch_main_window_open_document_at_selected_range_finish (ScratchMainWindow* self,
                                                                 GAsyncResult* _res_);
VALA_EXTERN void scratch_main_window_close_document (ScratchMainWindow* self,
                                         ScratchServicesDocument* doc);
VALA_EXTERN void scratch_main_window_check_unsaved_changes (ScratchMainWindow* self,
                                                gboolean app_closing,
                                                GAsyncReadyCallback _callback_,
                                                gpointer _user_data_);
VALA_EXTERN gboolean scratch_main_window_check_unsaved_changes_finish (ScratchMainWindow* self,
                                                           GAsyncResult* _res_);
VALA_EXTERN gboolean scratch_main_window_quit_source_func (ScratchMainWindow* self);
VALA_EXTERN void scratch_main_window_before_quit (ScratchMainWindow* self);
VALA_EXTERN void scratch_main_window_set_default_zoom (ScratchMainWindow* self);
VALA_EXTERN void scratch_main_window_action_zoom_in (ScratchMainWindow* self);
VALA_EXTERN void scratch_main_window_action_zoom_out (ScratchMainWindow* self);
VALA_EXTERN gchar* scratch_main_window_get_current_font (ScratchMainWindow* self);
VALA_EXTERN gdouble scratch_main_window_get_current_font_size (ScratchMainWindow* self);
VALA_EXTERN gchar* scratch_main_window_get_default_font (ScratchMainWindow* self);
VALA_EXTERN gdouble scratch_main_window_get_default_font_size (ScratchMainWindow* self);
VALA_EXTERN gboolean scratch_main_window_get_restore_docs (ScratchMainWindow* self);
VALA_EXTERN RestoreOverride* scratch_main_window_get_restore_override (ScratchMainWindow* self);
VALA_EXTERN void scratch_main_window_set_restore_override (ScratchMainWindow* self,
                                               RestoreOverride* value);
VALA_EXTERN gchar* scratch_main_window_get_default_globalsearch_path (ScratchMainWindow* self);
VALA_EXTERN GType code_sidebar_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeSidebar, g_object_unref)
VALA_EXTERN CodeSidebar* scratch_main_window_get_sidebar (ScratchMainWindow* self);
VALA_EXTERN ScratchApplication* scratch_main_window_get_app (ScratchMainWindow* self);
VALA_EXTERN GType scratch_widgets_document_view_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchWidgetsDocumentView, g_object_unref)
VALA_EXTERN ScratchWidgetsDocumentView* scratch_main_window_get_document_view (ScratchMainWindow* self);
VALA_EXTERN GSimpleActionGroup* scratch_main_window_get_actions (ScratchMainWindow* self);
VALA_EXTERN gchar* scratch_utils_last_path;
VALA_EXTERN GSimpleAction* scratch_utils_action_from_group (const gchar* action_name,
                                                GSimpleActionGroup* action_group);
VALA_EXTERN gchar* scratch_utils_pango_font_description_to_css (PangoFontDescription* font_descr);
VALA_EXTERN gchar* scratch_utils_replace_home_with_tilde (const gchar* path);
VALA_EXTERN gboolean scratch_utils_find_unique_path (GFile* f1,
                                         GFile* f2,
                                         gchar** path1,
                                         gchar** path2);
VALA_EXTERN gboolean scratch_utils_check_if_valid_text_file (const gchar* path,
                                                 GFileInfo* info);
VALA_EXTERN GMenu* scratch_utils_create_executable_app_items_for_file (GFile* file,
                                                           const gchar* file_type);
VALA_EXTERN void scratch_utils_launch_app_with_file (const gchar* app_id,
                                         const gchar* path);
VALA_EXTERN GMenu* scratch_utils_create_contract_items_for_file (GFile* file);
VALA_EXTERN void scratch_utils_execute_contract_with_file_path (const gchar* path,
                                                    const gchar* contract_name);
VALA_EXTERN gchar* scratch_utils_get_accel_for_action (const gchar* detailed_action_name);
VALA_EXTERN GType scratch_dialogs_preferences_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchDialogsPreferences, g_object_unref)
VALA_EXTERN GType scratch_services_plugins_manager_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesPluginsManager, g_object_unref)
VALA_EXTERN ScratchDialogsPreferences* scratch_dialogs_preferences_new (GtkWindow* parent,
                                                            ScratchServicesPluginsManager* plugins);
VALA_EXTERN ScratchDialogsPreferences* scratch_dialogs_preferences_construct (GType object_type,
                                                                  GtkWindow* parent,
                                                                  ScratchServicesPluginsManager* plugins);
VALA_EXTERN ScratchServicesPluginsManager* scratch_dialogs_preferences_get_plugins (ScratchDialogsPreferences* self);
VALA_EXTERN GType scratch_dialogs_restore_confirmation_dialog_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchDialogsRestoreConfirmationDialog, g_object_unref)
VALA_EXTERN ScratchDialogsRestoreConfirmationDialog* scratch_dialogs_restore_confirmation_dialog_new (ScratchMainWindow* parent);
VALA_EXTERN ScratchDialogsRestoreConfirmationDialog* scratch_dialogs_restore_confirmation_dialog_construct (GType object_type,
                                                                                                ScratchMainWindow* parent);
VALA_EXTERN GType scratch_dialogs_close_projects_confirmation_dialog_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchDialogsCloseProjectsConfirmationDialog, g_object_unref)
VALA_EXTERN ScratchDialogsCloseProjectsConfirmationDialog* scratch_dialogs_close_projects_confirmation_dialog_new (ScratchMainWindow* parent,
                                                                                                       guint n_parents,
                                                                                                       guint n_children);
VALA_EXTERN ScratchDialogsCloseProjectsConfirmationDialog* scratch_dialogs_close_projects_confirmation_dialog_construct (GType object_type,
                                                                                                             ScratchMainWindow* parent,
                                                                                                             guint n_parents,
                                                                                                             guint n_children);
VALA_EXTERN guint scratch_dialogs_close_projects_confirmation_dialog_get_n_parents (ScratchDialogsCloseProjectsConfirmationDialog* self);
VALA_EXTERN guint scratch_dialogs_close_projects_confirmation_dialog_get_n_children (ScratchDialogsCloseProjectsConfirmationDialog* self);
VALA_EXTERN GType scratch_dialogs_clone_repository_dialog_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchDialogsCloneRepositoryDialog, g_object_unref)
VALA_EXTERN ScratchDialogsCloneRepositoryDialog* scratch_dialogs_clone_repository_dialog_new (const gchar* _suggested_local_folder,
                                                                                  const gchar* _suggested_remote);
VALA_EXTERN ScratchDialogsCloneRepositoryDialog* scratch_dialogs_clone_repository_dialog_construct (GType object_type,
                                                                                        const gchar* _suggested_local_folder,
                                                                                        const gchar* _suggested_remote);
VALA_EXTERN gchar* scratch_dialogs_clone_repository_dialog_get_projects_folder (ScratchDialogsCloneRepositoryDialog* self);
VALA_EXTERN gchar* scratch_dialogs_clone_repository_dialog_get_remote (ScratchDialogsCloneRepositoryDialog* self);
VALA_EXTERN gchar* scratch_dialogs_clone_repository_dialog_get_valid_source_repository_uri (ScratchDialogsCloneRepositoryDialog* self);
VALA_EXTERN gchar* scratch_dialogs_clone_repository_dialog_get_valid_target (ScratchDialogsCloneRepositoryDialog* self);
VALA_EXTERN gboolean scratch_dialogs_clone_repository_dialog_get_can_clone (ScratchDialogsCloneRepositoryDialog* self);
VALA_EXTERN const gchar* scratch_dialogs_clone_repository_dialog_get_suggested_local_folder (ScratchDialogsCloneRepositoryDialog* self);
VALA_EXTERN const gchar* scratch_dialogs_clone_repository_dialog_get_suggested_remote (ScratchDialogsCloneRepositoryDialog* self);
VALA_EXTERN void scratch_dialogs_clone_repository_dialog_set_cloning_in_progress (ScratchDialogsCloneRepositoryDialog* self,
                                                                      gboolean value);
VALA_EXTERN GType scratch_dialogs_overwrite_uncommitted_confirmation_dialog_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchDialogsOverwriteUncommittedConfirmationDialog, g_object_unref)
VALA_EXTERN ScratchDialogsOverwriteUncommittedConfirmationDialog* scratch_dialogs_overwrite_uncommitted_confirmation_dialog_new (GtkWindow* parent,
                                                                                                                     const gchar* new_branch_name,
                                                                                                                     const gchar* details);
VALA_EXTERN ScratchDialogsOverwriteUncommittedConfirmationDialog* scratch_dialogs_overwrite_uncommitted_confirmation_dialog_construct (GType object_type,
                                                                                                                           GtkWindow* parent,
                                                                                                                           const gchar* new_branch_name,
                                                                                                                           const gchar* details);
VALA_EXTERN const gchar* scratch_dialogs_overwrite_uncommitted_confirmation_dialog_get_branch_name (ScratchDialogsOverwriteUncommittedConfirmationDialog* self);
VALA_EXTERN GType scratch_dialogs_global_search_dialog_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchDialogsGlobalSearchDialog, g_object_unref)
VALA_EXTERN ScratchDialogsGlobalSearchDialog* scratch_dialogs_global_search_dialog_new (const gchar* folder_name,
                                                                            gboolean is_repo,
                                                                            gboolean case_sensitive,
                                                                            gboolean wholeword,
                                                                            gboolean use_regex);
VALA_EXTERN ScratchDialogsGlobalSearchDialog* scratch_dialogs_global_search_dialog_construct (GType object_type,
                                                                                  const gchar* folder_name,
                                                                                  gboolean is_repo,
                                                                                  gboolean case_sensitive,
                                                                                  gboolean wholeword,
                                                                                  gboolean use_regex);
VALA_EXTERN const gchar* scratch_dialogs_global_search_dialog_get_folder_name (ScratchDialogsGlobalSearchDialog* self);
VALA_EXTERN gboolean scratch_dialogs_global_search_dialog_get_is_repo (ScratchDialogsGlobalSearchDialog* self);
VALA_EXTERN const gchar* scratch_dialogs_global_search_dialog_get_search_term (ScratchDialogsGlobalSearchDialog* self);
VALA_EXTERN void scratch_dialogs_global_search_dialog_set_search_term (ScratchDialogsGlobalSearchDialog* self,
                                                           const gchar* value);
VALA_EXTERN gboolean scratch_dialogs_global_search_dialog_get_case_sensitive (ScratchDialogsGlobalSearchDialog* self);
VALA_EXTERN gboolean scratch_dialogs_global_search_dialog_get_wholeword (ScratchDialogsGlobalSearchDialog* self);
VALA_EXTERN gboolean scratch_dialogs_global_search_dialog_get_use_regex (ScratchDialogsGlobalSearchDialog* self);
VALA_EXTERN GType scratch_branch_action_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType scratch_branch_action_page_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchBranchActionPage, g_object_unref)
VALA_EXTERN void scratch_branch_action_page_focus_start_widget (ScratchBranchActionPage* self);
VALA_EXTERN ScratchBranchAction scratch_branch_action_page_get_action (ScratchBranchActionPage* self);
VALA_EXTERN GgitRef* scratch_branch_action_page_get_branch_ref (ScratchBranchActionPage* self);
VALA_EXTERN const gchar* scratch_branch_action_page_get_new_branch_name (ScratchBranchActionPage* self);
VALA_EXTERN GType scratch_dialogs_branch_action_dialog_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchDialogsBranchActionDialog, g_object_unref)
VALA_EXTERN GType code_widgets_source_list_item_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeWidgetsSourceListItem, g_object_unref)
VALA_EXTERN GType code_widgets_source_list_expandable_item_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeWidgetsSourceListExpandableItem, g_object_unref)
VALA_EXTERN GType scratch_folder_manager_item_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchFolderManagerItem, g_object_unref)
VALA_EXTERN GType scratch_folder_manager_folder_item_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchFolderManagerFolderItem, g_object_unref)
VALA_EXTERN GType scratch_folder_manager_project_folder_item_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchFolderManagerProjectFolderItem, g_object_unref)
VALA_EXTERN ScratchDialogsBranchActionDialog* scratch_dialogs_branch_action_dialog_new (ScratchFolderManagerProjectFolderItem* project);
VALA_EXTERN ScratchDialogsBranchActionDialog* scratch_dialogs_branch_action_dialog_construct (GType object_type,
                                                                                  ScratchFolderManagerProjectFolderItem* project);
VALA_EXTERN ScratchBranchAction scratch_dialogs_branch_action_dialog_get_action (ScratchDialogsBranchActionDialog* self);
VALA_EXTERN GgitRef* scratch_dialogs_branch_action_dialog_get_branch_ref (ScratchDialogsBranchActionDialog* self);
VALA_EXTERN const gchar* scratch_dialogs_branch_action_dialog_get_new_branch_name (ScratchDialogsBranchActionDialog* self);
VALA_EXTERN gboolean scratch_dialogs_branch_action_dialog_get_can_apply (ScratchDialogsBranchActionDialog* self);
VALA_EXTERN void scratch_dialogs_branch_action_dialog_set_can_apply (ScratchDialogsBranchActionDialog* self,
                                                         gboolean value);
VALA_EXTERN ScratchFolderManagerProjectFolderItem* scratch_dialogs_branch_action_dialog_get_project (ScratchDialogsBranchActionDialog* self);
VALA_EXTERN GType scratch_dialogs_branch_checkout_page_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchDialogsBranchCheckoutPage, g_object_unref)
VALA_EXTERN ScratchDialogsBranchCheckoutPage* scratch_dialogs_branch_checkout_page_new (ScratchDialogsBranchActionDialog* dialog);
VALA_EXTERN ScratchDialogsBranchCheckoutPage* scratch_dialogs_branch_checkout_page_construct (GType object_type,
                                                                                  ScratchDialogsBranchActionDialog* dialog);
VALA_EXTERN ScratchDialogsBranchActionDialog* scratch_dialogs_branch_checkout_page_get_dialog (ScratchDialogsBranchCheckoutPage* self);
VALA_EXTERN GType scratch_dialogs_branch_create_page_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchDialogsBranchCreatePage, g_object_unref)
VALA_EXTERN ScratchDialogsBranchCreatePage* scratch_dialogs_branch_create_page_new (ScratchDialogsBranchActionDialog* dialog);
VALA_EXTERN ScratchDialogsBranchCreatePage* scratch_dialogs_branch_create_page_construct (GType object_type,
                                                                              ScratchDialogsBranchActionDialog* dialog);
VALA_EXTERN ScratchDialogsBranchActionDialog* scratch_dialogs_branch_create_page_get_dialog (ScratchDialogsBranchCreatePage* self);
VALA_EXTERN GType scratch_folder_manager_file_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchFolderManagerFile, g_object_unref)
VALA_EXTERN gint scratch_folder_manager_file_compare (ScratchFolderManagerFile* a,
                                          ScratchFolderManagerFile* b);
VALA_EXTERN ScratchFolderManagerFile* scratch_folder_manager_file_new (const gchar* path);
VALA_EXTERN ScratchFolderManagerFile* scratch_folder_manager_file_construct (GType object_type,
                                                                 const gchar* path);
VALA_EXTERN void scratch_folder_manager_file_rename (ScratchFolderManagerFile* self,
                                         const gchar* name);
VALA_EXTERN void scratch_folder_manager_file_trash (ScratchFolderManagerFile* self);
VALA_EXTERN void scratch_folder_manager_file_invalidate_cache (ScratchFolderManagerFile* self);
VALA_EXTERN const gchar* scratch_folder_manager_file_get_path (ScratchFolderManagerFile* self);
VALA_EXTERN GFile* scratch_folder_manager_file_get_file (ScratchFolderManagerFile* self);
VALA_EXTERN const gchar* scratch_folder_manager_file_get_name (ScratchFolderManagerFile* self);
VALA_EXTERN GIcon* scratch_folder_manager_file_get_icon (ScratchFolderManagerFile* self);
VALA_EXTERN gboolean scratch_folder_manager_file_get_exists (ScratchFolderManagerFile* self);
VALA_EXTERN gboolean scratch_folder_manager_file_get_is_valid_directory (ScratchFolderManagerFile* self);
VALA_EXTERN gboolean scratch_folder_manager_file_get_is_valid_textfile (ScratchFolderManagerFile* self);
VALA_EXTERN gboolean scratch_folder_manager_file_get_is_executable (ScratchFolderManagerFile* self);
VALA_EXTERN GeeCollection* scratch_folder_manager_file_get_children (ScratchFolderManagerFile* self);
VALA_EXTERN GType code_widgets_source_list_sortable_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeWidgetsSourceListSortable, g_object_unref)
VALA_EXTERN GType scratch_folder_manager_file_item_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchFolderManagerFileItem, g_object_unref)
VALA_EXTERN GType code_widgets_source_list_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeWidgetsSourceList, g_object_unref)
VALA_EXTERN GType scratch_folder_manager_file_view_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchFolderManagerFileView, g_object_unref)
VALA_EXTERN ScratchFolderManagerFileItem* scratch_folder_manager_file_item_new (ScratchFolderManagerFile* file,
                                                                    ScratchFolderManagerFileView* view);
VALA_EXTERN ScratchFolderManagerFileItem* scratch_folder_manager_file_item_construct (GType object_type,
                                                                          ScratchFolderManagerFile* file,
                                                                          ScratchFolderManagerFileView* view);
VALA_EXTERN GType code_pane_switcher_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodePaneSwitcher, g_object_unref)
VALA_EXTERN ScratchFolderManagerFileView* scratch_folder_manager_file_view_new (ScratchServicesPluginsManager* plugins_manager);
VALA_EXTERN ScratchFolderManagerFileView* scratch_folder_manager_file_view_construct (GType object_type,
                                                                          ScratchServicesPluginsManager* plugins_manager);
VALA_EXTERN void scratch_folder_manager_file_view_restore_saved_state (ScratchFolderManagerFileView* self,
                                                           GAsyncReadyCallback _callback_,
                                                           gpointer _user_data_);
VALA_EXTERN void scratch_folder_manager_file_view_restore_saved_state_finish (ScratchFolderManagerFileView* self,
                                                                  GAsyncResult* _res_);
VALA_EXTERN void scratch_folder_manager_file_view_open_folder (ScratchFolderManagerFileView* self,
                                                   ScratchFolderManagerFile* folder);
VALA_EXTERN void scratch_folder_manager_file_view_collapse_all (ScratchFolderManagerFileView* self);
VALA_EXTERN void scratch_folder_manager_file_view_order_folders (ScratchFolderManagerFileView* self);
VALA_EXTERN void scratch_folder_manager_file_view_select_path (ScratchFolderManagerFileView* self,
                                                   const gchar* path);
VALA_EXTERN void scratch_folder_manager_file_view_unselect_all (ScratchFolderManagerFileView* self);
VALA_EXTERN void scratch_folder_manager_file_view_collapse_other_projects (ScratchFolderManagerFileView* self);
VALA_EXTERN void scratch_folder_manager_file_view_branch_actions (ScratchFolderManagerFileView* self,
                                                      const gchar* path);
VALA_EXTERN gboolean scratch_folder_manager_file_view_project_is_open (ScratchFolderManagerFileView* self,
                                                           const gchar* project_path);
VALA_EXTERN ScratchFolderManagerProjectFolderItem* scratch_folder_manager_file_view_get_project_for_file (ScratchFolderManagerFileView* self,
                                                                                              GFile* file);
VALA_EXTERN CodeWidgetsSourceListItem* scratch_folder_manager_file_view_expand_to_path (ScratchFolderManagerFileView* self,
                                                                            const gchar* path);
VALA_EXTERN void scratch_folder_manager_file_view_search_global (ScratchFolderManagerFileView* self,
                                                     const gchar* path,
                                                     const gchar* term);
VALA_EXTERN void scratch_folder_manager_file_view_clear_badges (ScratchFolderManagerFileView* self);
VALA_EXTERN void scratch_folder_manager_file_view_folder_item_update_hook (ScratchFolderManagerFileView* self,
                                                               GFile* source,
                                                               GFile* dest,
                                                               GFileMonitorEvent event);
VALA_EXTERN GSimpleActionGroup* scratch_folder_manager_file_view_get_actions (ScratchFolderManagerFileView* self);
VALA_EXTERN GActionGroup* scratch_folder_manager_file_view_get_toplevel_action_group (ScratchFolderManagerFileView* self);
VALA_EXTERN ScratchFolderManagerFolderItem* scratch_folder_manager_folder_item_new (ScratchFolderManagerFile* file,
                                                                        ScratchFolderManagerFileView* view);
VALA_EXTERN ScratchFolderManagerFolderItem* scratch_folder_manager_folder_item_construct (GType object_type,
                                                                              ScratchFolderManagerFile* file,
                                                                              ScratchFolderManagerFileView* view);
VALA_EXTERN void scratch_folder_manager_folder_item_load_children (ScratchFolderManagerFolderItem* self);
VALA_EXTERN GMenuItem* scratch_folder_manager_folder_item_create_submenu_for_open_in (ScratchFolderManagerFolderItem* self,
                                                                          const gchar* file_type);
VALA_EXTERN GMenuItem* scratch_folder_manager_folder_item_create_submenu_for_new (ScratchFolderManagerFolderItem* self);
VALA_EXTERN void scratch_folder_manager_folder_item_remove_all_badges (ScratchFolderManagerFolderItem* self);
VALA_EXTERN void scratch_folder_manager_folder_item_add (ScratchFolderManagerFolderItem* self,
                                             CodeWidgetsSourceListItem* item);
VALA_EXTERN void scratch_folder_manager_folder_item_remove (ScratchFolderManagerFolderItem* self,
                                                CodeWidgetsSourceListItem* item);
VALA_EXTERN void scratch_folder_manager_folder_item_clear (ScratchFolderManagerFolderItem* self);
VALA_EXTERN void scratch_folder_manager_folder_item_on_changed (ScratchFolderManagerFolderItem* self,
                                                    GFile* source,
                                                    GFile* dest,
                                                    GFileMonitorEvent event);
VALA_EXTERN void scratch_folder_manager_folder_item_on_add_template (ScratchFolderManagerFolderItem* self,
                                                         const gchar* template_path);
VALA_EXTERN void scratch_folder_manager_folder_item_on_add_new (ScratchFolderManagerFolderItem* self,
                                                    gboolean is_folder);
VALA_EXTERN gboolean scratch_folder_manager_folder_item_get_loading_required (ScratchFolderManagerFolderItem* self);
VALA_EXTERN void scratch_folder_manager_item_rename (ScratchFolderManagerItem* self,
                                         const gchar* new_name);
VALA_EXTERN gboolean scratch_folder_manager_item_equal (ScratchFolderManagerItem* self,
                                            ScratchFolderManagerItem* b);
VALA_EXTERN void scratch_folder_manager_item_trash (ScratchFolderManagerItem* self);
VALA_EXTERN ScratchFolderManagerProjectFolderItem* scratch_folder_manager_item_get_root_folder (ScratchFolderManagerItem* self,
                                                                                    CodeWidgetsSourceListExpandableItem* start);
VALA_EXTERN ScratchFolderManagerItem* scratch_folder_manager_item_construct (GType object_type);
VALA_EXTERN ScratchFolderManagerFile* scratch_folder_manager_item_get_file (ScratchFolderManagerItem* self);
VALA_EXTERN ScratchFolderManagerFileView* scratch_folder_manager_item_get_view (ScratchFolderManagerItem* self);
VALA_EXTERN gchar* scratch_folder_manager_item_get_path (ScratchFolderManagerItem* self);
VALA_EXTERN GType scratch_folder_manager_item_rename_item_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchFolderManagerItemRenameItem, g_object_unref)
VALA_EXTERN ScratchFolderManagerItemRenameItem* scratch_folder_manager_item_rename_item_new (const gchar* name,
                                                                                 gboolean is_folder);
VALA_EXTERN ScratchFolderManagerItemRenameItem* scratch_folder_manager_item_rename_item_construct (GType object_type,
                                                                                       const gchar* name,
                                                                                       gboolean is_folder);
VALA_EXTERN gboolean scratch_folder_manager_item_rename_item_get_is_folder (ScratchFolderManagerItemRenameItem* self);
VALA_EXTERN ScratchFolderManagerProjectFolderItem* scratch_folder_manager_project_folder_item_new (ScratchFolderManagerFile* file,
                                                                                       ScratchFolderManagerFileView* view);
VALA_EXTERN ScratchFolderManagerProjectFolderItem* scratch_folder_manager_project_folder_item_construct (GType object_type,
                                                                                             ScratchFolderManagerFile* file,
                                                                                             ScratchFolderManagerFileView* view);
VALA_EXTERN void scratch_folder_manager_project_folder_item_child_folder_changed (ScratchFolderManagerProjectFolderItem* self,
                                                                      ScratchFolderManagerFolderItem* folder);
VALA_EXTERN void scratch_folder_manager_project_folder_item_child_folder_loaded (ScratchFolderManagerProjectFolderItem* self,
                                                                     ScratchFolderManagerFolderItem* folder);
VALA_EXTERN void scratch_folder_manager_project_folder_item_update_item_status (ScratchFolderManagerProjectFolderItem* self,
                                                                    ScratchFolderManagerFolderItem* start_folder);
VALA_EXTERN gboolean scratch_folder_manager_project_folder_item_contains_file (ScratchFolderManagerProjectFolderItem* self,
                                                                   GFile* descendant);
VALA_EXTERN gboolean scratch_folder_manager_project_folder_item_checkout_branch_ref (ScratchFolderManagerProjectFolderItem* self,
                                                                         GgitRef* branch_ref);
VALA_EXTERN void scratch_folder_manager_project_folder_item_new_branch (ScratchFolderManagerProjectFolderItem* self,
                                                            const gchar* branch_name);
VALA_EXTERN gboolean scratch_folder_manager_project_folder_item_is_recent_ref (ScratchFolderManagerProjectFolderItem* self,
                                                                   GgitRef* bref);
VALA_EXTERN GeeArrayList* scratch_folder_manager_project_folder_item_get_all_branch_refs (ScratchFolderManagerProjectFolderItem* self);
VALA_EXTERN gboolean scratch_folder_manager_project_folder_item_has_local_branch_name (ScratchFolderManagerProjectFolderItem* self,
                                                                           const gchar* name);
VALA_EXTERN gboolean scratch_folder_manager_project_folder_item_has_remote_branch_name (ScratchFolderManagerProjectFolderItem* self,
                                                                            const gchar* name);
VALA_EXTERN gboolean scratch_folder_manager_project_folder_item_has_branch_name (ScratchFolderManagerProjectFolderItem* self,
                                                                     const gchar* name,
                                                                     gboolean* found_is_remote);
VALA_EXTERN gchar* scratch_folder_manager_project_folder_item_get_current_branch_name (ScratchFolderManagerProjectFolderItem* self);
VALA_EXTERN gboolean scratch_folder_manager_project_folder_item_is_valid_new_branch_name (ScratchFolderManagerProjectFolderItem* self,
                                                                              const gchar* new_name);
VALA_EXTERN void scratch_folder_manager_project_folder_item_global_search (ScratchFolderManagerProjectFolderItem* self,
                                                               GFile* start_folder,
                                                               const gchar* term,
                                                               gboolean is_explicit,
                                                               GAsyncReadyCallback _callback_,
                                                               gpointer _user_data_);
VALA_EXTERN void scratch_folder_manager_project_folder_item_global_search_finish (ScratchFolderManagerProjectFolderItem* self,
                                                                      GAsyncResult* _res_);
VALA_EXTERN GType scratch_services_vc_status_get_type (void) G_GNUC_CONST ;
VALA_EXTERN void scratch_folder_manager_project_folder_item_refresh_diff (ScratchFolderManagerProjectFolderItem* self,
                                                              GeeHashMap** line_status_map,
                                                              const gchar* doc_path);
VALA_EXTERN GType scratch_services_monitored_repository_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesMonitoredRepository, g_object_unref)
VALA_EXTERN ScratchServicesMonitoredRepository* scratch_folder_manager_project_folder_item_get_monitored_repo (ScratchFolderManagerProjectFolderItem* self);
VALA_EXTERN gboolean scratch_folder_manager_project_folder_item_get_is_git_repo (ScratchFolderManagerProjectFolderItem* self);
VALA_EXTERN gpointer scratch_comment_toggler_ref (gpointer instance);
VALA_EXTERN void scratch_comment_toggler_unref (gpointer instance);
VALA_EXTERN GParamSpec* scratch_param_spec_comment_toggler (const gchar* name,
                                                const gchar* nick,
                                                const gchar* blurb,
                                                GType object_type,
                                                GParamFlags flags);
VALA_EXTERN void scratch_value_set_comment_toggler (GValue* value,
                                        gpointer v_object);
VALA_EXTERN void scratch_value_take_comment_toggler (GValue* value,
                                         gpointer v_object);
VALA_EXTERN gpointer scratch_value_get_comment_toggler (const GValue* value);
VALA_EXTERN GType scratch_comment_toggler_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchCommentToggler, scratch_comment_toggler_unref)
VALA_EXTERN gboolean scratch_comment_toggler_language_has_comments (GtkSourceLanguage* lang);
VALA_EXTERN void scratch_comment_toggler_toggle_comment (GtkSourceBuffer* buffer);
VALA_EXTERN ScratchCommentToggler* scratch_comment_toggler_new (void);
VALA_EXTERN ScratchCommentToggler* scratch_comment_toggler_construct (GType object_type);
VALA_EXTERN GType scratch_services_document_states_get_type (void) G_GNUC_CONST ;
VALA_EXTERN ScratchServicesDocument* scratch_services_document_new (GSimpleActionGroup* actions,
                                                        GFile* file);
VALA_EXTERN ScratchServicesDocument* scratch_services_document_construct (GType object_type,
                                                              GSimpleActionGroup* actions,
                                                              GFile* file);
VALA_EXTERN void scratch_services_document_init_tab (ScratchServicesDocument* self,
                                         HdyTabPage* tab);
VALA_EXTERN void scratch_services_document_toggle_changed_handlers (ScratchServicesDocument* self,
                                                        gboolean enabled);
VALA_EXTERN void scratch_services_document_open (ScratchServicesDocument* self,
                                     gboolean force,
                                     GAsyncReadyCallback _callback_,
                                     gpointer _user_data_);
VALA_EXTERN void scratch_services_document_open_finish (ScratchServicesDocument* self,
                                            GAsyncResult* _res_);
VALA_EXTERN void scratch_services_document_do_close (ScratchServicesDocument* self,
                                         gboolean app_closing,
                                         GAsyncReadyCallback _callback_,
                                         gpointer _user_data_);
VALA_EXTERN gboolean scratch_services_document_do_close_finish (ScratchServicesDocument* self,
                                                    GAsyncResult* _res_);
VALA_EXTERN void scratch_services_document_save_request (ScratchServicesDocument* self);
VALA_EXTERN void scratch_services_document_save_with_hold (ScratchServicesDocument* self,
                                               gboolean force,
                                               gboolean saving_as,
                                               GAsyncReadyCallback _callback_,
                                               gpointer _user_data_);
VALA_EXTERN gboolean scratch_services_document_save_with_hold_finish (ScratchServicesDocument* self,
                                                          GAsyncResult* _res_);
VALA_EXTERN void scratch_services_document_save_as_with_hold (ScratchServicesDocument* self,
                                                  GAsyncReadyCallback _callback_,
                                                  gpointer _user_data_);
VALA_EXTERN gboolean scratch_services_document_save_as_with_hold_finish (ScratchServicesDocument* self,
                                                             GAsyncResult* _res_);
VALA_EXTERN gboolean scratch_services_document_move (ScratchServicesDocument* self,
                                         GFile* new_dest);
VALA_EXTERN void scratch_services_document_focus (ScratchServicesDocument* self);
VALA_EXTERN gchar* scratch_services_document_get_uri (ScratchServicesDocument* self);
VALA_EXTERN gchar* scratch_services_document_get_basename (ScratchServicesDocument* self);
VALA_EXTERN gchar* scratch_services_document_get_directory (ScratchServicesDocument* self);
VALA_EXTERN gchar* scratch_services_document_get_tab_tooltip (ScratchServicesDocument* self);
VALA_EXTERN void scratch_services_document_undo (ScratchServicesDocument* self);
VALA_EXTERN void scratch_services_document_redo (ScratchServicesDocument* self);
VALA_EXTERN void scratch_services_document_revert (ScratchServicesDocument* self);
VALA_EXTERN gchar* scratch_services_document_get_text (ScratchServicesDocument* self);
VALA_EXTERN gchar* scratch_services_document_get_selected_text (ScratchServicesDocument* self,
                                                    gboolean replace_newline);
VALA_EXTERN gchar* scratch_services_document_get_slice (ScratchServicesDocument* self,
                                            gint start_line,
                                            gint start_col,
                                            gint end_line,
                                            gint end_col);
VALA_EXTERN gchar* scratch_services_document_get_language_name (ScratchServicesDocument* self);
VALA_EXTERN gchar* scratch_services_document_get_language_id (ScratchServicesDocument* self);
VALA_EXTERN void scratch_services_document_duplicate_selection (ScratchServicesDocument* self);
VALA_EXTERN void scratch_services_document_check_undoable_actions (ScratchServicesDocument* self);
VALA_EXTERN void scratch_services_document_set_saved_status (ScratchServicesDocument* self,
                                                 gboolean val);
VALA_EXTERN gboolean scratch_services_document_can_write (ScratchServicesDocument* self);
VALA_EXTERN gboolean scratch_services_document_exists (ScratchServicesDocument* self,
                                           GCancellable* cancellable);
VALA_EXTERN void scratch_services_document_show_outline (ScratchServicesDocument* self,
                                             gboolean show);
VALA_EXTERN void scratch_services_document_set_outline_width (ScratchServicesDocument* self,
                                                  gint width);
VALA_EXTERN void scratch_services_document_goto (ScratchServicesDocument* self,
                                     gint line);
VALA_EXTERN GSimpleActionGroup* scratch_services_document_get_actions (ScratchServicesDocument* self);
VALA_EXTERN void scratch_services_document_set_actions (ScratchServicesDocument* self,
                                            GSimpleActionGroup* value);
VALA_EXTERN HdyTabPage* scratch_services_document_get_tab (ScratchServicesDocument* self);
VALA_EXTERN gboolean scratch_services_document_get_is_file_temporary (ScratchServicesDocument* self);
VALA_EXTERN GFile* scratch_services_document_get_file (ScratchServicesDocument* self);
VALA_EXTERN gchar* scratch_services_document_get_project_path (ScratchServicesDocument* self);
VALA_EXTERN const gchar* scratch_services_document_get_title (ScratchServicesDocument* self);
VALA_EXTERN void scratch_services_document_set_title (ScratchServicesDocument* self,
                                          const gchar* value);
VALA_EXTERN const gchar* scratch_services_document_get_mime_type (ScratchServicesDocument* self);
VALA_EXTERN GIcon* scratch_services_document_get_icon (ScratchServicesDocument* self);
VALA_EXTERN void scratch_services_document_set_icon (ScratchServicesDocument* self,
                                         GIcon* value);
VALA_EXTERN gboolean scratch_services_document_get_locked (ScratchServicesDocument* self);
VALA_EXTERN void scratch_services_document_set_locked (ScratchServicesDocument* self,
                                           gboolean value);
VALA_EXTERN gboolean scratch_services_document_get_loading (ScratchServicesDocument* self);
VALA_EXTERN void scratch_services_document_set_loading (ScratchServicesDocument* self,
                                            gboolean value);
VALA_EXTERN gboolean scratch_services_document_get_closing (ScratchServicesDocument* self);
VALA_EXTERN GType scratch_widgets_source_view_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchWidgetsSourceView, g_object_unref)
VALA_EXTERN ScratchWidgetsSourceView* scratch_services_document_get_source_view (ScratchServicesDocument* self);
VALA_EXTERN GType scratch_services_document_manager_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesDocumentManager, g_object_unref)
VALA_EXTERN ScratchServicesDocumentManager* scratch_services_document_manager_get_instance (void);
VALA_EXTERN void scratch_services_document_manager_make_restorable (ScratchServicesDocumentManager* self,
                                                        ScratchServicesDocument* doc);
VALA_EXTERN void scratch_services_document_manager_add_open_document (ScratchServicesDocumentManager* self,
                                                          ScratchServicesDocument* doc);
VALA_EXTERN void scratch_services_document_manager_remove_open_document (ScratchServicesDocumentManager* self,
                                                             ScratchServicesDocument* doc);
VALA_EXTERN void scratch_services_document_manager_remove_project (ScratchServicesDocumentManager* self,
                                                       const gchar* project_path);
VALA_EXTERN GeeCollection* scratch_services_document_manager_take_restorable_paths (ScratchServicesDocumentManager* self,
                                                                        const gchar* project_path);
VALA_EXTERN guint scratch_services_document_manager_restorable_for_project (ScratchServicesDocumentManager* self,
                                                                const gchar* project_path);
VALA_EXTERN guint scratch_services_document_manager_open_for_project (ScratchServicesDocumentManager* self,
                                                          const gchar* project_path);
VALA_EXTERN ScratchServicesDocumentManager* scratch_services_document_manager_new (void);
VALA_EXTERN ScratchServicesDocumentManager* scratch_services_document_manager_construct (GType object_type);
VALA_EXTERN GType scratch_services_file_option_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType scratch_services_file_handler_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesFileHandler, g_object_unref)
VALA_EXTERN gboolean scratch_services_file_handler_can_open_file (GFile* file,
                                                      gboolean* is_folder);
VALA_EXTERN void scratch_services_file_handler_load_content_from_file (GFile* file,
                                                           GAsyncReadyCallback _callback_,
                                                           gpointer _user_data_);
VALA_EXTERN gchar* scratch_services_file_handler_load_content_from_file_finish (GAsyncResult* _res_);
VALA_EXTERN gchar* scratch_services_file_handler_load_content_from_file_sync (GFile* file);
VALA_EXTERN gboolean scratch_services_file_handler_move (const gchar* path,
                                             const gchar* new_path);
VALA_EXTERN gboolean scratch_services_file_handler_move_uri (const gchar* uri,
                                                 const gchar* new_uri);
VALA_EXTERN gboolean scratch_services_file_handler_copy (const gchar* path,
                                             const gchar* new_path);
VALA_EXTERN ScratchServicesFileHandler* scratch_services_file_handler_new (void);
VALA_EXTERN ScratchServicesFileHandler* scratch_services_file_handler_construct (GType object_type);
VALA_EXTERN GType scratch_services_git_manager_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesGitManager, g_object_unref)
VALA_EXTERN ScratchServicesMonitoredRepository* scratch_services_git_manager_get_monitored_repository (const gchar* root_path);
VALA_EXTERN ScratchServicesGitManager* scratch_services_git_manager_get_instance (void);
VALA_EXTERN ScratchServicesMonitoredRepository* scratch_services_git_manager_add_project (ScratchServicesGitManager* self,
                                                                              ScratchFolderManagerProjectFolderItem* root_folder);
VALA_EXTERN void scratch_services_git_manager_remove_project (ScratchServicesGitManager* self,
                                                  ScratchFolderManagerProjectFolderItem* root_folder);
VALA_EXTERN gchar* scratch_services_git_manager_get_default_build_dir (ScratchServicesGitManager* self,
                                                           const gchar* project_path);
VALA_EXTERN void scratch_services_git_manager_clone_repository (ScratchServicesGitManager* self,
                                                    const gchar* uri,
                                                    const gchar* local_folder,
                                                    GAsyncReadyCallback _callback_,
                                                    gpointer _user_data_);
VALA_EXTERN gboolean scratch_services_git_manager_clone_repository_finish (ScratchServicesGitManager* self,
                                                               GAsyncResult* _res_,
                                                               GFile** repo_workdir,
                                                               gchar** _error_);
VALA_EXTERN ScratchServicesGitManager* scratch_services_git_manager_new (void);
VALA_EXTERN ScratchServicesGitManager* scratch_services_git_manager_construct (GType object_type);
VALA_EXTERN GListStore* scratch_services_git_manager_get_project_liststore (ScratchServicesGitManager* self);
VALA_EXTERN const gchar* scratch_services_git_manager_get_active_project_path (ScratchServicesGitManager* self);
VALA_EXTERN void scratch_services_git_manager_set_active_project_path (ScratchServicesGitManager* self,
                                                           const gchar* value);
VALA_EXTERN GType scratch_location_jump_manager_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchLocationJumpManager, g_object_unref)
VALA_EXTERN gboolean scratch_location_jump_manager_has_override_target (ScratchLocationJumpManager* self);
VALA_EXTERN RestoreOverride* scratch_location_jump_manager_create_restore_override (ScratchLocationJumpManager* self);
VALA_EXTERN void scratch_location_jump_manager_clear (ScratchLocationJumpManager* self);
VALA_EXTERN gboolean scratch_location_jump_manager_has_selection_range (ScratchLocationJumpManager* self);
VALA_EXTERN gboolean scratch_location_jump_manager_parse_selection_range_string (ScratchLocationJumpManager* self,
                                                                     const gchar* selection_range_string);
VALA_EXTERN ScratchLocationJumpManager* scratch_location_jump_manager_new (void);
VALA_EXTERN ScratchLocationJumpManager* scratch_location_jump_manager_construct (GType object_type);
VALA_EXTERN GFile* scratch_location_jump_manager_get_file (ScratchLocationJumpManager* self);
VALA_EXTERN void scratch_location_jump_manager_set_file (ScratchLocationJumpManager* self,
                                             GFile* value);
VALA_EXTERN void scratch_location_jump_manager_get_range (ScratchLocationJumpManager* self,
                                              SelectionRange * result);
VALA_EXTERN void scratch_location_jump_manager_set_range (ScratchLocationJumpManager* self,
                                              SelectionRange * value);
VALA_EXTERN ScratchServicesMonitoredRepository* scratch_services_monitored_repository_new (GgitRepository* _git_repo);
VALA_EXTERN ScratchServicesMonitoredRepository* scratch_services_monitored_repository_construct (GType object_type,
                                                                                     GgitRepository* _git_repo);
VALA_EXTERN const gchar* scratch_services_monitored_repository_get_current_branch (ScratchServicesMonitoredRepository* self);
VALA_EXTERN GeeArrayList* scratch_services_monitored_repository_get_all_branch_refs (ScratchServicesMonitoredRepository* self);
VALA_EXTERN gboolean scratch_services_monitored_repository_is_recent_ref (ScratchServicesMonitoredRepository* self,
                                                              GgitRef* bref);
VALA_EXTERN gboolean scratch_services_monitored_repository_has_local_branch_name (ScratchServicesMonitoredRepository* self,
                                                                      const gchar* name);
VALA_EXTERN gboolean scratch_services_monitored_repository_has_remote_branch_name (ScratchServicesMonitoredRepository* self,
                                                                       const gchar* name);
VALA_EXTERN gboolean scratch_services_monitored_repository_is_valid_new_local_branch_name (ScratchServicesMonitoredRepository* self,
                                                                               const gchar* new_name);
VALA_EXTERN gboolean scratch_services_monitored_repository_change_local_branch (ScratchServicesMonitoredRepository* self,
                                                                    const gchar* new_branch_name);
VALA_EXTERN gboolean scratch_services_monitored_repository_checkout_remote_branch (ScratchServicesMonitoredRepository* self,
                                                                       const gchar* target_shorthand);
VALA_EXTERN gboolean scratch_services_monitored_repository_create_new_branch (ScratchServicesMonitoredRepository* self,
                                                                  const gchar* name);
VALA_EXTERN void scratch_services_monitored_repository_update_status_map (ScratchServicesMonitoredRepository* self);
VALA_EXTERN gboolean scratch_services_monitored_repository_path_is_ignored (ScratchServicesMonitoredRepository* self,
                                                                const gchar* path,
                                                                GError** error);
VALA_EXTERN gchar* scratch_services_monitored_repository_get_project_diff (ScratchServicesMonitoredRepository* self,
                                                               GError** error);
VALA_EXTERN void scratch_services_monitored_repository_refresh_diff (ScratchServicesMonitoredRepository* self,
                                                         const gchar* file_path,
                                                         GeeHashMap** line_status_map);
VALA_EXTERN GgitRepository* scratch_services_monitored_repository_get_git_repo (ScratchServicesMonitoredRepository* self);
VALA_EXTERN void scratch_services_monitored_repository_set_git_repo (ScratchServicesMonitoredRepository* self,
                                                         GgitRepository* value);
VALA_EXTERN const gchar* scratch_services_monitored_repository_get_branch_name (ScratchServicesMonitoredRepository* self);
VALA_EXTERN void scratch_services_monitored_repository_set_branch_name (ScratchServicesMonitoredRepository* self,
                                                            const gchar* value);
VALA_EXTERN gboolean scratch_services_monitored_repository_get_head_is_branch (ScratchServicesMonitoredRepository* self);
VALA_EXTERN GeeSet* scratch_services_monitored_repository_get_non_current_entries (ScratchServicesMonitoredRepository* self);
VALA_EXTERN gboolean scratch_services_monitored_repository_get_has_uncommitted (ScratchServicesMonitoredRepository* self);
VALA_EXTERN GType scratch_services_activatable_plugin_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesActivatablePlugin, g_object_unref)
VALA_EXTERN void scratch_services_activatable_plugin_activate (ScratchServicesActivatablePlugin* self);
VALA_EXTERN void scratch_services_activatable_plugin_deactivate (ScratchServicesActivatablePlugin* self);
VALA_EXTERN void scratch_services_activatable_plugin_update_state (ScratchServicesActivatablePlugin* self);
VALA_EXTERN GObject* scratch_services_activatable_plugin_get_object (ScratchServicesActivatablePlugin* self);
VALA_EXTERN void scratch_services_activatable_plugin_set_object (ScratchServicesActivatablePlugin* self,
                                                     GObject* value);
VALA_EXTERN GType scratch_services_interface_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesInterface, g_object_unref)
VALA_EXTERN ScratchServicesInterface* scratch_services_interface_new (ScratchServicesPluginsManager* _manager);
VALA_EXTERN ScratchServicesInterface* scratch_services_interface_construct (GType object_type,
                                                                ScratchServicesPluginsManager* _manager);
VALA_EXTERN ScratchServicesPluginsManager* scratch_services_interface_get_manager (ScratchServicesInterface* self);
VALA_EXTERN GtkWidget* scratch_services_plugins_manager_get_view (ScratchServicesPluginsManager* self);
VALA_EXTERN guint scratch_services_plugins_manager_get_n_plugins (ScratchServicesPluginsManager* self);
VALA_EXTERN ScratchServicesPluginsManager* scratch_services_plugins_manager_new (void);
VALA_EXTERN ScratchServicesPluginsManager* scratch_services_plugins_manager_construct (GType object_type);
VALA_EXTERN ScratchServicesInterface* scratch_services_plugins_manager_get_plugin_iface (ScratchServicesPluginsManager* self);
VALA_EXTERN RestoreOverride* restore_override_new (GFile* file,
                                       SelectionRange* range);
VALA_EXTERN RestoreOverride* restore_override_construct (GType object_type,
                                             GFile* file,
                                             SelectionRange* range);
VALA_EXTERN GFile* restore_override_get_file (RestoreOverride* self);
VALA_EXTERN void restore_override_get_range (RestoreOverride* self,
                                 SelectionRange * result);
VALA_EXTERN GType scratch_scratch_window_state_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType scratch_scratch_draw_spaces_state_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType code_choose_project_button_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeChooseProjectButton, g_object_unref)
VALA_EXTERN CodeChooseProjectButton* code_choose_project_button_new (void);
VALA_EXTERN CodeChooseProjectButton* code_choose_project_button_construct (GType object_type);
VALA_EXTERN gboolean code_choose_project_button_get_cloning_in_progress (CodeChooseProjectButton* self);
VALA_EXTERN void code_choose_project_button_set_cloning_in_progress (CodeChooseProjectButton* self,
                                                         gboolean value);
VALA_EXTERN GType code_choose_project_button_project_row_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeChooseProjectButtonProjectRow, g_object_unref)
VALA_EXTERN CodeChooseProjectButtonProjectRow* code_choose_project_button_project_row_new (const gchar* project_path);
VALA_EXTERN CodeChooseProjectButtonProjectRow* code_choose_project_button_project_row_construct (GType object_type,
                                                                                     const gchar* project_path);
VALA_EXTERN gboolean code_choose_project_button_project_row_get_active (CodeChooseProjectButtonProjectRow* self);
VALA_EXTERN void code_choose_project_button_project_row_set_active (CodeChooseProjectButtonProjectRow* self,
                                                        gboolean value);
VALA_EXTERN const gchar* code_choose_project_button_project_row_get_project_path (CodeChooseProjectButtonProjectRow* self);
VALA_EXTERN const gchar* code_choose_project_button_project_row_get_project_name (CodeChooseProjectButtonProjectRow* self);
VALA_EXTERN GType scratch_widgets_document_view_target_type_get_type (void) G_GNUC_CONST ;
VALA_EXTERN ScratchWidgetsDocumentView* scratch_widgets_document_view_new (ScratchMainWindow* window);
VALA_EXTERN ScratchWidgetsDocumentView* scratch_widgets_document_view_construct (GType object_type,
                                                                     ScratchMainWindow* window);
VALA_EXTERN void scratch_widgets_document_view_transfer_tab_to_new_window (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_close_document (ScratchWidgetsDocumentView* self,
                                                   ScratchServicesDocument* doc);
VALA_EXTERN void scratch_widgets_document_view_close_tabs_to_right (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_close_other_tabs (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_duplicate_tab (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_new_document (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_new_document_from_clipboard (ScratchWidgetsDocumentView* self,
                                                                const gchar* clipboard);
VALA_EXTERN void scratch_widgets_document_view_open_document (ScratchWidgetsDocumentView* self,
                                                  ScratchServicesDocument* doc,
                                                  gboolean focus,
                                                  gint cursor_position,
                                                  SelectionRange* range,
                                                  GAsyncReadyCallback _callback_,
                                                  gpointer _user_data_);
VALA_EXTERN void scratch_widgets_document_view_open_document_finish (ScratchWidgetsDocumentView* self,
                                                         GAsyncResult* _res_);
VALA_EXTERN void scratch_widgets_document_view_next_document (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_previous_document (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_request_placeholder_if_empty (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_update_opened_files_setting (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_update_outline_visible (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_focus (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_restore_closed_tab (ScratchWidgetsDocumentView* self,
                                                       const gchar* path);
VALA_EXTERN ScratchServicesDocument* scratch_widgets_document_view_get_current_document (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_set_current_document (ScratchWidgetsDocumentView* self,
                                                         ScratchServicesDocument* value);
VALA_EXTERN ScratchMainWindow* scratch_widgets_document_view_get_window (ScratchWidgetsDocumentView* self);
VALA_EXTERN gboolean scratch_widgets_document_view_get_outline_visible (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_set_outline_visible (ScratchWidgetsDocumentView* self,
                                                        gboolean value);
VALA_EXTERN gint scratch_widgets_document_view_get_outline_width (ScratchWidgetsDocumentView* self);
VALA_EXTERN void scratch_widgets_document_view_set_outline_width (ScratchWidgetsDocumentView* self,
                                                      gint value);
VALA_EXTERN GType code_format_bar_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeFormatBar, g_object_unref)
VALA_EXTERN void code_format_bar_activate_line_menubutton (CodeFormatBar* self);
VALA_EXTERN void code_format_bar_set_document (CodeFormatBar* self,
                                   ScratchServicesDocument* doc);
VALA_EXTERN void code_format_bar_set_insert_spaces_instead_of_tabs (CodeFormatBar* self,
                                                        gboolean use_spaces);
VALA_EXTERN void code_format_bar_set_tab_width (CodeFormatBar* self,
                                    gint indent_width);
VALA_EXTERN CodeFormatBar* code_format_bar_new (void);
VALA_EXTERN CodeFormatBar* code_format_bar_construct (GType object_type);
VALA_EXTERN gboolean code_format_bar_get_tab_style_set_by_editor_config (CodeFormatBar* self);
VALA_EXTERN void code_format_bar_set_tab_style_set_by_editor_config (CodeFormatBar* self,
                                                         gboolean value);
VALA_EXTERN gboolean code_format_bar_get_tab_width_set_by_editor_config (CodeFormatBar* self);
VALA_EXTERN void code_format_bar_set_tab_width_set_by_editor_config (CodeFormatBar* self,
                                                         gboolean value);
VALA_EXTERN GType scratch_widgets_git_gutter_renderer_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchWidgetsGitGutterRenderer, g_object_unref)
VALA_EXTERN void scratch_widgets_git_gutter_renderer_set_style_scheme (ScratchWidgetsGitGutterRenderer* self,
                                                           GtkSourceStyleScheme* scheme);
VALA_EXTERN ScratchWidgetsGitGutterRenderer* scratch_widgets_git_gutter_renderer_new (void);
VALA_EXTERN ScratchWidgetsGitGutterRenderer* scratch_widgets_git_gutter_renderer_construct (GType object_type);
VALA_EXTERN ScratchFolderManagerProjectFolderItem* scratch_widgets_git_gutter_renderer_get_project (ScratchWidgetsGitGutterRenderer* self);
VALA_EXTERN void scratch_widgets_git_gutter_renderer_set_project (ScratchWidgetsGitGutterRenderer* self,
                                                      ScratchFolderManagerProjectFolderItem* value);
VALA_EXTERN GType scratch_widgets_nav_mark_gutter_renderer_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchWidgetsNavMarkGutterRenderer, g_object_unref)
VALA_EXTERN ScratchWidgetsNavMarkGutterRenderer* scratch_widgets_nav_mark_gutter_renderer_new (GtkTextBuffer* buffer);
VALA_EXTERN ScratchWidgetsNavMarkGutterRenderer* scratch_widgets_nav_mark_gutter_renderer_construct (GType object_type,
                                                                                         GtkTextBuffer* buffer);
VALA_EXTERN void scratch_widgets_nav_mark_gutter_renderer_remove_mark (ScratchWidgetsNavMarkGutterRenderer* self,
                                                           GtkTextMark* mark);
VALA_EXTERN void scratch_widgets_nav_mark_gutter_renderer_get_nearest_marked_line (ScratchWidgetsNavMarkGutterRenderer* self,
                                                                       gint current_line,
                                                                       gboolean before,
                                                                       gint* nearest_line);
VALA_EXTERN gboolean scratch_widgets_nav_mark_gutter_renderer_has_mark_at_line (ScratchWidgetsNavMarkGutterRenderer* self,
                                                                    gint line);
VALA_EXTERN void scratch_widgets_nav_mark_gutter_renderer_delete_mark_at_line (ScratchWidgetsNavMarkGutterRenderer* self,
                                                                   gint line);
VALA_EXTERN void scratch_widgets_nav_mark_gutter_renderer_add_mark_at_line (ScratchWidgetsNavMarkGutterRenderer* self,
                                                                gint line);
VALA_EXTERN GtkTextBuffer* scratch_widgets_nav_mark_gutter_renderer_get_buffer (ScratchWidgetsNavMarkGutterRenderer* self);
VALA_EXTERN gboolean scratch_widgets_nav_mark_gutter_renderer_get_has_marks (ScratchWidgetsNavMarkGutterRenderer* self);
VALA_EXTERN GType scratch_header_bar_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchHeaderBar, g_object_unref)
VALA_EXTERN ScratchHeaderBar* scratch_header_bar_new (void);
VALA_EXTERN ScratchHeaderBar* scratch_header_bar_construct (GType object_type);
VALA_EXTERN void scratch_header_bar_document_available (ScratchHeaderBar* self,
                                            gboolean has_document);
VALA_EXTERN void scratch_header_bar_set_document_focus (ScratchHeaderBar* self,
                                            ScratchServicesDocument* doc);
VALA_EXTERN GtkToggleButton* scratch_header_bar_get_find_button (ScratchHeaderBar* self);
VALA_EXTERN GtkToggleButton* scratch_header_bar_get_outline_button (ScratchHeaderBar* self);
VALA_EXTERN GtkToggleButton* scratch_header_bar_get_sidebar_button (ScratchHeaderBar* self);
VALA_EXTERN GtkToggleButton* scratch_header_bar_get_terminal_button (ScratchHeaderBar* self);
VALA_EXTERN GType code_sidebar_target_type_get_type (void) G_GNUC_CONST ;
VALA_EXTERN void code_sidebar_add_tab (CodeSidebar* self,
                           CodePaneSwitcher* tab);
VALA_EXTERN void code_sidebar_remove_tab (CodeSidebar* self,
                              CodePaneSwitcher* tab);
VALA_EXTERN void code_sidebar_notify_cloning_success (CodeSidebar* self);
VALA_EXTERN void code_sidebar_focus_sidebar (CodeSidebar* self);
VALA_EXTERN CodeSidebar* code_sidebar_new (void);
VALA_EXTERN CodeSidebar* code_sidebar_construct (GType object_type);
VALA_EXTERN GtkStack* code_sidebar_get_stack (CodeSidebar* self);
VALA_EXTERN CodeChooseProjectButton* code_sidebar_get_choose_project_button (CodeSidebar* self);
VALA_EXTERN HdyHeaderBar* code_sidebar_get_headerbar (CodeSidebar* self);
VALA_EXTERN GMenuModel* code_sidebar_get_project_menu_model (CodeSidebar* self);
VALA_EXTERN gboolean code_sidebar_get_cloning_in_progress (CodeSidebar* self);
VALA_EXTERN void code_sidebar_set_cloning_in_progress (CodeSidebar* self,
                                           gboolean value);
VALA_EXTERN const gchar* code_pane_switcher_get_icon_name (CodePaneSwitcher* self);
VALA_EXTERN void code_pane_switcher_set_icon_name (CodePaneSwitcher* self,
                                       const gchar* value);
VALA_EXTERN const gchar* code_pane_switcher_get_title (CodePaneSwitcher* self);
VALA_EXTERN void code_pane_switcher_set_title (CodePaneSwitcher* self,
                                   const gchar* value);
VALA_EXTERN GType code_popover_menu_item_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodePopoverMenuItem, g_object_unref)
VALA_EXTERN CodePopoverMenuItem* code_popover_menu_item_new (const gchar* text);
VALA_EXTERN CodePopoverMenuItem* code_popover_menu_item_construct (GType object_type,
                                                       const gchar* text);
VALA_EXTERN const gchar* code_popover_menu_item_get_text (CodePopoverMenuItem* self);
VALA_EXTERN const gchar* code_popover_menu_item_get_icon_name (CodePopoverMenuItem* self);
VALA_EXTERN void code_popover_menu_item_set_icon_name (CodePopoverMenuItem* self,
                                           const gchar* value);
VALA_EXTERN GType scratch_case_sensitive_mode_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType scratch_widgets_search_bar_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchWidgetsSearchBar, g_object_unref)
VALA_EXTERN ScratchWidgetsSearchBar* scratch_widgets_search_bar_new (ScratchMainWindow* window);
VALA_EXTERN ScratchWidgetsSearchBar* scratch_widgets_search_bar_construct (GType object_type,
                                                               ScratchMainWindow* window);
VALA_EXTERN void scratch_widgets_search_bar_set_text_view (ScratchWidgetsSearchBar* self,
                                               ScratchWidgetsSourceView* text_view);
VALA_EXTERN gboolean scratch_widgets_search_bar_search (ScratchWidgetsSearchBar* self);
VALA_EXTERN void scratch_widgets_search_bar_highlight_none (ScratchWidgetsSearchBar* self);
VALA_EXTERN void scratch_widgets_search_bar_search_previous (ScratchWidgetsSearchBar* self);
VALA_EXTERN void scratch_widgets_search_bar_search_next (ScratchWidgetsSearchBar* self);
VALA_EXTERN void scratch_widgets_search_bar_focus_search_entry (ScratchWidgetsSearchBar* self);
VALA_EXTERN void scratch_widgets_search_bar_focus_replace_entry (ScratchWidgetsSearchBar* self);
VALA_EXTERN void scratch_widgets_search_bar_reveal (ScratchWidgetsSearchBar* self,
                                        gboolean to_reveal);
VALA_EXTERN void scratch_widgets_search_bar_set_search_entry_text (ScratchWidgetsSearchBar* self,
                                                       const gchar* text);
VALA_EXTERN ScratchMainWindow* scratch_widgets_search_bar_get_window (ScratchWidgetsSearchBar* self);
VALA_EXTERN gboolean scratch_widgets_search_bar_get_is_focused (ScratchWidgetsSearchBar* self);
VALA_EXTERN gboolean scratch_widgets_search_bar_get_search_is_focused (ScratchWidgetsSearchBar* self);
VALA_EXTERN gboolean scratch_widgets_search_bar_get_replace_is_focused (ScratchWidgetsSearchBar* self);
VALA_EXTERN gboolean scratch_widgets_search_bar_get_is_revealed (ScratchWidgetsSearchBar* self);
VALA_EXTERN const gchar* scratch_widgets_search_bar_get_entry_text (ScratchWidgetsSearchBar* self);
VALA_EXTERN gboolean scratch_widgets_search_bar_get_has_search_term (ScratchWidgetsSearchBar* self);
VALA_EXTERN guint scratch_widgets_search_bar_get_search_occurrences (ScratchWidgetsSearchBar* self);
VALA_EXTERN guint scratch_widgets_search_bar_get_transition_time_msec (ScratchWidgetsSearchBar* self);
VALA_EXTERN GType code_widgets_cell_renderer_badge_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeWidgetsCellRendererBadge, g_object_unref)
VALA_EXTERN CodeWidgetsCellRendererBadge* code_widgets_cell_renderer_badge_new (void);
VALA_EXTERN CodeWidgetsCellRendererBadge* code_widgets_cell_renderer_badge_construct (GType object_type);
VALA_EXTERN const gchar* code_widgets_cell_renderer_badge_get_text (CodeWidgetsCellRendererBadge* self);
VALA_EXTERN void code_widgets_cell_renderer_badge_set_text (CodeWidgetsCellRendererBadge* self,
                                                const gchar* value);
VALA_EXTERN GType code_widgets_cell_renderer_expander_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeWidgetsCellRendererExpander, g_object_unref)
VALA_EXTERN CodeWidgetsCellRendererExpander* code_widgets_cell_renderer_expander_new (void);
VALA_EXTERN CodeWidgetsCellRendererExpander* code_widgets_cell_renderer_expander_construct (GType object_type);
VALA_EXTERN gint code_widgets_cell_renderer_expander_get_arrow_size (CodeWidgetsCellRendererExpander* self,
                                                         GtkWidget* widget);
VALA_EXTERN gboolean code_widgets_cell_renderer_expander_get_is_category_expander (CodeWidgetsCellRendererExpander* self);
VALA_EXTERN void code_widgets_cell_renderer_expander_set_is_category_expander (CodeWidgetsCellRendererExpander* self,
                                                                   gboolean value);
VALA_EXTERN gboolean code_widgets_source_list_sortable_allow_dnd_sorting (CodeWidgetsSourceListSortable* self);
VALA_EXTERN gint code_widgets_source_list_sortable_compare (CodeWidgetsSourceListSortable* self,
                                                CodeWidgetsSourceListItem* a,
                                                CodeWidgetsSourceListItem* b);
VALA_EXTERN GType code_widgets_source_list_drag_source_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeWidgetsSourceListDragSource, g_object_unref)
VALA_EXTERN gboolean code_widgets_source_list_drag_source_draggable (CodeWidgetsSourceListDragSource* self);
VALA_EXTERN void code_widgets_source_list_drag_source_prepare_selection_data (CodeWidgetsSourceListDragSource* self,
                                                                  GtkSelectionData* selection_data);
VALA_EXTERN GType code_widgets_source_list_drag_dest_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeWidgetsSourceListDragDest, g_object_unref)
VALA_EXTERN gboolean code_widgets_source_list_drag_dest_data_drop_possible (CodeWidgetsSourceListDragDest* self,
                                                                GdkDragContext* context,
                                                                GtkSelectionData* data);
VALA_EXTERN GdkDragAction code_widgets_source_list_drag_dest_data_received (CodeWidgetsSourceListDragDest* self,
                                                                GdkDragContext* context,
                                                                GtkSelectionData* data);
VALA_EXTERN CodeWidgetsSourceList* code_widgets_source_list_new (CodeWidgetsSourceListExpandableItem* root);
VALA_EXTERN CodeWidgetsSourceList* code_widgets_source_list_construct (GType object_type,
                                                           CodeWidgetsSourceListExpandableItem* root);
VALA_EXTERN gboolean code_widgets_source_list_has_item (CodeWidgetsSourceList* self,
                                            CodeWidgetsSourceListItem* item);
VALA_EXTERN void code_widgets_source_list_set_filter_func (CodeWidgetsSourceList* self,
                                               CodeWidgetsSourceListVisibleFunc visible_func,
                                               gpointer visible_func_target,
                                               gboolean refilter);
VALA_EXTERN void code_widgets_source_list_refilter (CodeWidgetsSourceList* self);
VALA_EXTERN gboolean code_widgets_source_list_is_item_expanded (CodeWidgetsSourceList* self,
                                                    CodeWidgetsSourceListItem* item);
VALA_EXTERN gboolean code_widgets_source_list_start_editing_item (CodeWidgetsSourceList* self,
                                                      CodeWidgetsSourceListItem* item);
VALA_EXTERN void code_widgets_source_list_stop_editing (CodeWidgetsSourceList* self);
VALA_EXTERN void code_widgets_source_list_enable_drag_source (CodeWidgetsSourceList* self,
                                                  GtkTargetEntry* src_entries,
                                                  gint src_entries_length1);
VALA_EXTERN void code_widgets_source_list_disable_drag_source (CodeWidgetsSourceList* self);
VALA_EXTERN void code_widgets_source_list_enable_drag_dest (CodeWidgetsSourceList* self,
                                                GtkTargetEntry* dest_entries,
                                                gint dest_entries_length1,
                                                GdkDragAction actions);
VALA_EXTERN void code_widgets_source_list_disable_drag_dest (CodeWidgetsSourceList* self);
VALA_EXTERN gboolean code_widgets_source_list_scroll_to_item (CodeWidgetsSourceList* self,
                                                  CodeWidgetsSourceListItem* item,
                                                  gboolean expand_parents,
                                                  gboolean use_align,
                                                  gfloat row_align);
VALA_EXTERN CodeWidgetsSourceListItem* code_widgets_source_list_get_previous_item (CodeWidgetsSourceList* self,
                                                                       CodeWidgetsSourceListItem* reference);
VALA_EXTERN CodeWidgetsSourceListItem* code_widgets_source_list_get_next_item (CodeWidgetsSourceList* self,
                                                                   CodeWidgetsSourceListItem* reference);
VALA_EXTERN CodeWidgetsSourceListItem* code_widgets_source_list_get_first_child (CodeWidgetsSourceList* self,
                                                                     CodeWidgetsSourceListExpandableItem* parent);
VALA_EXTERN CodeWidgetsSourceListItem* code_widgets_source_list_get_last_child (CodeWidgetsSourceList* self,
                                                                    CodeWidgetsSourceListExpandableItem* parent);
VALA_EXTERN guint code_widgets_source_list_get_n_visible_children (CodeWidgetsSourceList* self,
                                                       CodeWidgetsSourceListExpandableItem* parent);
VALA_EXTERN void code_widgets_source_list_grab_focus (CodeWidgetsSourceList* self);
VALA_EXTERN CodeWidgetsSourceListExpandableItem* code_widgets_source_list_get_root (CodeWidgetsSourceList* self);
VALA_EXTERN void code_widgets_source_list_set_root (CodeWidgetsSourceList* self,
                                        CodeWidgetsSourceListExpandableItem* value);
VALA_EXTERN CodeWidgetsSourceListItem* code_widgets_source_list_get_selected (CodeWidgetsSourceList* self);
VALA_EXTERN void code_widgets_source_list_set_selected (CodeWidgetsSourceList* self,
                                            CodeWidgetsSourceListItem* value);
VALA_EXTERN PangoEllipsizeMode code_widgets_source_list_get_ellipsize_mode (CodeWidgetsSourceList* self);
VALA_EXTERN void code_widgets_source_list_set_ellipsize_mode (CodeWidgetsSourceList* self,
                                                  PangoEllipsizeMode value);
VALA_EXTERN gboolean code_widgets_source_list_get_editing (CodeWidgetsSourceList* self);
VALA_EXTERN void code_widgets_source_list_set_activate_on_single_click (CodeWidgetsSourceList* self,
                                                            gboolean value);
VALA_EXTERN CodeWidgetsSourceListItem* code_widgets_source_list_item_new (const gchar* name);
VALA_EXTERN CodeWidgetsSourceListItem* code_widgets_source_list_item_construct (GType object_type,
                                                                    const gchar* name);
VALA_EXTERN GMenu* code_widgets_source_list_item_get_context_menu (CodeWidgetsSourceListItem* self);
VALA_EXTERN CodeWidgetsSourceListExpandableItem* code_widgets_source_list_item_get_parent (CodeWidgetsSourceListItem* self);
VALA_EXTERN const gchar* code_widgets_source_list_item_get_name (CodeWidgetsSourceListItem* self);
VALA_EXTERN void code_widgets_source_list_item_set_name (CodeWidgetsSourceListItem* self,
                                             const gchar* value);
VALA_EXTERN const gchar* code_widgets_source_list_item_get_tooltip (CodeWidgetsSourceListItem* self);
VALA_EXTERN void code_widgets_source_list_item_set_tooltip (CodeWidgetsSourceListItem* self,
                                                const gchar* value);
VALA_EXTERN const gchar* code_widgets_source_list_item_get_markup (CodeWidgetsSourceListItem* self);
VALA_EXTERN void code_widgets_source_list_item_set_markup (CodeWidgetsSourceListItem* self,
                                               const gchar* value);
VALA_EXTERN const gchar* code_widgets_source_list_item_get_badge (CodeWidgetsSourceListItem* self);
VALA_EXTERN void code_widgets_source_list_item_set_badge (CodeWidgetsSourceListItem* self,
                                              const gchar* value);
VALA_EXTERN gboolean code_widgets_source_list_item_get_editable (CodeWidgetsSourceListItem* self);
VALA_EXTERN void code_widgets_source_list_item_set_editable (CodeWidgetsSourceListItem* self,
                                                 gboolean value);
VALA_EXTERN gboolean code_widgets_source_list_item_get_visible (CodeWidgetsSourceListItem* self);
VALA_EXTERN void code_widgets_source_list_item_set_visible (CodeWidgetsSourceListItem* self,
                                                gboolean value);
VALA_EXTERN gboolean code_widgets_source_list_item_get_selectable (CodeWidgetsSourceListItem* self);
VALA_EXTERN void code_widgets_source_list_item_set_selectable (CodeWidgetsSourceListItem* self,
                                                   gboolean value);
VALA_EXTERN GIcon* code_widgets_source_list_item_get_icon (CodeWidgetsSourceListItem* self);
VALA_EXTERN void code_widgets_source_list_item_set_icon (CodeWidgetsSourceListItem* self,
                                             GIcon* value);
VALA_EXTERN GIcon* code_widgets_source_list_item_get_activatable (CodeWidgetsSourceListItem* self);
VALA_EXTERN void code_widgets_source_list_item_set_activatable (CodeWidgetsSourceListItem* self,
                                                    GIcon* value);
VALA_EXTERN const gchar* code_widgets_source_list_item_get_activatable_tooltip (CodeWidgetsSourceListItem* self);
VALA_EXTERN void code_widgets_source_list_item_set_activatable_tooltip (CodeWidgetsSourceListItem* self,
                                                            const gchar* value);
VALA_EXTERN CodeWidgetsSourceListExpandableItem* code_widgets_source_list_expandable_item_new (const gchar* name);
VALA_EXTERN CodeWidgetsSourceListExpandableItem* code_widgets_source_list_expandable_item_construct (GType object_type,
                                                                                         const gchar* name);
VALA_EXTERN gboolean code_widgets_source_list_expandable_item_contains (CodeWidgetsSourceListExpandableItem* self,
                                                            CodeWidgetsSourceListItem* item);
VALA_EXTERN void code_widgets_source_list_expandable_item_add (CodeWidgetsSourceListExpandableItem* self,
                                                   CodeWidgetsSourceListItem* item);
VALA_EXTERN void code_widgets_source_list_expandable_item_remove (CodeWidgetsSourceListExpandableItem* self,
                                                      CodeWidgetsSourceListItem* item);
VALA_EXTERN void code_widgets_source_list_expandable_item_clear (CodeWidgetsSourceListExpandableItem* self);
VALA_EXTERN void code_widgets_source_list_expandable_item_expand_all (CodeWidgetsSourceListExpandableItem* self,
                                                          gboolean inclusive,
                                                          gboolean recursive);
VALA_EXTERN void code_widgets_source_list_expandable_item_collapse_all (CodeWidgetsSourceListExpandableItem* self,
                                                            gboolean inclusive,
                                                            gboolean recursive);
VALA_EXTERN void code_widgets_source_list_expandable_item_expand_with_parents (CodeWidgetsSourceListExpandableItem* self);
VALA_EXTERN void code_widgets_source_list_expandable_item_collapse_with_parents (CodeWidgetsSourceListExpandableItem* self);
VALA_EXTERN gboolean code_widgets_source_list_expandable_item_get_collapsible (CodeWidgetsSourceListExpandableItem* self);
VALA_EXTERN void code_widgets_source_list_expandable_item_set_collapsible (CodeWidgetsSourceListExpandableItem* self,
                                                               gboolean value);
VALA_EXTERN gboolean code_widgets_source_list_expandable_item_get_expanded (CodeWidgetsSourceListExpandableItem* self);
VALA_EXTERN void code_widgets_source_list_expandable_item_set_expanded (CodeWidgetsSourceListExpandableItem* self,
                                                            gboolean value);
VALA_EXTERN guint code_widgets_source_list_expandable_item_get_n_children (CodeWidgetsSourceListExpandableItem* self);
VALA_EXTERN GeeCollection* code_widgets_source_list_expandable_item_get_children (CodeWidgetsSourceListExpandableItem* self);
VALA_EXTERN ScratchApplication* scratch_widgets_source_view_application;
VALA_EXTERN ScratchWidgetsSourceView* scratch_widgets_source_view_new (void);
VALA_EXTERN ScratchWidgetsSourceView* scratch_widgets_source_view_construct (GType object_type);
VALA_EXTERN void scratch_widgets_source_view_change_syntax_highlight_from_file (ScratchWidgetsSourceView* self,
                                                                    GFile* file);
VALA_EXTERN void scratch_widgets_source_view_go_to_line (ScratchWidgetsSourceView* self,
                                             gint line,
                                             gint offset);
VALA_EXTERN gchar* scratch_widgets_source_view_get_selected_text (ScratchWidgetsSourceView* self,
                                                      gboolean replace_new_line);
VALA_EXTERN void scratch_widgets_source_view_duplicate_selection (ScratchWidgetsSourceView* self);
VALA_EXTERN void scratch_widgets_source_view_sort_selected_lines (ScratchWidgetsSourceView* self);
VALA_EXTERN void scratch_widgets_source_view_clear_selected_lines (ScratchWidgetsSourceView* self);
VALA_EXTERN void scratch_widgets_source_view_select_range (ScratchWidgetsSourceView* self,
                                               SelectionRange* range);
VALA_EXTERN void scratch_widgets_source_view_set_text (ScratchWidgetsSourceView* self,
                                           const gchar* text,
                                           gboolean opening);
VALA_EXTERN gchar* scratch_widgets_source_view_get_text (ScratchWidgetsSourceView* self);
VALA_EXTERN void scratch_widgets_source_view_add_mark_at_cursor (ScratchWidgetsSourceView* self);
VALA_EXTERN void scratch_widgets_source_view_goto_previous_mark (ScratchWidgetsSourceView* self);
VALA_EXTERN void scratch_widgets_source_view_goto_next_mark (ScratchWidgetsSourceView* self);
VALA_EXTERN void scratch_widgets_source_view_schedule_refresh (ScratchWidgetsSourceView* self);
VALA_EXTERN GFile* scratch_widgets_source_view_get_location (ScratchWidgetsSourceView* self);
VALA_EXTERN void scratch_widgets_source_view_set_location (ScratchWidgetsSourceView* self,
                                               GFile* value);
VALA_EXTERN ScratchFolderManagerProjectFolderItem* scratch_widgets_source_view_get_project (ScratchWidgetsSourceView* self);
VALA_EXTERN void scratch_widgets_source_view_set_project (ScratchWidgetsSourceView* self,
                                              ScratchFolderManagerProjectFolderItem* value);
VALA_EXTERN GSimpleActionGroup* scratch_widgets_source_view_get_actions (ScratchWidgetsSourceView* self);
VALA_EXTERN GtkSourceLanguage* scratch_widgets_source_view_get_language (ScratchWidgetsSourceView* self);
VALA_EXTERN void scratch_widgets_source_view_set_language (ScratchWidgetsSourceView* self,
                                               GtkSourceLanguage* value);
VALA_EXTERN gint scratch_widgets_source_view_get_cursor_position (ScratchWidgetsSourceView* self);
VALA_EXTERN void scratch_widgets_source_view_set_cursor_position (ScratchWidgetsSourceView* self,
                                                      gint value);
VALA_EXTERN GType code_terminal_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeTerminal, g_object_unref)
VALA_EXTERN void code_terminal_change_location (CodeTerminal* self,
                                    const gchar* dir);
VALA_EXTERN void code_terminal_save_settings (CodeTerminal* self);
VALA_EXTERN void code_terminal_increment_size (CodeTerminal* self);
VALA_EXTERN void code_terminal_decrement_size (CodeTerminal* self);
VALA_EXTERN void code_terminal_set_default_font_size (CodeTerminal* self);
VALA_EXTERN CodeTerminal* code_terminal_new (void);
VALA_EXTERN CodeTerminal* code_terminal_construct (GType object_type);
VALA_EXTERN VteTerminal* code_terminal_get_terminal (CodeTerminal* self);
VALA_EXTERN GSimpleActionGroup* code_terminal_get_actions (CodeTerminal* self);
VALA_EXTERN GType code_welcome_view_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodeWelcomeView, g_object_unref)
VALA_EXTERN CodeWelcomeView* code_welcome_view_new (ScratchMainWindow* window);
VALA_EXTERN CodeWelcomeView* code_welcome_view_construct (GType object_type,
                                              ScratchMainWindow* window);
VALA_EXTERN ScratchMainWindow* code_welcome_view_get_window (CodeWelcomeView* self);
VALA_EXTERN GType scratch_services_symbol_type_get_type (void) G_GNUC_CONST ;
VALA_EXTERN const gchar* scratch_services_symbol_type_to_string (ScratchServicesSymbolType self);
VALA_EXTERN GType scratch_services_symbol_item_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesSymbolItem, g_object_unref)
VALA_EXTERN ScratchServicesSymbolType scratch_services_symbol_item_get_symbol_type (ScratchServicesSymbolItem* self);
VALA_EXTERN void scratch_services_symbol_item_set_symbol_type (ScratchServicesSymbolItem* self,
                                                   ScratchServicesSymbolType value);
VALA_EXTERN GType scratch_services_symbol_outline_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesSymbolOutline, g_object_unref)
VALA_EXTERN ScratchServicesSymbolType* scratch_services_symbol_outline_filters;
VALA_EXTERN gint scratch_services_symbol_outline_filters_length1;
VALA_EXTERN GtkWidget* scratch_services_symbol_outline_get_widget (ScratchServicesSymbolOutline* self);
VALA_EXTERN void scratch_services_symbol_outline_before_parse (ScratchServicesSymbolOutline* self);
VALA_EXTERN void scratch_services_symbol_outline_after_parse (ScratchServicesSymbolOutline* self);
VALA_EXTERN void scratch_services_symbol_outline_parse_symbols (ScratchServicesSymbolOutline* self);
VALA_EXTERN void scratch_services_symbol_outline_add_tooltips (ScratchServicesSymbolOutline* self,
                                                   CodeWidgetsSourceListExpandableItem* root);
VALA_EXTERN gboolean scratch_services_symbol_outline_filter_func (ScratchServicesSymbolOutline* self,
                                                      GObject* item);
VALA_EXTERN void scratch_services_symbol_outline_schedule_refilter (ScratchServicesSymbolOutline* self);
VALA_EXTERN void scratch_services_symbol_outline_set_up_css (ScratchServicesSymbolOutline* self);
VALA_EXTERN void scratch_services_symbol_outline_update_style_scheme (ScratchServicesSymbolOutline* self,
                                                          GtkSourceStyleScheme* style_scheme);
VALA_EXTERN ScratchServicesSymbolOutline* scratch_services_symbol_outline_new (void);
VALA_EXTERN ScratchServicesSymbolOutline* scratch_services_symbol_outline_construct (GType object_type);
VALA_EXTERN ScratchServicesDocument* scratch_services_symbol_outline_get_doc (ScratchServicesSymbolOutline* self);
VALA_EXTERN void scratch_services_symbol_outline_set_tool_box_sensitive (ScratchServicesSymbolOutline* self,
                                                             gboolean value);
VALA_EXTERN GType scratch_services_vala_symbol_item_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesValaSymbolItem, g_object_unref)
VALA_EXTERN ScratchServicesValaSymbolItem* scratch_services_vala_symbol_item_new (ValaSymbol* symbol,
                                                                      const gchar* _tooltip);
VALA_EXTERN ScratchServicesValaSymbolItem* scratch_services_vala_symbol_item_construct (GType object_type,
                                                                            ValaSymbol* symbol,
                                                                            const gchar* _tooltip);
VALA_EXTERN gboolean scratch_services_vala_symbol_item_compare_symbol (ScratchServicesValaSymbolItem* self,
                                                           ValaSymbol* comp_symbol);
VALA_EXTERN ValaSymbol* scratch_services_vala_symbol_item_get_symbol (ScratchServicesValaSymbolItem* self);
VALA_EXTERN GType scratch_services_vala_symbol_outline_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesValaSymbolOutline, g_object_unref)
VALA_EXTERN ScratchServicesValaSymbolOutline* scratch_services_vala_symbol_outline_new (ScratchServicesDocument* _doc);
VALA_EXTERN ScratchServicesValaSymbolOutline* scratch_services_vala_symbol_outline_construct (GType object_type,
                                                                                  ScratchServicesDocument* _doc);
VALA_EXTERN GType report_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (Report, vala_report_unref)
VALA_EXTERN Report* report_new (void);
VALA_EXTERN Report* report_construct (GType object_type);
VALA_EXTERN GType code_plugins_vala_symbol_resolver_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CodePluginsValaSymbolResolver, vala_code_visitor_unref)
VALA_EXTERN GeeTreeSet* code_plugins_vala_symbol_resolver_get_properties_fields (CodePluginsValaSymbolResolver* self);
VALA_EXTERN GeeTreeSet* code_plugins_vala_symbol_resolver_get_symbols (CodePluginsValaSymbolResolver* self);
VALA_EXTERN void code_plugins_vala_symbol_resolver_clear (CodePluginsValaSymbolResolver* self);
VALA_EXTERN CodePluginsValaSymbolResolver* code_plugins_vala_symbol_resolver_new (void);
VALA_EXTERN CodePluginsValaSymbolResolver* code_plugins_vala_symbol_resolver_construct (GType object_type);
VALA_EXTERN GType scratch_services_ctags_symbol_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesCtagsSymbol, g_object_unref)
VALA_EXTERN ScratchServicesCtagsSymbol* scratch_services_ctags_symbol_new (ScratchServicesDocument* doc,
                                                               const gchar* name,
                                                               gint line,
                                                               GIcon* _icon,
                                                               ScratchServicesSymbolType* s_type);
VALA_EXTERN ScratchServicesCtagsSymbol* scratch_services_ctags_symbol_construct (GType object_type,
                                                                     ScratchServicesDocument* doc,
                                                                     const gchar* name,
                                                                     gint line,
                                                                     GIcon* _icon,
                                                                     ScratchServicesSymbolType* s_type);
VALA_EXTERN ScratchServicesDocument* scratch_services_ctags_symbol_get_doc (ScratchServicesCtagsSymbol* self);
VALA_EXTERN void scratch_services_ctags_symbol_set_doc (ScratchServicesCtagsSymbol* self,
                                            ScratchServicesDocument* value);
VALA_EXTERN gint scratch_services_ctags_symbol_get_line (ScratchServicesCtagsSymbol* self);
VALA_EXTERN void scratch_services_ctags_symbol_set_line (ScratchServicesCtagsSymbol* self,
                                             gint value);
VALA_EXTERN GType scratch_services_ctags_symbol_iter_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesCtagsSymbolIter, g_object_unref)
VALA_EXTERN ScratchServicesCtagsSymbolIter* scratch_services_ctags_symbol_iter_new (const gchar* name,
                                                                        const gchar* parent,
                                                                        gint line,
                                                                        GIcon* icon,
                                                                        ScratchServicesSymbolType* s_type);
VALA_EXTERN ScratchServicesCtagsSymbolIter* scratch_services_ctags_symbol_iter_construct (GType object_type,
                                                                              const gchar* name,
                                                                              const gchar* parent,
                                                                              gint line,
                                                                              GIcon* icon,
                                                                              ScratchServicesSymbolType* s_type);
VALA_EXTERN const gchar* scratch_services_ctags_symbol_iter_get_name (ScratchServicesCtagsSymbolIter* self);
VALA_EXTERN void scratch_services_ctags_symbol_iter_set_name (ScratchServicesCtagsSymbolIter* self,
                                                  const gchar* value);
VALA_EXTERN const gchar* scratch_services_ctags_symbol_iter_get_parent (ScratchServicesCtagsSymbolIter* self);
VALA_EXTERN void scratch_services_ctags_symbol_iter_set_parent (ScratchServicesCtagsSymbolIter* self,
                                                    const gchar* value);
VALA_EXTERN gint scratch_services_ctags_symbol_iter_get_line (ScratchServicesCtagsSymbolIter* self);
VALA_EXTERN void scratch_services_ctags_symbol_iter_set_line (ScratchServicesCtagsSymbolIter* self,
                                                  gint value);
VALA_EXTERN GIcon* scratch_services_ctags_symbol_iter_get_icon (ScratchServicesCtagsSymbolIter* self);
VALA_EXTERN void scratch_services_ctags_symbol_iter_set_icon (ScratchServicesCtagsSymbolIter* self,
                                                  GIcon* value);
VALA_EXTERN GType scratch_services_ctags_symbol_outline_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ScratchServicesCtagsSymbolOutline, g_object_unref)
VALA_EXTERN ScratchServicesCtagsSymbolOutline* scratch_services_ctags_symbol_outline_new (ScratchServicesDocument* _doc);
VALA_EXTERN ScratchServicesCtagsSymbolOutline* scratch_services_ctags_symbol_outline_construct (GType object_type,
                                                                                    ScratchServicesDocument* _doc);

VALA_EXTERN const SelectionRange SELECTION_RANGE_EMPTY;

G_END_DECLS

#endif
