mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-16 14:13:37 +02:00
* Fixed bug where wrong ID was used for local maintenance * Updated ChangeLog * Added ability to run macros from cart list with "Run Macro" button * Updated ChangeLog * Updated translations * 2018-10-18 Fred Gleason <fredg@paravelsystems.com> * Tweaked the position of buttons on the bottom row of the main screen of rdlibrary(1). * Changed the minimum size of the main screen of rdlibrary to 850x600. * 2018-10-18 Fred Gleason <fredg@paravelsystems.com> * Fixed a regression in rdmaint(8) that broke cut rehashing. * 2018-10-19 Fred Gleason <fredg@paravelsystems.com> * Added code in the %post and %preun rules in 'rivendell.spec.in' to enable and disable the 'rivendell' service. * 2018-10-19 Fred Gleason <fredg@paravelsystems.com> * Modified rdservice(8) to log errors to syslog. * Added an rdservice(8) man page. * Modified 'systemd/rivendell.service.in' to enable automatic start retries. * 2018-10-19 Fred Gleason <fredg@paravelsystems.com> * Fixed a typo that broke generation of the rmlsend(1) man page. * 2018-10-19 Fred Gleason <fredg@paravelsystems.com> * Removed 'build_win32.bat'. * Removed all conditional compilation based on 'WIN32'. * 2018-10-19 Fred Gleason <fredg@paravelsystems.com> * Removed check for Win32 installer from 'configure.ac'. * Removed win32 clauses from '.pro' files.
81 lines
2.5 KiB
C++
81 lines
2.5 KiB
C++
// rdlogedit_conf.h
|
|
//
|
|
// Abstract RDLogedit Configuration
|
|
//
|
|
// (C) Copyright 2002-2005,2016 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
|
|
// published by the Free Software Foundation.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public
|
|
// License along with this program; if not, write to the Free Software
|
|
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
//
|
|
|
|
#ifndef RDLOGEDIT_CONF_H
|
|
#define RDLOGEDIT_CONF_H
|
|
|
|
#include <qsqldatabase.h>
|
|
|
|
#include <rdsettings.h>
|
|
#include <rdlog_line.h>
|
|
|
|
class RDLogeditConf
|
|
{
|
|
public:
|
|
RDLogeditConf(const QString &station);
|
|
QString station() const;
|
|
int inputCard() const;
|
|
void setInputCard(int input) const;
|
|
int inputPort() const;
|
|
void setInputPort(int input) const;
|
|
int outputCard() const;
|
|
void setOutputCard(int output) const;
|
|
int outputPort() const;
|
|
void setOutputPort(int input) const;
|
|
unsigned format() const;
|
|
void setFormat(unsigned format) const;
|
|
unsigned layer() const;
|
|
void setLayer(unsigned layer) const;
|
|
unsigned bitrate() const;
|
|
void setBitrate(unsigned rate) const;
|
|
bool enableSecondStart() const;
|
|
void setEnableSecondStart(bool state) const;
|
|
unsigned defaultChannels() const;
|
|
void setDefaultChannels(unsigned chans) const;
|
|
unsigned maxLength() const;
|
|
void setMaxLength(unsigned length) const;
|
|
unsigned tailPreroll() const;
|
|
void setTailPreroll(unsigned length) const;
|
|
unsigned startCart() const;
|
|
void setStartCart(unsigned cartnum) const;
|
|
unsigned endCart() const;
|
|
void setEndCart(unsigned cartnum) const;
|
|
unsigned recStartCart() const;
|
|
void setRecStartCart(unsigned cartnum) const;
|
|
unsigned recEndCart() const;
|
|
void setRecEndCart(unsigned cartnum) const;
|
|
int trimThreshold() const;
|
|
void setTrimThreshold(int level);
|
|
int ripperLevel() const;
|
|
void setRipperLevel(int level);
|
|
RDLogLine::TransType defaultTransType() const;
|
|
void setDefaultTransType(RDLogLine::TransType type);
|
|
void getSettings(RDSettings *s) const;
|
|
|
|
private:
|
|
void SetRow(const QString ¶m,int value) const;
|
|
void SetRow(const QString ¶m,unsigned value) const;
|
|
void SetRow(const QString ¶m,bool value) const;
|
|
QString lib_station;
|
|
};
|
|
|
|
|
|
#endif // RDLOGEDIT_CONF_H
|