mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 02:07:55 +02:00
Fix comments
This commit is contained in:
parent
fa8abcb26e
commit
6b94392f2c
3 changed files with 8 additions and 7 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -75,7 +75,7 @@ jobs:
|
|||
mkdir -p build/doxygen
|
||||
doxygen 2>&1 | tee build/doxygen.log
|
||||
WARNINGS=$(cat build/doxygen.log | sort | uniq | grep -e ": warning: " | wc -l)
|
||||
MAX_ALLOWED=593
|
||||
MAX_ALLOWED=535
|
||||
echo "Doxygen finished with $WARNINGS warnings, max allowed: $MAX_ALLOWED"
|
||||
if [ "$WARNINGS" -gt "$MAX_ALLOWED" ]; then exit $WARNINGS; else exit 0; fi;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -187,7 +187,7 @@ struct ServerSettings
|
|||
/// Logging settings
|
||||
struct Logging
|
||||
{
|
||||
/// log sing
|
||||
/// log sink
|
||||
std::string sink;
|
||||
/// log filter
|
||||
std::string filter{"*:info"};
|
||||
|
|
Loading…
Add table
Reference in a new issue