replace timeval and time_t with boost::posix_time::ptime

This commit is contained in:
Andrzej Rybczak
2014-08-27 11:14:07 +02:00
parent 7fdace835b
commit b7ceae7273
17 changed files with 75 additions and 78 deletions

View File

@@ -21,8 +21,7 @@
#ifndef NCMPCPP_GLOBAL_H
#define NCMPCPP_GLOBAL_H
#include <sys/time.h>
#include <boost/date_time/posix_time/posix_time.hpp>
#include "mpdpp.h"
#include "screen.h"
@@ -57,7 +56,7 @@ extern bool SeekingInProgress;
extern std::string VolumeState;
// global timer
extern timeval Timer;
extern boost::posix_time::ptime Timer;
}