1 /*
2  *  EasyTAG - Tag editor for MP3 and Ogg Vorbis files
3  *  Copyright (C) 2000-2003  Jerome Couderc <easytag@gmail.com>
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18  */
19 
20 
21 #ifndef ET_EASYTAG_H_
22 #define ET_EASYTAG_H_
23 
24 #include "config.h"
25 
26 #include <gtk/gtk.h>
27 
28 #include "et_core.h"
29 
30 /* Variable to force to quit recursive functions (reading dirs) or stop saving files */
31 extern gboolean Main_Stop_Button_Pressed;
32 
33 extern GtkWidget *MainWindow;
34 
35 #ifndef errno
36 extern int errno;
37 #endif
38 
39 /* A flag to start/avoid a new reading while another one is running */
40 extern gboolean ReadingDirectory;
41 
42 
43 /**************
44  * Prototypes *
45  **************/
46 void Action_Save_Selected_Files         (void);
47 void Action_Force_Saving_Selected_Files (void);
48 gint Save_All_Files_With_Answer         (gboolean force_saving_files);
49 
50 void Action_Main_Stop_Button_Pressed    (void);
51 
52 gboolean Read_Directory (const gchar *path);
53 
54 #endif /* __EASYTAG_H__ */
55