mp3splt-gtk 0.9.2
Loading...
Searching...
No Matches
split_mode_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 *
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 * along with this program; if not, write to the Free Software
26 * You should have received a copy of the GNU General Public License
27 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
28 * USA.
29 *
30 *********************************************************/
31
32#ifndef SPLIT_MODE_WINDOW_H
33
34#define SPLIT_MODE_WINDOW_H
35
36#include "all_includes.h"
37
38#define FILE_MODE_SINGLE 1
39#define FILE_MODE_MULTIPLE 0
40
41#define SELECTED_SPLIT_INTERNAL_SHEET 9
42#define SELECTED_SPLIT_CUE_FILE 8
43#define SELECTED_SPLIT_CDDB_FILE 7
44#define SELECTED_SPLIT_TRIM_SILENCE 6
45#define SELECTED_SPLIT_SILENCE 5
46#define SELECTED_SPLIT_EQUAL_TIME_TRACKS 4
47#define SELECTED_SPLIT_NORMAL 3
48#define SELECTED_SPLIT_TIME 2
49#define SELECTED_SPLIT_WRAP 1
50#define SELECTED_SPLIT_ERROR 0
51
52#define NUMBER_OF_SPLIT_MODES 9
53
54void select_split_mode(int split_mode, ui_state *ui);
56
57gint get_selected_split_mode(ui_state *ui);
58void set_selected_split_mode(gint value, ui_state *ui);
59
60#endif
61
void select_split_mode(int split_mode, ui_state *ui)
Set the split mode.
GtkWidget * create_special_split_page(ui_state *ui)
creates the special split page