mirror of
https://github.com/1technophile/OpenMQTTGateway.git
synced 2026-03-05 06:54:26 +01:00
- Introduced RFConfiguration class to encapsulate RF settings and operations. - Replaced direct usage of RFConfig structure with iRFConfig instance across multiple files. - Updated frequency handling in actuatorSomfy, gatewayPilight, gatewayRF, and gatewayRF2 to use iRFConfig. - Modified webUI to interact with iRFConfig for RF settings management. - Removed deprecated RFConfig structure and related functions. - Enhanced JSON handling for RF configuration loading and saving. - Improved logging for RF configuration operations.
15 lines
271 B
C++
15 lines
271 B
C++
#ifndef RFRECEIVER_H
|
|
#define RFRECEIVER_H
|
|
#pragma once
|
|
|
|
class RFReceiver {
|
|
public:
|
|
virtual ~RFReceiver() = default;
|
|
|
|
// Pure virtual methods
|
|
virtual void enable() = 0;
|
|
virtual void disable() = 0;
|
|
virtual int getReceiverID() const = 0;
|
|
};
|
|
|
|
#endif // RFRECEIVER_H
|