2018-02-03 Fred Gleason <fredg@paravelsystems.com>

* Converted rdrender(1) to use RDApplication.
This commit is contained in:
Fred Gleason
2018-02-02 17:20:29 -05:00
parent 01472a86c6
commit 47a792d0aa
3 changed files with 78 additions and 114 deletions

View File

@@ -2,7 +2,7 @@
//
// Render a Rivendell log.
//
// (C) Copyright 2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 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
@@ -28,13 +28,8 @@
#include <qdatetime.h>
#include <qobject.h>
#include <rdconfig.h>
#include <rddb.h>
#include <rdripc.h>
#include <rdsettings.h>
#include <rdstation.h>
#include <rdsystem.h>
#include <rduser.h>
#define RDRENDER_DEFAULT_CHANNELS 2
#define RDRENDER_DEFAULT_FORMAT RDSettings::Pcm16
@@ -67,11 +62,6 @@ class MainObject : public QObject
QTime render_last_time;
bool render_ignore_stops;
RDSettings render_settings;
RDRipc *render_ripc;
RDStation *render_station;
RDSystem *render_system;
RDUser *render_user;
RDConfig *render_config;
};