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

* Converted rdcheckcuts(1) to use RDApplication.
This commit is contained in:
Fred Gleason
2018-01-31 14:26:46 -05:00
parent 3d380c4de8
commit 4de82a23eb
3 changed files with 26 additions and 57 deletions

View File

@@ -2,7 +2,7 @@
//
// Check Rivendell Cuts for Valid Audio
//
// (C) Copyright 2012,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2012,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
@@ -25,8 +25,6 @@
#include <qobject.h>
#include <rdconfig.h>
#define RDCHECKCUTS_USAGE "[options]\n\nCheck Rivendell cuts for valid audio\n\n--group=<group-name>\n Name of group to scan. This option may be given multiple times.\n If no group is specified, then ALL groups will be scanned.\n"
class MainObject : public QObject
@@ -37,9 +35,6 @@ class MainObject : public QObject
private:
void RenderCut(const QString &cutname);
bool ValidateGroup(const QString &groupname,std::vector<QString> *cutnames);
bool OpenDb();
void CloseDb();
RDConfig *cut_config;
};