Back to index

gcompris  8.2.2
gc_net.h
Go to the documentation of this file.
00001 /* gcompris - gc_net.h
00002  *
00003  * Time-stamp: <2000/07/16 00:32:26 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 
00026 #ifndef GC_NET_H
00027 #define GC_NET_H
00028 
00029 #include <gdk-pixbuf/gdk-pixbuf.h>
00030 
00031 /* libxml includes */
00032 #include <libxml/tree.h>
00033 #include <libxml/parser.h>
00034 
00035 #include "gcompris.h"
00036 
00037 void gc_net_init();
00038 GdkPixbuf *gc_net_load_pixmap(const char *url);
00039 xmlDocPtr  gc_net_load_xml(const char *url);
00040 gchar     *gc_net_get_url_from_file(const gchar *format, ...);
00041 gboolean   gc_net_is_url(const char *url);
00042 GSList    *gc_net_dir_read_name(const gchar* dir, const gchar *ext);
00043 
00044 #endif