#
# Licensed under the GNU Lesser General Public License Version 3
#
# 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 software 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 <http://www.gnu.org/licenses/>.

# must start with wrap
wrap: ascompose
file: AppStreamCompose-1.0.gir

addAliases: start
	public import glib.c.types;
	public import gobject.c.types;
	public import gio.c.types;
	public import appstream.c.types;
	public import gdkpixbuf.c.types;

	public import core.stdc.stdio;
	public import core.stdc.string;
addAliases: end

move: image_format_from_filename Utils

struct: Globals
move: globals_get_tmp_dir Globals getTmpDir
move: globals_get_tmp_dir_create Globals getTmpDirCreate
move: globals_set_tmp_dir Globals setTmpDir
move: globals_get_use_optipng Globals useOptipng
move: globals_set_use_optipng Globals setUseOptipng
move: globals_get_optipng_binary Globals optipngBinary
move: globals_set_optipng_binary Globals setOptipngBinary
move: globals_add_hint_tag Globals addHintTag
move: globals_get_hint_tags Globals getHintTags
move: globals_hint_tag_severity Globals hintTagSeverity
move: globals_hint_tag_explanation Globals hintTagExplanation

struct: Result
class: Result
move: add_hint_v Result addHint
move: add_hint_by_cid_v Result addHintByCid

struct: MetaInfoUtils
move: parse_metainfo_data MetaInfoUtils
move: parse_metainfo_data_simple MetaInfoUtils
move: validate_metainfo_data_for_component MetaInfoUtils
move: parse_desktop_entry_data MetaInfoUtils
