mp3splt-gtk

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

preferences_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 - io_fx@yahoo.fr
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
27 * USA.
28 *
29 *********************************************************/
30
31 /**********************************************************
32 * Filename: preferences_tab.h
33 *
34 * heder of preferences_tab.c
35 *
36 *********************************************************/
37
38 #ifndef _PREFERENCES_TAB_H
39 #define _PREFERENCES_TAB_H
40
41 #define NUMBER_OF_TAGS_MODES 4
42
43 #define NO_TAGS 0
44 #define DEFAULT_TAGS 1
45 #define ORIGINAL_FILE_TAGS 2
46 #define TAGS_FROM_FILENAME 3
47
48 GtkWidget *create_scrolled_window();
49 gboolean get_checked_output_radio_box();
50 gint get_checked_tags_version_radio_box();
51 void radio_box_changed_event(GtkToggleButton *radio_b, gpointer data);
52 GtkWidget *create_pref_general_page();
53 void browse_dir_button_event(GtkWidget *widget, gpointer data);
54 void disable_adjust_spinners();
55 void enables_adjust_spinners();
56 void adjust_event(GtkToggleButton *adjust_mode, gpointer user_data);
57 void frame_event(GtkToggleButton *frame_mode, gpointer user_data);
58 void set_default_prefs_event(GtkWidget *widget, gpointer data);
59 void song_dir_button_event(GtkWidget *widget, gpointer data);
60 GtkWidget *create_pref_splitpoints_page();
61 GString *get_checked_language();
62 void save_preferences(GtkWidget *widget, gpointer data);
63 GtkWidget *create_save_buttons_hbox();
64 void combo_remove_unavailable_players();
65 void player_combo_box_event(GtkComboBox *widget, gpointer data);
66 GtkWidget *create_choose_player_combo();
67 GtkWidget *create_pref_player_page();
68 GtkWidget *create_choose_preferences();
69 void outputdirectory_set(gchar *dirname);
70 gchar *outputdirectory_get();
71 #endif