mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-28 17:57:05 +02:00
Change include guards
This commit is contained in:
parent
f5e75453ea
commit
e32eaa87af
11 changed files with 56 additions and 38 deletions
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2020 Johannes Pohl
|
||||
Copyright (C) 2014-2022 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -16,9 +16,10 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#ifndef CLIENT_INFO_H
|
||||
#define CLIENT_INFO_H
|
||||
#ifndef MESSAGE_CLIENT_INFO_HPP
|
||||
#define MESSAGE_CLIENT_INFO_HPP
|
||||
|
||||
// local headers
|
||||
#include "json_message.hpp"
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2020 Johannes Pohl
|
||||
Copyright (C) 2014-2022 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -16,9 +16,10 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#ifndef CODEC_HEADER_MESSAGE_H
|
||||
#define CODEC_HEADER_MESSAGE_H
|
||||
#ifndef MESSAGE_CODEC_HEADER_HPP
|
||||
#define MESSAGE_CODEC_HEADER_HPP
|
||||
|
||||
// local headers
|
||||
#include "message.hpp"
|
||||
|
||||
namespace msg
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2021 Johannes Pohl
|
||||
Copyright (C) 2014-2022 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -19,17 +19,18 @@
|
|||
#ifndef MESSAGE_FACTORY_HPP
|
||||
#define MESSAGE_FACTORY_HPP
|
||||
|
||||
// local headers
|
||||
#include "client_info.hpp"
|
||||
#include "codec_header.hpp"
|
||||
#include "hello.hpp"
|
||||
#include "pcm_chunk.hpp"
|
||||
#include "server_settings.hpp"
|
||||
// #include "stream_tags.hpp"
|
||||
#include "time.hpp"
|
||||
|
||||
#include "common/str_compat.hpp"
|
||||
#include "common/utils.hpp"
|
||||
#include "hello.hpp"
|
||||
#include "json_message.hpp"
|
||||
#include "pcm_chunk.hpp"
|
||||
#include "server_settings.hpp"
|
||||
#include "time.hpp"
|
||||
|
||||
// standard headers
|
||||
#include <string>
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2020 Johannes Pohl
|
||||
Copyright (C) 2014-2022 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -16,12 +16,15 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#ifndef HELLO_MSG_H
|
||||
#define HELLO_MSG_H
|
||||
#ifndef MESSAGE_HELLO_HPP
|
||||
#define MESSAGE_HELLO_HPP
|
||||
|
||||
// local headers
|
||||
#include "common/str_compat.hpp"
|
||||
#include "common/utils.hpp"
|
||||
#include "json_message.hpp"
|
||||
|
||||
// standard headers
|
||||
#include <string>
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2020 Johannes Pohl
|
||||
Copyright (C) 2014-2022 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -16,9 +16,10 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#ifndef JSON_MESSAGE_H
|
||||
#define JSON_MESSAGE_H
|
||||
#ifndef MESSAGE_JSON_HPP
|
||||
#define MESSAGE_JSON_HPP
|
||||
|
||||
// local headers
|
||||
#include "common/json.hpp"
|
||||
#include "message.hpp"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2021 Johannes Pohl
|
||||
Copyright (C) 2014-2022 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -16,11 +16,14 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#ifndef MESSAGE_HPP
|
||||
#define MESSAGE_HPP
|
||||
#ifndef MESSAGE_MESSAGE_HPP
|
||||
#define MESSAGE_MESSAGE_HPP
|
||||
|
||||
// local headers
|
||||
#include "common/endian.hpp"
|
||||
#include "common/time_defs.hpp"
|
||||
|
||||
// standard headers
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2020 Johannes Pohl
|
||||
Copyright (C) 2014-2022 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -16,12 +16,15 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#ifndef PCM_CHUNK_H
|
||||
#define PCM_CHUNK_H
|
||||
#ifndef MESSAGE_PCM_CHUNK_HPP
|
||||
#define MESSAGE_PCM_CHUNK_HPP
|
||||
|
||||
// local headers
|
||||
#include "common/sample_format.hpp"
|
||||
#include "message.hpp"
|
||||
#include "wire_chunk.hpp"
|
||||
|
||||
// standard headers
|
||||
#include <chrono>
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2020 Johannes Pohl
|
||||
Copyright (C) 2014-2022 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -16,9 +16,10 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#ifndef SERVER_SETTINGS_H
|
||||
#define SERVER_SETTINGS_H
|
||||
#ifndef MESSAGE_SERVER_SETTINGS_HPP
|
||||
#define MESSAGE_SERVER_SETTINGS_HPP
|
||||
|
||||
// local headers
|
||||
#include "json_message.hpp"
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2021 Johannes Pohl
|
||||
Copyright (C) 2014-2022 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -16,10 +16,10 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#ifndef STREAMTAGS_HPP
|
||||
#define STREAMTAGS_HPP
|
||||
#ifndef MESSAGE_STREAM_TAGS_HPP
|
||||
#define MESSAGE_STREAM_TAGS_HPP
|
||||
|
||||
// #include "common/metatags.hpp"
|
||||
// local headers
|
||||
#include "json_message.hpp"
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2020 Johannes Pohl
|
||||
Copyright (C) 2014-2022 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -16,9 +16,10 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#ifndef TIME_MSG_H
|
||||
#define TIME_MSG_H
|
||||
#ifndef MESSAGE_TIME_HPP
|
||||
#define MESSAGE_TIME_HPP
|
||||
|
||||
// local headers
|
||||
#include "message.hpp"
|
||||
|
||||
namespace msg
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2020 Johannes Pohl
|
||||
Copyright (C) 2014-2022 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -16,11 +16,14 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#ifndef WIRE_CHUNK_H
|
||||
#define WIRE_CHUNK_H
|
||||
#ifndef MESSAGE_WIRE_CHUNK_HPP
|
||||
#define MESSAGE_WIRE_CHUNK_HPP
|
||||
|
||||
// local headers
|
||||
#include "common/time_defs.hpp"
|
||||
#include "message.hpp"
|
||||
|
||||
// standard headers
|
||||
#include <chrono>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
|
Loading…
Add table
Reference in a new issue