move all externs to global.h

This commit is contained in:
Andrzej Rybczak
2009-02-11 09:45:23 +01:00
parent cecb11c3d8
commit 29301aefd5
13 changed files with 204 additions and 158 deletions

View File

@@ -19,8 +19,11 @@
***************************************************************************/
#include "display.h"
#include "global.h"
#include "helpers.h"
using Global::Config;
using Global::mPlaylist;
using MPD::Song;
using std::string;
@@ -90,8 +93,6 @@ string Display::Columns(string st)
void Display::TotalPlaylistLength(Window &w)
{
extern Menu<MPD::Song> *mPlaylist;
const int MINUTE = 60;
const int HOUR = 60*MINUTE;
const int DAY = 24*HOUR;