livoxProto1: Keep protocol headers pure;

Split the BroadcastListener, DiscoveredDevice and other concerns
out of the protocol header and implementation files.
This commit is contained in:
2025-09-06 08:50:07 -04:00
parent 5e4597b8fd
commit 3e9eecc279
8 changed files with 350 additions and 284 deletions
+2 -11
View File
@@ -4,20 +4,11 @@
#include <vector>
#include <string>
#include <memory>
#include "livoxProto1Protocol.h"
#include "livoxProto1Device.h"
#include "broadcastListener.h"
namespace livoxProto1 {
class Device
{
public:
Device(const comms::DiscoveredDevice &discoveredDevice);
~Device() = default;
public:
comms::DiscoveredDevice discoveredDevice;
};
class DeviceManager
{
public: