summaryrefslogtreecommitdiff
path: root/src/eom-jobs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-jobs.c')
-rw-r--r--src/eom-jobs.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/eom-jobs.c b/src/eom-jobs.c
index 1974ee4..05da974 100644
--- a/src/eom-jobs.c
+++ b/src/eom-jobs.c
@@ -351,6 +351,15 @@ eom_job_model_class_init (EomJobModelClass *class)
EOM_JOB_CLASS (class)->run = eom_job_model_run;
}
+/**
+ * eom_job_model_new:
+ * @file_list: (element-type GFile): a #GFile list
+ *
+ * Creates a new #EomJob model.
+ *
+ * Returns: A #EomJob.
+ */
+
EomJob *
eom_job_model_new (GSList *file_list)
{
@@ -477,6 +486,16 @@ eom_job_transform_class_init (EomJobTransformClass *class)
EOM_JOB_CLASS (class)->run = eom_job_transform_run;
}
+/**
+ * eom_job_transform_new:
+ * @images: (element-type EomImage) (transfer full): a #EomImage list
+ * @trans: a #EogTransform
+ *
+ * Create a new #EomJob for image transformation.
+ *
+ * Returns: A #EomJob.
+ */
+
EomJob *
eom_job_transform_new (GList *images, EomTransform *trans)
{
@@ -564,6 +583,15 @@ eom_job_save_class_init (EomJobSaveClass *class)
EOM_JOB_CLASS (class)->run = eom_job_save_run;
}
+/**
+ * eom_job_save_new:
+ * @images: (element-type EomImage) (transfer full): a #EomImage list
+ *
+ * Creates a new #EomJob for image saving.
+ *
+ * Returns: A #EomJob.
+ */
+
EomJob *
eom_job_save_new (GList *images)
{
@@ -684,6 +712,17 @@ eom_job_save_as_class_init (EomJobSaveAsClass *class)
EOM_JOB_CLASS (class)->run = eom_job_save_as_run;
}
+/**
+ * eom_job_save_as_new:
+ * @images: (element-type EomImage) (transfer full): a #EomImage list
+ * @converter: a URI converter
+ * file: a #GFile
+ *
+ * Creates a new #EomJob for save as.
+ *
+ * Returns: A #EomJob.
+ */
+
EomJob *
eom_job_save_as_new (GList *images, EomURIConverter *converter, GFile *file)
{
@@ -833,6 +872,16 @@ eom_job_copy_class_init (EomJobCopyClass *class)
EOM_JOB_CLASS (class)->run = eom_job_copy_run;
}
+/**
+ * eom_job_copy_new:
+ * @images: (element-type EomImage) (transfer full): a #EomImage list
+ * @dest: destination path for the copy
+ *
+ * Creates a new #EomJob.
+ *
+ * Returns: A #EomJob.
+ */
+
EomJob *
eom_job_copy_new (GList *images, const gchar *dest)
{