mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-23 03:17:39 +02:00
Fix comments
This commit is contained in:
parent
158e88fcb5
commit
9570018cf4
3 changed files with 8 additions and 7 deletions
|
@ -134,9 +134,9 @@ struct Host : public JsonConfigItem
|
|||
|
||||
std::string name; ///< host name
|
||||
std::string mac; ///< mac address
|
||||
std::string os; /// OS
|
||||
std::string arch; /// CPU architecture
|
||||
std::string ip; /// IP address
|
||||
std::string os; ///< OS
|
||||
std::string arch; ///< CPU architecture
|
||||
std::string ip; ///< IP address
|
||||
};
|
||||
|
||||
|
||||
|
@ -241,6 +241,7 @@ struct Snapserver : public Snapcast
|
|||
/// Client config
|
||||
struct ClientInfo : public JsonConfigItem
|
||||
{
|
||||
/// c'tor
|
||||
explicit ClientInfo(std::string _clientId = "") : id(std::move(_clientId))
|
||||
{
|
||||
lastSeen.tv_sec = 0;
|
||||
|
@ -415,13 +416,13 @@ public:
|
|||
GroupPtr addClientInfo(const ClientInfoPtr& client);
|
||||
/// Remove client @p client from group
|
||||
void remove(const ClientInfoPtr& client);
|
||||
/// Remove group @group, @p force removal of a non-empty group
|
||||
/// Remove group @p group, @p force removal of a non-empty group
|
||||
void remove(const GroupPtr& group, bool force = false);
|
||||
|
||||
// GroupPtr removeFromGroup(const std::string& groupId, const std::string& clientId);
|
||||
// GroupPtr setGroupForClient(const std::string& groupId, const std::string& clientId);
|
||||
|
||||
/// @return grouo from client with id @client_id
|
||||
/// @return grouo from client with id @p client_id
|
||||
GroupPtr getGroupFromClient(const std::string& client_id);
|
||||
/// @return group from @p client
|
||||
GroupPtr getGroupFromClient(const ClientInfoPtr& client);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue