move all externs to global.h
This commit is contained in:
@@ -25,28 +25,17 @@
|
||||
#include "browser.h"
|
||||
#include "charset.h"
|
||||
#include "display.h"
|
||||
#include "global.h"
|
||||
#include "helpers.h"
|
||||
#include "settings.h"
|
||||
#ifdef HAVE_TAGLIB_H
|
||||
# include "tag_editor.h"
|
||||
#endif // HAVE_TAGLIB_H
|
||||
|
||||
using namespace Global;
|
||||
using namespace MPD;
|
||||
using std::string;
|
||||
|
||||
extern Connection *Mpd;
|
||||
|
||||
extern ncmpcpp_config Config;
|
||||
|
||||
extern Menu<Song> *mPlaylist;
|
||||
extern Menu<Item> *mBrowser;
|
||||
|
||||
extern NcmpcppScreen current_screen;
|
||||
|
||||
extern string browsed_dir;
|
||||
|
||||
extern int browsed_dir_scroll_begin;
|
||||
|
||||
namespace
|
||||
{
|
||||
const char *supported_extensions[] = { "wma", "asf", "rm", "mp1", "mp2", "mp3", "mp4", "m4a", "flac", "ogg", "wav", "au", "aiff", "aif", "ac3", "aac", "mpc", "it", "mod", "s3m", "xm", "wv", 0 };
|
||||
|
||||
Reference in New Issue
Block a user