summaryrefslogtreecommitdiff
path: root/src/helpers.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2009-02-11 09:45:23 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2009-02-11 09:45:23 +0100
commit29301aefd5a9dae4163c29db37a069eef8004cc8 (patch)
tree7c261150544334b7edbe4f6616ab576e096fd12a /src/helpers.cpp
parentcecb11c3d83671296818cb74aa02de63cb04d4da (diff)
move all externs to global.h
Diffstat (limited to 'src/helpers.cpp')
-rw-r--r--src/helpers.cpp16
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)