mp3splt-gtk
utilities.h
00001 /**********************************************************
00002  *
00003  * mp3splt-gtk -- utility based on mp3splt,
00004  *                for mp3/ogg splitting without decoding
00005  *
00006  * Copyright (c) 2005-2012 Alexandru Munteanu - io_fx@yahoo.fr
00007  *
00008  * http://mp3splt.sourceforge.net/
00009  *
00010  *********************************************************/
00011 
00012 /**********************************************************
00013  *
00014  * This program is free software; you can redistribute it and/or
00015  * modify it under the terms of the GNU General Public License
00016  * as published by the Free Software Foundation; either version 2
00017  * of the License, or (at your option) any later version.
00018  *
00019  * This program is distributed in the hope that it will be useful,
00020  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00021  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00022  * GNU General Public License for more details.
00023  *
00024  * You should have received a copy of the GNU General Public License
00025  * along with this program; if not, write to the Free Software
00026  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
00027  * USA.
00028  *
00029  *********************************************************/
00030 
00031 #ifndef UTILITIES_H
00032 
00033 gint check_if_we_have_player();
00034 gint is_filee(const gchar *fname);
00035 gint check_if_dir(guchar *fname);
00036 gint check_if_file(guchar *fname);
00037 void print_processing_file(gchar *filename);
00038 void remove_end_slash_n_r_from_filename(char *filename);
00039 gchar *transform_to_utf8(gchar *text, gint free_or_not,
00040     gint *must_be_freed);
00041 
00042 gboolean container_has_child(GtkContainer *cont, GtkWidget *my_child);
00043 
00044 #define UTILITIES_H
00045 #endif
00046