Blame libeasyfc/ezfc-font-config.h

Packit ff063f
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
Packit ff063f
/* 
Packit ff063f
 * ezfc-font-config.h
Packit ff063f
 * Copyright (C) 2011-2018 Akira TAGOH
Packit ff063f
 * 
Packit ff063f
 * Authors:
Packit ff063f
 *   Akira TAGOH  <akira@tagoh.org>
Packit ff063f
 * 
Packit ff063f
 * This library is free software: you can redistribute it and/or
Packit ff063f
 * modify it under the terms of the GNU Lesser General Public
Packit ff063f
 * License as published by the Free Software Foundation, either
Packit ff063f
 * version 3 of the License, or (at your option) any later version.
Packit ff063f
 * 
Packit ff063f
 * This library is distributed in the hope that it will be useful,
Packit ff063f
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit ff063f
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit ff063f
 * GNU General Public License for more details.
Packit ff063f
 * 
Packit ff063f
 * You should have received a copy of the GNU General Public License
Packit ff063f
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
Packit ff063f
 */
Packit ff063f
#if !defined (__EZFC_H__INSIDE) && !defined (__EZFC_COMPILATION)
Packit ff063f
#error "Only <libeasyfc/ezfc.h> can be included directly."
Packit ff063f
#endif
Packit ff063f
Packit ff063f
#ifndef __EZFC_FONT_CONFIG_H__
Packit ff063f
#define __EZFC_FONT_CONFIG_H__
Packit ff063f
Packit ff063f
#include <glib.h>
Packit ff063f
Packit ff063f
G_BEGIN_DECLS
Packit ff063f
Packit ff063f
/**
Packit ff063f
 * ezfc_font_config_t:
Packit ff063f
 *
Packit ff063f
 * All the fields in the <structname>ezfc_font_config_t</structname>
Packit ff063f
 * structure are private to the #ezfc_font_config_t implementation.
Packit ff063f
 */
Packit ff063f
typedef struct _ezfc_font_config_t	ezfc_font_config_t;
Packit ff063f
Packit ff063f
ezfc_font_config_t *ezfc_font_config_ref                 (ezfc_font_config_t *info);
Packit ff063f
void                ezfc_font_config_unref               (ezfc_font_config_t *info);
Packit ff063f
const gchar        *ezfc_font_config_get_name            (ezfc_font_config_t *info);
Packit ff063f
const gchar        *ezfc_font_config_get_description     (ezfc_font_config_t *info);
Packit ff063f
gboolean            ezfc_font_config_is_enabled          (ezfc_font_config_t *info);
Packit ff063f
gboolean            ezfc_font_config_is_user_conf        (ezfc_font_config_t *info);
Packit ff063f
gboolean            ezfc_font_config_is_system_conf      (ezfc_font_config_t *info);
Packit ff063f
gboolean            ezfc_font_config_is_writable         (ezfc_font_config_t *info);
Packit ff063f
gboolean            ezfc_font_config_set_enable          (ezfc_font_config_t *info,
Packit ff063f
                                                          gboolean            flag,
Packit ff063f
                                                          GError             **error);
Packit ff063f
GList              *ezfc_font_config_get_list            (void);
Packit ff063f
GList              *ezfc_font_config_get_list_from       (FcConfig           *config);
Packit ff063f
GList              *ezfc_font_config_get_config_dirs     (void);
Packit ff063f
GList              *ezfc_font_config_get_config_dirs_from(FcConfig           *config);
Packit ff063f
Packit ff063f
G_END_DECLS
Packit ff063f
Packit ff063f
#endif /* __EZFC_FONT_CONFIG_H__ */