Files
salmanoff/commonLibs/livoxProto1/livoxProto1Core.h
T
hayodea 3e9eecc279 livoxProto1: Keep protocol headers pure;
Split the BroadcastListener, DiscoveredDevice and other concerns
out of the protocol header and implementation files.
2025-09-06 22:46:03 -04:00

31 lines
582 B
C++

#ifndef LIVOXPROTO1_CORE_H
#define LIVOXPROTO1_CORE_H
#include <vector>
#include <string>
#include <memory>
#include "livoxProto1Device.h"
#include "broadcastListener.h"
namespace livoxProto1 {
class DeviceManager
{
public:
DeviceManager();
~DeviceManager() = default;
static void deviceGoneAwayInd(const comms::DiscoveredDevice &device);
public:
std::vector<Device> devices;
comms::BroadcastListener broadcastListener;
};
void main(const std::shared_ptr<smo::ComponentThread> &componentThread);
void exit(void);
} // namespace livoxProto1
#endif // LIVOXPROTO1_CORE_H