mp3splt-gtk
freedb_tab.h
1 /**********************************************************
2  *
3  * mp3splt-gtk -- utility based on mp3splt,
4  * for mp3/ogg splitting without decoding
5  *
6  * Copyright: (C) 2005-2012 Alexandru Munteanu
7  * Contact: io_fx@yahoo.fr
8  *
9  * http://mp3splt.sourceforge.net/
10  *
11  *********************************************************/
12 
13 /**********************************************************
14  *
15  * This program is free software; you can redistribute it and/or
16  * modify it under the terms of the GNU General Public License
17  * as published by the Free Software Foundation; either version 2
18  * of the License, or (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  * GNU General Public License for more details.
24  *
25  * You should have received a copy of the GNU General Public License
26  * along with this program; if not, write to the Free Software
27  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
28  * USA.
29  *
30  *********************************************************/
31 
32 /**********************************************************
33  * Filename: cddb_tab.h
34  *
35  * this file is the header of cddb_tab.c
36  *
37  *********************************************************/
38 
39 void add_freedb_row(gchar *album_name,
40  gint album_id,
41  gint *revisions,
42  gint revisions_number);
43 GtkTreeModel *create_freedb_model();
44 GtkTreeView *create_freedb_tree();
45 void create_freedb_columns (GtkTreeView *tree_view);
46 void close_freedb_popup_window_event( GtkWidget *window,
47  gpointer data );
48 void handle_freedb_detached_event (GtkHandleBox *handlebox,
49  GtkWidget *widget,
50  gpointer data);
51 void freedb_selection_changed(GtkTreeSelection *selection,
52  gpointer data);
54 gchar *transform_to_utf8(gchar *text,
55  gint free_or_not,
56  gint *must_be_freed);
57 void freedb_search();
58 void freedb_search_button_event( GtkWidget *widget,
59  gpointer data );
60 void freedb_entry_activate_event (GtkEntry *entry,
61  gpointer data);
62 gint write_freedbfile_and_get_splitpoints(int *err);
63 void get_secs_mins_hundr(gfloat time,
64  gint *mins,gint *secs,
65  gint *hundr);
67 void freedb_add_button_clicked_event(GtkButton *button,
68  gpointer data);
69 GtkWidget *create_freedb_frame();
70 
71 void hide_freedb_spinner();
72