Files
squeezelite-esp32/components/spotify/cspot/bell/include/BellSocket.h
Philippe G 898998efb0 big merge
2021-12-18 21:04:23 -08:00

19 lines
416 B
C++

#ifndef BELL_SOCKET_H
#define BELL_SOCKET_H
#include <string>
namespace bell {
class Socket {
public:
Socket() {};
virtual ~Socket() = default;
virtual void open(std::string url) = 0;
virtual size_t write(uint8_t* buf, size_t len) = 0;
virtual size_t read(uint8_t* buf, size_t len) = 0;
virtual void close() = 0;
};
}
#endif