/* * * GeanyGenDoc, a Geany plugin to ease generation of source code documentation * Copyright (C) 2010-2011 Colomban Wendling * * 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 . * */ #ifndef H_GGD_FILE_TYPE_MANAGER #define H_GGD_FILE_TYPE_MANAGER #include #include #include "ggd-file-type.h" #include "ggd-utils.h" #include "ggd-macros.h" G_BEGIN_DECLS GGD_BEGIN_PLUGIN_API void ggd_file_type_manager_init (void); void ggd_file_type_manager_uninit (void); void ggd_file_type_manager_add_file_type (GgdFileType *filetype); gchar *ggd_file_type_manager_get_conf_path (GeanyFiletypeID id, GgdPerms perms_req, GError **error); GgdFileType *ggd_file_type_manager_load_file_type (GeanyFiletypeID id); GgdFileType *ggd_file_type_manager_get_file_type (GeanyFiletypeID ft); GgdDocType *ggd_file_type_manager_get_doc_type (GeanyFiletypeID ft, const gchar *docname); GGD_END_PLUGIN_API G_END_DECLS #endif /* guard */