mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-29 07:57:32 +01:00
2022-10-28 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDCatchEvent' class. * Reimplemented the 'Deck Event Processed' command using 'RDCatchEvent'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -1595,6 +1595,13 @@ void MainObject::SendMeterLevel(int deck,short levels[2])
|
||||
void MainObject::SendDeckEvent(int deck,int number)
|
||||
{
|
||||
BroadcastCommand(QString::asprintf("DE %d %d!",deck,number));
|
||||
|
||||
RDCatchEvent *evt=new RDCatchEvent();
|
||||
evt->setOperation(RDCatchEvent::DeckEventProcessedOp);
|
||||
evt->setDeckChannel(deck);
|
||||
evt->setEventNumber(number);
|
||||
rda->ripc()->sendCatchEvent(evt);
|
||||
delete evt;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user