1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-28 12:09:15 +02:00

Added missing namespace

This commit is contained in:
2021-09-20 21:43:17 +02:00
parent f5078074cf
commit e47cbc9af3
10 changed files with 38 additions and 27 deletions

View File

@ -1,7 +1,7 @@
#include "common/garmin.h"
#include "huffmantable.h"
using namespace Garmin;
using namespace IMG;
static inline quint32 readVUint32(const quint8 *buffer, quint32 bytes)

View File

@ -2,6 +2,7 @@
#include "subfile.h"
#include "huffmantext.h"
using namespace Garmin;
using namespace IMG;
static inline quint32 readVUint32(const quint8 *buffer, quint32 bytes)

View File

@ -2,6 +2,7 @@
#include "rgnfile.h"
#include "lblfile.h"
using namespace Garmin;
using namespace IMG;
enum Charset {Normal, Symbol, Special};

View File

@ -6,6 +6,7 @@
#include "rgnfile.h"
#include "netfile.h"
using namespace Garmin;
using namespace IMG;
static bool readAdjCounts(BitStream4R &bs, QVector<quint16> &cnts, quint16 &mask)

View File

@ -1,6 +1,7 @@
#include "bitstream.h"
#include "nodfile.h"
using namespace Garmin;
using namespace IMG;
#define ARRAY_SIZE(array) \

View File

@ -20,8 +20,9 @@ public:
quint32 id() const {return _id;}
const RectC rect() const
{
return RectC(Coordinates(toWGS32(_rect.left()), toWGS32(_rect.top())),
Coordinates(toWGS32(_rect.right()), toWGS32(_rect.bottom())));
return RectC(Coordinates(Garmin::toWGS32(_rect.left()),
Garmin::toWGS32(_rect.top())), Coordinates(
Garmin::toWGS32(_rect.right()), Garmin::toWGS32(_rect.bottom())));
}
bool isValid() const {return (_lbl != 0);}

View File

@ -8,6 +8,7 @@
#include "nodfile.h"
#include "rgnfile.h"
using namespace Garmin;
using namespace IMG;
#define MASK(bits) ((1U << (bits)) - 1U)

View File

@ -2,6 +2,7 @@
#include "subdiv.h"
#include "trefile.h"
using namespace Garmin;
using namespace IMG;
static inline double RB(qint32 val)