mirror of
https://github.com/anklimov/lighthub
synced 2025-12-09 05:09:49 +03:00
Refactoring #4 (untested)
This commit is contained in:
@@ -5,19 +5,21 @@
|
||||
|
||||
#include <abstractout.h>
|
||||
#include <item.h>
|
||||
#include "colorchannel.h"
|
||||
|
||||
class out_dmx : public abstractOut {
|
||||
class out_dmx : public colorChannel {
|
||||
public:
|
||||
|
||||
out_dmx(Item * _item):abstractOut(_item){};
|
||||
out_dmx(Item * _item):colorChannel(_item){};
|
||||
int Setup() override;
|
||||
int Poll(short cause) override;
|
||||
int Stop() override;
|
||||
int Status() override;
|
||||
int isActive() override;
|
||||
int getChanType() override;
|
||||
int Ctrl(itemCmd cmd, char* subItem=NULL) override;
|
||||
int PixelCtrl(itemCmd cmd);
|
||||
// int Ctrl(itemCmd cmd, char* subItem=NULL) override;
|
||||
// int PixelCtrl(itemCmd cmd) override;
|
||||
virtual int PixelCtrl(itemCmd cmd, char* subItem=NULL, bool show=true ) override;
|
||||
|
||||
protected:
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user