Remove useless dependencies in headers.

This commit is contained in:
vng 2011-04-26 05:05:28 +03:00 committed by Alex Zolotarev
parent 3e8ab21776
commit af8f12d99b
3 changed files with 11 additions and 10 deletions

View file

@ -5,8 +5,8 @@
#include "../geometry/pointu_to_uint64.hpp"
#include "../coding/file_reader.hpp"
#include "../coding/file_writer.hpp"
//#include "../coding/file_reader.hpp"
//#include "../coding/file_writer.hpp"
#include "../std/algorithm.hpp"
#include "../std/bind.hpp"
@ -19,12 +19,14 @@
namespace serial
{
CodingParams::CodingParams() : m_BasePointUint64(0), m_CoordBits(30)
CodingParams::CodingParams()
: m_BasePointUint64(0), m_CoordBits(30)
{
m_BasePoint = m2::Uint64ToPointU(m_BasePointUint64);
}
CodingParams::CodingParams(uint8_t coordBits, m2::PointD const & pt) : m_CoordBits(coordBits)
CodingParams::CodingParams(uint8_t coordBits, m2::PointD const & pt)
: m_CoordBits(coordBits)
{
m_BasePoint = PointD2PointU(pt.x, pt.y, coordBits);
m_BasePointUint64 = m2::PointUToUint64(m_BasePoint);

View file

@ -15,12 +15,11 @@
#include "../base/buffer_vector.hpp"
#include "../base/stl_add.hpp"
class FileReader;
class FileWriter;
//class FileReader;
//class FileWriter;
namespace serial
{
class CodingParams
{
public:

View file

@ -9,9 +9,9 @@
#include <QtCore/QTimer>
class FileReader;
template <class> class ReaderSource;
class FileWriter;
//class FileReader;
//template <class> class ReaderSource;
//class FileWriter;
namespace storage { class Storage; }