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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user