mp3splt-gtk 0.9.2
Loading...
Searching...
No Matches
preferences_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: 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
55GString *get_checked_language(ui_state *ui);
57void set_output_directory_and_update_ui(gchar *dirname, ui_state *ui);
59void refresh_preview_drawing_areas(gui_state *gui);
60void update_example_output_dir_for_single_file_split(ui_state *ui);
61
62#endif
63
gchar * get_output_directory(ui_state *ui)
Get the name of the output directory.
GString * get_checked_language(ui_state *ui)
Returns the selected language.
GtkWidget * create_choose_preferences(ui_state *ui)
creates the preferences tab
gboolean get_checked_output_radio_box(ui_state *ui)
returns the checked output radio box
gint get_checked_tags_version_radio_box(gui_state *gui)
returns the checked tags radio box