mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 05:27:01 +03:00
big merge
This commit is contained in:
19
components/spotify/cspot/bell/include/BellSocket.h
Normal file
19
components/spotify/cspot/bell/include/BellSocket.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user