mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00

File extension (.gex) may still change if anything better is proposed. This format is currently just a compressed archive containing the extension data (plug-in, brushes or whatever) and the metadata file. For now, opening such file will simply install it as a new extension, keeping all file permissions and structure. Of course in the future, it will have to trigger a confirmation dialog. Currently the compression used is zip, which is just a first draft. This is not a decisive choice as well. We could use some tarball compressed in whatever other compression algorithm. I use libarchive as a new dependency to support unarchiving as it seems to be a common library (and since it is already used by AppStream-glib anyway, this doesn't add any actual dependency, just make it direct).
32 lines
1.3 KiB
C
32 lines
1.3 KiB
C
/* GIMP - The GNU Image Manipulation Program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
* Copyright (C) 2019 Jehan
|
|
*
|
|
* 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 __FILE_DATA_GEX_H__
|
|
#define __FILE_DATA_GEX_H__
|
|
|
|
|
|
GimpValueArray * file_gex_load_invoker (GimpProcedure *procedure,
|
|
Gimp *gimp,
|
|
GimpContext *context,
|
|
GimpProgress *progress,
|
|
const GimpValueArray *args,
|
|
GError **error);
|
|
|
|
|
|
#endif /* __FILE_DATA_GEX_H__ */
|
|
|