2
* Copyright (C) 2000 S�bastien LECACHEUR
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
* Copyright (C) 2000 S�bastien LECACHEUR<br><br>
24
* This Distributed under the terms of the <a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public Licence</a><br><br>
25
* This component was developed for the GWhere project.<br><br>
26
* @abstract This is the interface specification of description plugins.
27
* @author S�bastien LECACHEUR <zero@gwhere.org>
28
* @version 1.0 2003/08/19
30
* @link GWhere Web Site <http://www.gwhere.org>
31
* @author Author <zero@gwhere.org>
35
#ifndef GW_PLUGINS_DESCR_H
36
#define GW_PLUGINS_DESCR_H
40
* @typedef func_get_author_t
41
* The function get the author of the plugin.
42
* @abstract Desription plugin functions specification
43
* @return The author name
45
typedef gchar* (*func_get_author_t)(void);
49
* @typedef func_get_info_t
50
* The function get some information about the plugin.
51
* @abstract Desription plugin functions specification
52
* @return The information
54
typedef gchar* (*func_get_info_t)(void);
58
* @typedef func_get_help_t
59
* The function get some help about the plugin.
60
* @abstract Desription plugin functions specification
63
typedef gchar* (*func_get_help_t)(void);
67
* @typedef func_get_allowed_ext_t
68
* The function get a list for file extention supported by the plugin.
69
* @abstract Desription plugin functions specification
70
* @return The file extensions list separated by <i>"|"</i>.
72
typedef gchar* (*func_get_allowed_ext_t)(void);
76
* @typedef func_get_allowed_name_t
77
* The function get a list for file name supported by the plugin.
78
* @abstract Desription plugin functions specification
79
* @return The file name list separated by <i>"|"</i>.
81
typedef gchar* (*func_get_allowed_name_t)(void);
85
* @typedef func_get_file_descr_t
86
* The function get the file description.
87
* @abstract Desription plugin functions specification
88
* @param file_path file path to make description
89
* @param mode mode to build description
90
* @return The file description.
92
typedef gchar* (*func_get_file_descr_t)(const char* file_path, const char* mode);
96
* @typedef func_get_files_descr_t
97
* The function get the files description.
98
* @abstract Desription plugin functions specification
99
* @param file_path file path to make description
100
* @param mode mode to build description
101
* @return The file description.
103
typedef gchar*** (*func_get_files_descr_t)(const char* file_path, const char* mode);
107
* @typedef func_descr_t
108
* The function get the author of the plugin.
109
* @abstract Desription plugin functions specification
110
* @param file_name file name to get description
112
typedef gchar* (*func_get_parent_descr_t)(const char*, const char*);