mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-13 08:05:55 +01:00
2018-03-21 Fred Gleason <fredg@paravelsystems.com>
* Added support for cart notifications to Full Disc Ripper in rdlibrary(1).
This commit is contained in:
@@ -20,15 +20,6 @@
|
||||
|
||||
#include "rdnotification.h"
|
||||
|
||||
RDNotification::RDNotification(RDNotification::Type type,
|
||||
RDNotification::Action action,unsigned cartnum)
|
||||
{
|
||||
notify_type=type;
|
||||
notify_action=action;
|
||||
notify_id=QVariant(cartnum);
|
||||
}
|
||||
|
||||
|
||||
RDNotification::RDNotification(Type type,Action action,const QVariant &id)
|
||||
{
|
||||
notify_type=type;
|
||||
|
||||
@@ -30,7 +30,6 @@ class RDNotification
|
||||
enum Type {NullType=0,CartType=1,LastType=2};
|
||||
enum Action {NoAction=0,AddAction=1,DeleteAction=2,ModifyAction=3,
|
||||
LastAction=4};
|
||||
RDNotification(Type type,Action action,unsigned cartnum);
|
||||
RDNotification(Type type,Action action,const QVariant &id);
|
||||
RDNotification();
|
||||
Type type() const;
|
||||
|
||||
Reference in New Issue
Block a user