mp3splt-gtk 0.9.2
Loading...
Searching...
No Matches
split_files_window.h
1/**********************************************************
2 *
3 * mp3splt-gtk -- utility based on mp3splt,
4 * for mp3/ogg splitting without decoding
5 *
6 * Copyright (c) 2005-2014 Alexandru Munteanu - m@ioalex.net
7 *
8 * http://mp3splt.sourceforge.net/
9 *
10 *********************************************************/
11
12/**********************************************************
13 *
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
18 *
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
27 * USA.
28 *
29 *********************************************************/
30
31/**********************************************************
32 * Filename: split_files_window.h
33 *
34 * header of split_files_window.c
35 *********************************************************/
36
37#ifndef SPLIT_FILES_WINDOW_H
38
39#define SPLIT_FILES_WINDOW_H
40
41#include "all_includes.h"
42
44void add_split_row(const gchar *name, ui_state *ui);
45void split_tree_row_activated(GtkTreeView *split_tree,
46 GtkTreePath *arg1, GtkTreeViewColumn *arg2, ui_state *ui);
48gchar *get_filename_from_split_files(gint number, gui_state *gui);
49const gchar *get_real_name_from_filename(const gchar *filename);
50
51#endif
52
const gchar * get_real_name_from_filename(const gchar *filename)
finding the real name of the file, without the path
GtkWidget * create_split_files_frame(ui_state *ui)
creates the split files tab
gchar * get_filename_from_split_files(gint number, gui_state *gui)
return the n_th filename from the split files
void remove_all_split_rows(ui_state *ui)
removes all rows from the split files table
void add_split_row(const gchar *name, ui_state *ui)
add a row to the table
void split_tree_row_activated(GtkTreeView *split_tree, GtkTreePath *arg1, GtkTreeViewColumn *arg2, ui_state *ui)
Issued when a row is clicked on.