Back to index

gcompris  8.2.2
gc_core.h
Go to the documentation of this file.
00001 /* gcompris - gc_core.h
00002  *
00003  * Time-stamp: <2006/08/20 10:03:53 bruno>
00004  *
00005  * Copyright (C) 2006 Bruno Coudoin
00006  *
00007  * This program is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00020  */
00021 
00025 #ifndef _GC_CORE_H_
00026 #define _GC_CORE_H_
00027 
00029 void gc_help_start (GcomprisBoard *gcomprisBoard);
00030 void gc_help_stop ();
00031 gboolean gc_help_has_board (GcomprisBoard *gcomprisBoard);
00032 
00034 void gc_about_start (void);
00035 void gc_about_stop (void);
00036 
00038 void gc_exit();
00039 void gc_fullscreen_set(gboolean state);
00040 int file_end_with_xml(const gchar *file);
00041 
00043 void gc_menu_load();
00044 void gc_menu_destroy(void);
00045 
00047 void gc_mime_type_load();
00048 
00050 void gc_log_start (GcomprisBoard *gcomprisBoard);
00051 void gc_log_set_key (GcomprisBoard *gcomprisBoard, guint keyval);
00052 
00054 void gc_cache_init(int max_size);
00055 void gc_cache_end();
00056 void gc_cache_clear();
00057 gchar *gc_cache_get(gchar *url);
00058 gchar *gc_cache_insert(const gchar *url, const char *buffer, gssize length);
00059 
00060 #endif