mp3splt-gtk
preferences_tab.h
00001 /**********************************************************
00002  *
00003  * mp3splt-gtk -- utility based on mp3splt,
00004  *                for mp3/ogg splitting without decoding
00005  *
00006  * Copyright (c) 2005-2012 Alexandru Munteanu - io_fx@yahoo.fr
00007  *
00008  * http://mp3splt.sourceforge.net/
00009  *
00010  *********************************************************/
00011 
00012 /**********************************************************
00013  *
00014  * This program is free software; you can redistribute it and/or
00015  * modify it under the terms of the GNU General Public License
00016  * as published by the Free Software Foundation; either version 2
00017  * of the License, or (at your option) any later version.
00018  *
00019  * This program is distributed in the hope that it will be useful,
00020  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00021  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00022  * GNU General Public License for more details.
00023  *
00024  * You should have received a copy of the GNU General Public License
00025  * along with this program; if not, write to the Free Software
00026  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
00027  * USA.
00028  *
00029  *********************************************************/
00030 
00031 /**********************************************************
00032  * Filename: preferences_tab.h
00033  *
00034  * heder of preferences_tab.c
00035  *
00036  *********************************************************/
00037 
00038 #ifndef _PREFERENCES_TAB_H
00039 #define _PREFERENCES_TAB_H
00040 
00041 #define NUMBER_OF_TAGS_MODES 4
00042 
00043 #define NO_TAGS 0
00044 #define DEFAULT_TAGS 1
00045 #define ORIGINAL_FILE_TAGS 2
00046 #define TAGS_FROM_FILENAME 3
00047 
00048 GtkWidget *create_scrolled_window();
00049 gboolean get_checked_output_radio_box();
00050 gint get_checked_tags_version_radio_box();
00051 void radio_box_changed_event(GtkToggleButton *radio_b, gpointer data);
00052 GtkWidget *create_pref_general_page();
00053 void browse_dir_button_event(GtkWidget *widget, gpointer data);
00054 void disable_adjust_spinners();
00055 void enables_adjust_spinners();
00056 void adjust_event(GtkToggleButton *adjust_mode, gpointer user_data);
00057 void frame_event(GtkToggleButton *frame_mode, gpointer user_data);
00058 void set_default_prefs_event(GtkWidget *widget, gpointer data);
00059 void song_dir_button_event(GtkWidget *widget, gpointer data);
00060 GtkWidget *create_pref_splitpoints_page();
00061 GString *get_checked_language();
00062 void save_preferences(GtkWidget *widget, gpointer data);
00063 GtkWidget *create_save_buttons_hbox();
00064 void combo_remove_unavailable_players();
00065 void player_combo_box_event(GtkComboBox *widget, gpointer data);
00066 GtkWidget *create_choose_player_combo();
00067 GtkWidget *create_pref_player_page();
00068 GtkWidget *create_choose_preferences();
00069 void outputdirectory_set(gchar *dirname);
00070 gchar *outputdirectory_get();
00071 #endif