1 /*****************************************************************
2  * gmerlin - a general purpose multimedia framework and applications
3  *
4  * Copyright (c) 2001 - 2011 Members of the Gmerlin project
5  * gmerlin-general@lists.sourceforge.net
6  * http://gmerlin.sourceforge.net
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20  * *****************************************************************/
21 
22 
23 typedef struct bg_gtk_log_window_s bg_gtk_log_window_t;
24 
25 bg_gtk_log_window_t *
26 bg_gtk_log_window_create(void (*close_callback)(bg_gtk_log_window_t*, void*),
27                          void * data,
28                          const char * app_name);
29 
30 void bg_gtk_log_window_destroy(bg_gtk_log_window_t *);
31 
32 void
33 bg_gtk_log_window_show(bg_gtk_log_window_t *);
34 
35 void bg_gtk_log_window_hide(bg_gtk_log_window_t *);
36 
37 const bg_parameter_info_t *
38 bg_gtk_log_window_get_parameters(bg_gtk_log_window_t *);
39 
40 void bg_gtk_log_window_set_parameter(void * data, const char * name,
41                                      const bg_parameter_value_t * v);
42 
43 int bg_gtk_log_window_get_parameter(void * data, const char * name,
44                                     bg_parameter_value_t * val);
45 
46 void bg_gtk_log_window_flush(bg_gtk_log_window_t *);
47 
48 const char * bg_gtk_log_window_last_error(bg_gtk_log_window_t *);
49