2018-01-05 Fred Gleason <fredg@paravelsystems.com>

* Fixed bugs that broke the build under Windows.
This commit is contained in:
Fred Gleason
2018-01-05 14:05:06 -05:00
parent c63ae45991
commit 7453013656
5 changed files with 15 additions and 5 deletions

View File

@@ -60,16 +60,20 @@ class RDGroup
void setColor(const QColor &color);
unsigned nextFreeCart(unsigned startcart=0) const;
int freeCartQuantity() const;
#ifndef WIN32
bool reserveCarts(std::vector<unsigned> *cart_nums,
const QString &station_name,RDCart::Type type,
unsigned quan) const;
#endif // WIN32
bool cartNumberValid(unsigned cartnum) const;
QString xml() const;
private:
unsigned GetNextFreeCart(unsigned startcart) const;
#ifndef WIN32
bool ReserveCart(const QString &station_name,RDCart::Type type,
unsigned cart_num) const;
#endif // WIN32
void SetRow(const QString &param,int value) const;
void SetRow(const QString &param,unsigned value) const;
void SetRow(const QString &param,const QString &value) const;