mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 07:05:48 +01:00
2018-03-21 Fred Gleason <fredg@paravelsystems.com>
* Added support for cart notifications to the RDXport service. * Added support for notifications to rdimport(1).
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <rdaudioconvert.h>
|
||||
#include <rdformpost.h>
|
||||
#include <rdnotification.h>
|
||||
#include <rdsvc.h>
|
||||
|
||||
#define RDXPORT_CGI_USAGE "\n"
|
||||
@@ -34,10 +35,14 @@
|
||||
|
||||
class Xport : public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
public:
|
||||
enum LockLogOperation {LockLogCreate=0,LockLogUpdate=1,LockLogClear=2};
|
||||
Xport(QObject *parent=0);
|
||||
|
||||
private slots:
|
||||
void ripcConnectedData(bool state);
|
||||
|
||||
private:
|
||||
bool Authenticate();
|
||||
void TryCreateTicket(const QString &name);
|
||||
@@ -81,6 +86,8 @@ class Xport : public QObject
|
||||
QString LogLockXml(bool result,const QString &log_name,const QString &guid,
|
||||
const QString &username,const QString &stationname,
|
||||
const QHostAddress addr) const;
|
||||
void SendNotification(RDNotification::Type type,RDNotification::Action action,
|
||||
const QVariant &id);
|
||||
void Exit(int code);
|
||||
void XmlExit(const QString &msg,int code,
|
||||
const QString &srcfile="",int line=-1,
|
||||
|
||||
Reference in New Issue
Block a user