/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* ezfc-font-config.h
* Copyright (C) 2011-2018 Akira TAGOH
*
* Authors:
* Akira TAGOH <akira@tagoh.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 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 <http://www.gnu.org/licenses/>.
*/
#if !defined (__EZFC_H__INSIDE) && !defined (__EZFC_COMPILATION)
#error "Only <libeasyfc/ezfc.h> can be included directly."
#endif
#ifndef __EZFC_FONT_CONFIG_H__
#define __EZFC_FONT_CONFIG_H__
#include <glib.h>
G_BEGIN_DECLS
/**
* EzfcFontConfig:
*
* All the fields in the <structname>EzfcFontConfig</structname>
* structure are private to the #EzfcFontConfig implementation.
*/
typedef struct _EzfcFontConfig EzfcFontConfig;
EzfcFontConfig *ezfc_font_config_ref (EzfcFontConfig *info);
void ezfc_font_config_unref (EzfcFontConfig *info);
const gchar *ezfc_font_config_get_name (EzfcFontConfig *info);
const gchar *ezfc_font_config_get_description (EzfcFontConfig *info);
gboolean ezfc_font_config_is_enabled (EzfcFontConfig *info);
gboolean ezfc_font_config_is_user_conf (EzfcFontConfig *info);
gboolean ezfc_font_config_is_system_conf (EzfcFontConfig *info);
gboolean ezfc_font_config_is_writable (EzfcFontConfig *info);
gboolean ezfc_font_config_set_enable (EzfcFontConfig *info,
gboolean flag,
GError **error);
GList *ezfc_font_config_get_list (void);
GList *ezfc_font_config_get_list_from (FcConfig *config);
GList *ezfc_font_config_get_config_dirs (void);
GList *ezfc_font_config_get_config_dirs_from(FcConfig *config);
G_END_DECLS
#endif /* __EZFC_FONT_CONFIG_H__ */