Fred Gleason 5935d19ca6 2014-10-09 Fred Gleason <fredg@paravelsystems.com>
* Implemented the 'RDXPORT_COMMAND_AUDIOSTORE' web API call in
	'web/rdxport/audiostore.cpp', 'web/rdxport/rdxport.cpp' and
	'web/rdxport/rdxport.h'.
	* Added an 'RDAudioStore' class in 'lib/rdaudiostore.cpp' and
	'lib/rdaudiostore.h'.
	* Modified the Desk Gauge widget in 'rdlibrary/disk_gauge.cpp'
	and 'rdlibrary/disk_gauge.h' to use the 'RDAudioStore' class
	[fixes GitHub issue #000035].
2014-10-09 19:13:29 -04:00

72 lines
1.7 KiB
C++

// rdxport.h
//
// Rivendell web service portal
//
// (C) Copyright 2010,2014 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 RDXPORT_H
#define RDXPORT_H
#include <qobject.h>
#include <rdconfig.h>
#include <rduser.h>
#include <rdsystem.h>
class Xport : public QObject
{
public:
Xport(QObject *parent=0,const char *name=0);
private:
bool Authenticate();
void Export();
void Import();
void DeleteAudio();
void AddCart();
void ListCarts();
void ListCart();
void EditCart();
void RemoveCart();
void AddCut();
void ListCuts();
void ListCut();
void EditCut();
void RemoveCut();
void ListGroups();
void ListGroup();
void ExportPeaks();
void TrimAudio();
void CopyAudio();
void AudioInfo();
void AudioStore();
void ListLogs();
void ListLog();
void ListServices();
void Exit(int code);
void XmlExit(const QString &str,int code,
RDAudioConvert::ErrorCode err=RDAudioConvert::ErrorOk);
RDFormPost *xport_post;
RDUser *xport_user;
RDConfig *xport_config;
RDSystem *xport_system;
};
#endif // RDXPORT_H