PIKApp/app/plug-in/pikaplugin-proc.h

99 lines
6.3 KiB
C

/* PIKA - Photo and Image Kooker Application
* a rebranding of The GNU Image Manipulation Program (created with heckimp)
* A derived work which may be trivial. However, any changes may be (C)2023 by Aldercone Studio
*
* Original copyright, applying to most contents (license remains unchanged):
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* pikaplugin-proc.h
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef __PIKA_PLUG_IN_PROC_H__
#define __PIKA_PLUG_IN_PROC_H__
gboolean pika_plug_in_set_proc_image_types (PikaPlugIn *plug_in,
const gchar *proc_name,
const gchar *image_types,
GError **error);
gboolean pika_plug_in_set_proc_sensitivity_mask (PikaPlugIn *plug_in,
const gchar *proc_name,
gint sensitivity_mask,
GError **error);
gboolean pika_plug_in_set_proc_menu_label (PikaPlugIn *plug_in,
const gchar *proc_name,
const gchar *menu_label,
GError **error);
gboolean pika_plug_in_add_proc_menu_path (PikaPlugIn *plug_in,
const gchar *proc_name,
const gchar *menu_path,
GError **error);
gboolean pika_plug_in_set_proc_icon (PikaPlugIn *plug_in,
const gchar *proc_name,
PikaIconType type,
const guint8 *data,
gint data_length,
GError **error);
gboolean pika_plug_in_set_proc_help (PikaPlugIn *plug_in,
const gchar *proc_name,
const gchar *blurb,
const gchar *help,
const gchar *help_id,
GError **error);
gboolean pika_plug_in_set_proc_attribution (PikaPlugIn *plug_in,
const gchar *proc_name,
const gchar *authors,
const gchar *copyright,
const gchar *date,
GError **error);
gboolean pika_plug_in_set_file_proc_load_handler (PikaPlugIn *plug_in,
const gchar *proc_name,
const gchar *extensions,
const gchar *prefixes,
const gchar *magics,
GError **error);
gboolean pika_plug_in_set_file_proc_save_handler (PikaPlugIn *plug_in,
const gchar *proc_name,
const gchar *extensions,
const gchar *prefixes,
GError **error);
gboolean pika_plug_in_set_file_proc_priority (PikaPlugIn *plug_in,
const gchar *proc_name,
gint priority,
GError **error);
gboolean pika_plug_in_set_file_proc_mime_types (PikaPlugIn *plug_in,
const gchar *proc_name,
const gchar *mime_types,
GError **error);
gboolean pika_plug_in_set_file_proc_handles_remote (PikaPlugIn *plug_in,
const gchar *proc_name,
GError **error);
gboolean pika_plug_in_set_file_proc_handles_raw (PikaPlugIn *plug_in,
const gchar *proc_name,
GError **error);
gboolean pika_plug_in_set_file_proc_thumb_loader (PikaPlugIn *plug_in,
const gchar *proc_name,
const gchar *thumb_proc,
GError **error);
gboolean pika_plug_in_set_batch_interpreter (PikaPlugIn *plug_in,
const gchar *proc_name,
const gchar *interpreter_name,
GError **error);
#endif /* __PIKA_PLUG_IN_PROC_H__ */