mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-20 15:41:23 +01:00
2018-01-31 Fred Gleason <fredg@paravelsystems.com>
* Converted rdairplay(1) to use RDApplication.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Add an entry to the reconciliation table.
|
||||
//
|
||||
// (C) Copyright 2002-2016 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2016-2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -18,15 +18,14 @@
|
||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
//
|
||||
|
||||
#include <qsqldatabase.h>
|
||||
|
||||
#include <rdapplication.h>
|
||||
#include <rdconf.h>
|
||||
#include <rddb.h>
|
||||
#include <rdescape_string.h>
|
||||
#include <rdsvc.h>
|
||||
|
||||
#include <log_traffic.h>
|
||||
#include <globals.h>
|
||||
#include "globals.h"
|
||||
#include "log_traffic.h"
|
||||
|
||||
void LogTraffic(const QString &svcname,const QString &logname,
|
||||
RDLogLine *logline,RDLogLine::PlaySource src,
|
||||
@@ -56,7 +55,7 @@ void LogTraffic(const QString &svcname,const QString &logname,
|
||||
"LOG_NAME=\""+RDEscapeString(logname.utf8())+"\","+
|
||||
QString().sprintf("LOG_ID=%d,",logline->id())+
|
||||
QString().sprintf("CART_NUMBER=%u,",logline->cartNumber())+
|
||||
"STATION_NAME=\""+RDEscapeString(rdstation_conf->name().utf8())+"\","+
|
||||
"STATION_NAME=\""+RDEscapeString(rda->station()->name().utf8())+"\","+
|
||||
"EVENT_DATETIME="+eventDateTimeSQL+","+
|
||||
QString().sprintf("EVENT_TYPE=%d,",action)+
|
||||
QString().sprintf("EVENT_SOURCE=%d,",logline->source())+
|
||||
|
||||
Reference in New Issue
Block a user