diff options
Diffstat (limited to 'lib/gs-plugin-job-private.h')
-rw-r--r-- | lib/gs-plugin-job-private.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/lib/gs-plugin-job-private.h b/lib/gs-plugin-job-private.h new file mode 100644 index 0000000..863d890 --- /dev/null +++ b/lib/gs-plugin-job-private.h @@ -0,0 +1,44 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- + * vi:set noexpandtab tabstop=8 shiftwidth=8: + * + * Copyright (C) 2017 Richard Hughes <richard@hughsie.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#pragma once + +#include <glib-object.h> + +#include "gs-plugin-job.h" + +G_BEGIN_DECLS + +GsPluginAction gs_plugin_job_get_action (GsPluginJob *self); +GsPluginRefineFlags gs_plugin_job_get_filter_flags (GsPluginJob *self); +GsAppListFilterFlags gs_plugin_job_get_dedupe_flags (GsPluginJob *self); +GsPluginRefineFlags gs_plugin_job_get_refine_flags (GsPluginJob *self); +gboolean gs_plugin_job_has_refine_flags (GsPluginJob *self, + GsPluginRefineFlags refine_flags); +void gs_plugin_job_add_refine_flags (GsPluginJob *self, + GsPluginRefineFlags refine_flags); +void gs_plugin_job_remove_refine_flags (GsPluginJob *self, + GsPluginRefineFlags refine_flags); +gboolean gs_plugin_job_get_interactive (GsPluginJob *self); +guint gs_plugin_job_get_max_results (GsPluginJob *self); +guint gs_plugin_job_get_timeout (GsPluginJob *self); +guint64 gs_plugin_job_get_age (GsPluginJob *self); +GsAppListSortFunc gs_plugin_job_get_sort_func (GsPluginJob *self); +gpointer gs_plugin_job_get_sort_func_data (GsPluginJob *self); +const gchar *gs_plugin_job_get_search (GsPluginJob *self); +GsApp *gs_plugin_job_get_app (GsPluginJob *self); +GsAppList *gs_plugin_job_get_list (GsPluginJob *self); +GFile *gs_plugin_job_get_file (GsPluginJob *self); +GsPlugin *gs_plugin_job_get_plugin (GsPluginJob *self); +GsCategory *gs_plugin_job_get_category (GsPluginJob *self); +AsReview *gs_plugin_job_get_review (GsPluginJob *self); +gchar *gs_plugin_job_to_string (GsPluginJob *self); +void gs_plugin_job_set_action (GsPluginJob *self, + GsPluginAction action); + +G_END_DECLS |