diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2009-02-11 09:45:23 +0100 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2009-02-11 09:45:23 +0100 |
commit | 29301aefd5a9dae4163c29db37a069eef8004cc8 (patch) | |
tree | 7c261150544334b7edbe4f6616ab576e096fd12a /src/helpers.cpp | |
parent | cecb11c3d83671296818cb74aa02de63cb04d4da (diff) |
move all externs to global.h
Diffstat (limited to 'src/helpers.cpp')
-rw-r--r-- | src/helpers.cpp | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/helpers.cpp b/src/helpers.cpp index 96986d7c..b40c3c39 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -22,23 +22,17 @@ #include <iostream> #include "charset.h" +#include "global.h" #include "helpers.h" #include "tag_editor.h" using namespace MPD; +using Global::Config; +using Global::Mpd; +using Global::mPlaylist; +using Global::wFooter; using std::string; -extern Connection *Mpd; - -extern Menu<Song> *mPlaylist; -extern Menu<MPD::Item> *mBrowser; -extern Window *wFooter; - -extern NcmpcppScreen current_screen; - -extern bool search_case_sensitive; -extern bool search_match_to_pattern; - namespace { inline void remove_the_word(string &s) |