mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-18 11:36:14 +02:00
Add AuthInfo class
This commit is contained in:
parent
c784e2526f
commit
878fecdc35
9 changed files with 215 additions and 29 deletions
|
@ -19,12 +19,14 @@
|
|||
#pragma once
|
||||
|
||||
// local headers
|
||||
#include "authinfo.hpp"
|
||||
|
||||
// 3rd party headers
|
||||
|
||||
// standard headers
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
|
||||
|
@ -63,6 +65,8 @@ public:
|
|||
/// Sends a message to the client (asynchronous)
|
||||
virtual void sendAsync(const std::string& message) = 0;
|
||||
|
||||
std::optional<AuthInfo> authinfo;
|
||||
|
||||
protected:
|
||||
ControlMessageReceiver* message_receiver_;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue