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 the RDXport service. * Added support for notifications to rdimport(1).
This commit is contained in:
@@ -29,6 +29,14 @@ RDNotification::RDNotification(RDNotification::Type type,
|
||||
}
|
||||
|
||||
|
||||
RDNotification::RDNotification(Type type,Action action,const QVariant &id)
|
||||
{
|
||||
notify_type=type;
|
||||
notify_action=action;
|
||||
notify_id=id;
|
||||
}
|
||||
|
||||
|
||||
RDNotification::RDNotification()
|
||||
{
|
||||
notify_type=RDNotification::NullType;
|
||||
|
||||
@@ -31,6 +31,7 @@ class RDNotification
|
||||
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;
|
||||
void setType(Type type);
|
||||
|
||||
Reference in New Issue
Block a user