Mercurial > mplayer.hg
comparison gui/dialog/fileselect.c @ 36014:5b85e4510b5f
Add, group and sort #includes, remove unneeded ones.
author | ib |
---|---|
date | Sun, 31 Mar 2013 03:32:17 +0000 |
parents | 72b526dc27a8 |
children | 73652b504ee1 |
comparison
equal
deleted
inserted
replaced
36013:fcc519c99311 | 36014:5b85e4510b5f |
---|---|
14 * You should have received a copy of the GNU General Public License along | 14 * You should have received a copy of the GNU General Public License along |
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., | 15 * with MPlayer; if not, write to the Free Software Foundation, Inc., |
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
17 */ | 17 */ |
18 | 18 |
19 #include <glob.h> | |
19 #include <stdlib.h> | 20 #include <stdlib.h> |
20 #include <stdio.h> | |
21 #include <string.h> | 21 #include <string.h> |
22 #include <strings.h> | 22 #include <strings.h> |
23 #include <sys/stat.h> | 23 #include <sys/stat.h> |
24 #include <glob.h> | |
25 #include <unistd.h> | 24 #include <unistd.h> |
26 | 25 |
27 #include "config.h" | 26 #include "fileselect.h" |
28 #include "gui/ui/actions.h" | 27 #include "dialog.h" |
29 | 28 #include "preferences.h" |
30 #include "pixmaps/up.xpm" | 29 #include "tools.h" |
31 #include "pixmaps/dir.xpm" | 30 #include "pixmaps/dir.xpm" |
32 #include "pixmaps/file.xpm" | 31 #include "pixmaps/file.xpm" |
33 | 32 #include "pixmaps/up.xpm" |
34 #include "gui/app/app.h" | 33 #include "gui/app/app.h" |
34 #include "gui/app/cfg.h" | |
35 #include "gui/app/gui.h" | 35 #include "gui/app/gui.h" |
36 #include "gui/interface.h" | 36 #include "gui/interface.h" |
37 #include "gui/ui/actions.h" | |
37 #include "gui/util/list.h" | 38 #include "gui/util/list.h" |
38 #include "gui/util/mem.h" | 39 #include "gui/util/mem.h" |
39 #include "gui/util/string.h" | 40 #include "gui/util/string.h" |
41 | |
42 #define CFG_OLD_FILESELECT | |
43 #include "gui/app/cfg-old.c" | |
44 | |
45 #include "config.h" | |
40 #include "help_mp.h" | 46 #include "help_mp.h" |
47 #include "libavutil/common.h" | |
41 #include "mpcommon.h" | 48 #include "mpcommon.h" |
42 #include "stream/stream.h" | 49 #include "stream/stream.h" |
43 #include "libavutil/common.h" | |
44 | |
45 #include "dialog.h" | |
46 #include "fileselect.h" | |
47 #include "preferences.h" | |
48 #include "tools.h" | |
49 | |
50 #define CFG_OLD_FILESELECT | |
51 #include "gui/app/cfg-old.c" | |
52 | 50 |
53 #ifndef __linux__ | 51 #ifndef __linux__ |
54 #define get_current_dir_name() getcwd(NULL, PATH_MAX) | 52 #define get_current_dir_name() getcwd(NULL, PATH_MAX) |
55 #else | 53 #else |
56 char *get_current_dir_name(void); | 54 char *get_current_dir_name(void); |