mp3splt-gtk

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

preferences_window.h
1 /**********************************************************
2 *
3 * mp3splt-gtk -- utility based on mp3splt,
4 * for mp3/ogg splitting without decoding
5 *
6 * Copyright (c) 2005-2013 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: preferences_window.h
33 *
34 * heder of preferences_window.c
35 *********************************************************/
36
37 #ifndef PREFERENCES_WINDOW_H
38
39 #define PREFERENCES_WINDOW_H
40
41 #include "all_includes.h"
42
43 #define NUMBER_OF_TAGS_MODES 4
44
45 #define NO_TAGS 0
46 #define DEFAULT_TAGS 1
47 #define ORIGINAL_FILE_TAGS 2
48 #define TAGS_FROM_FILENAME 3
49
50 #define CUSTOM_DIRECTORY 0
51 #define FILE_DIRECTORY 1
52
53 gboolean get_checked_output_radio_box(ui_state *ui);
54 gint get_checked_tags_version_radio_box(gui_state *gui);
55 GString *get_checked_language(ui_state *ui);
56 GtkWidget *create_choose_preferences(ui_state *ui);
57 void set_output_directory_and_update_ui(gchar *dirname, ui_state *ui);
58 gchar *get_output_directory(ui_state *ui);
59 void refresh_preview_drawing_areas(gui_state *gui);
60 void update_example_output_dir_for_single_file_split(ui_state *ui);
61
62 #endif
63
get_output_directory
gchar * get_output_directory(ui_state *ui)
Get the name of the output directory.
Definition: preferences_window.c:189
get_checked_language
GString * get_checked_language(ui_state *ui)
Returns the selected language.
Definition: preferences_window.c:50
ui_state
Definition: ui_types.h:485
get_checked_tags_version_radio_box
gint get_checked_tags_version_radio_box(gui_state *gui)
returns the checked tags radio box
Definition: preferences_window.c:90
get_checked_output_radio_box
gboolean get_checked_output_radio_box(ui_state *ui)
returns the checked output radio box
Definition: preferences_window.c:71
gui_state
Definition: ui_types.h:202
create_choose_preferences
GtkWidget * create_choose_preferences(ui_state *ui)
creates the preferences tab
Definition: preferences_window.c:1366