xed/xed/xed-dirs.h

61 lines
1.6 KiB
C

/*
* xed-dirs.h
* This file is part of xed
*
* Copyright (C) 2008 Ignacio Casal Quinteiro
*
* 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 2 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, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __XED_DIRS_H__
#define __XED_DIRS_H__
#include <glib.h>
G_BEGIN_DECLS
/* This function must be called before starting xed */
void xed_dirs_init (void);
/* This function must be called before exiting xed */
void xed_dirs_shutdown (void);
const gchar *xed_dirs_get_user_config_dir (void);
const gchar *xed_dirs_get_user_cache_dir (void);
const gchar *xed_dirs_get_user_styles_dir (void);
const gchar *xed_dirs_get_user_plugins_dir (void);
const gchar *xed_dirs_get_xed_data_dir (void);
const gchar *xed_dirs_get_xed_locale_dir (void);
const gchar *xed_dirs_get_xed_lib_dir (void);
const gchar *xed_dirs_get_xed_plugins_dir (void);
const gchar *xed_dirs_get_xed_plugins_data_dir (void);
const gchar *xed_dirs_get_binding_modules_dir (void);
gchar *xed_dirs_get_ui_file (const gchar *file);
G_END_DECLS
#endif /* __XED_DIRS_H__ */