PIKApp/libpika/pikafileprocedure.h

90 lines
3.7 KiB
C
Raw Normal View History

2023-09-26 00:35:21 +02:00
/* 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
*
* pikafileprocedure.h
* Copyright (C) 2019 Michael Natterer <mitch@gimp.org>
*
* This library is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* <https://www.gnu.org/licenses/>.
*/
#ifndef __PIKA_FILE_PROCEDURE_H__
#define __PIKA_FILE_PROCEDURE_H__
#include <libpika/pikaprocedure.h>
G_BEGIN_DECLS
/* For information look into the C source or the html documentation */
2023-10-30 23:55:30 +01:00
#define PIKA_TYPE_FILE_PROCEDURE (pika_file_procedure_get_type ())
G_DECLARE_DERIVABLE_TYPE (PikaFileProcedure, pika_file_procedure, PIKA, FILE_PROCEDURE, PikaProcedure)
2023-09-26 00:35:21 +02:00
struct _PikaFileProcedureClass
{
PikaProcedureClass parent_class;
2023-10-30 23:55:30 +01:00
/* Padding for future expansion */
void (*_pika_reserved1) (void);
void (*_pika_reserved2) (void);
void (*_pika_reserved3) (void);
void (*_pika_reserved4) (void);
void (*_pika_reserved5) (void);
void (*_pika_reserved6) (void);
void (*_pika_reserved7) (void);
void (*_pika_reserved8) (void);
void (*_pika_reserved9) (void);
};
2023-09-26 00:35:21 +02:00
void pika_file_procedure_set_format_name (PikaFileProcedure *procedure,
const gchar *format_name);
const gchar * pika_file_procedure_get_format_name (PikaFileProcedure *procedure);
void pika_file_procedure_set_mime_types (PikaFileProcedure *procedure,
const gchar *mime_types);
const gchar * pika_file_procedure_get_mime_types (PikaFileProcedure *procedure);
void pika_file_procedure_set_extensions (PikaFileProcedure *procedure,
const gchar *extensions);
const gchar * pika_file_procedure_get_extensions (PikaFileProcedure *procedure);
void pika_file_procedure_set_prefixes (PikaFileProcedure *procedure,
const gchar *prefixes);
const gchar * pika_file_procedure_get_prefixes (PikaFileProcedure *procedure);
void pika_file_procedure_set_magics (PikaFileProcedure *procedure,
const gchar *magics);
const gchar * pika_file_procedure_get_magics (PikaFileProcedure *procedure);
void pika_file_procedure_set_priority (PikaFileProcedure *procedure,
gint priority);
gint pika_file_procedure_get_priority (PikaFileProcedure *procedure);
void pika_file_procedure_set_handles_remote
(PikaFileProcedure *procedure,
gboolean handles_remote);
gboolean pika_file_procedure_get_handles_remote
(PikaFileProcedure *procedure);
G_END_DECLS
#endif /* __PIKA_FILE_PROCEDURE_H__ */