mirror of
https://github.com/anklimov/lighthub
synced 2025-12-09 21:29:49 +03:00
21 lines
467 B
C++
21 lines
467 B
C++
|
|
#pragma once
|
|
#include "options.h"
|
|
#ifndef COUNTER_DISABLE
|
|
|
|
#include <abstractout.h>
|
|
#include <item.h>
|
|
|
|
class out_counter : public abstractOut {
|
|
public:
|
|
|
|
out_counter(Item * _item):abstractOut(_item){};
|
|
int Setup() override;
|
|
int Poll(short cause) override;
|
|
int Stop() override;
|
|
int Status() override;
|
|
int getChanType() override;
|
|
int Ctrl(itemCmd cmd, char* subItem=NULL, bool toExecute=true, bool authorized = false) override;
|
|
};
|
|
#endif
|