mp3splt-gtk
split_files.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 /**********************************************************
00032  * Filename: split_files.h
00033  *
00034  * header of split_files.c
00035  *
00036  *********************************************************/
00037 
00038 GtkTreeModel *create_split_model();
00039 GtkTreeView *create_split_files_tree();
00040 void create_split_columns (GtkTreeView *tree_view);
00041 void remove_all_split_rows ();
00042 guchar *get_real_naame(guchar *filename);
00043 void add_split_row(const gchar *name);
00044 void remove_split_selected_row();
00045 void queue_files_button_event( GtkWidget *widget,
00046                                gpointer   data );
00047 void remove_file_button_event(GtkWidget *widget,
00048                               gpointer data);
00049 GtkWidget *create_queue_buttons_hbox();
00050 void split_tree_row_activated (GtkTreeView *tree_view,
00051                                   GtkTreePath *arg1,
00052                                   GtkTreeViewColumn *arg2,
00053                                   gpointer data);
00054 void split_selection_changed(GtkTreeSelection *selection,
00055                                 gpointer data);
00056 void close_split_popup_window_event( GtkWidget *window,
00057                                         gpointer data );
00058 void handle_split_detached_event (GtkHandleBox *handlebox,
00059                                      GtkWidget *widget,
00060                                      gpointer data);
00061 GtkWidget *create_split_files();
00062 gchar *get_filename_from_split_files(gint number);