Change include guards

This commit is contained in:
badaix 2022-09-09 15:10:04 +02:00
parent f5e75453ea
commit e32eaa87af
11 changed files with 56 additions and 38 deletions

View file

@ -1,6 +1,6 @@
/*** /***
This file is part of snapcast 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 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 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#ifndef CLIENT_INFO_H #ifndef MESSAGE_CLIENT_INFO_HPP
#define CLIENT_INFO_H #define MESSAGE_CLIENT_INFO_HPP
// local headers
#include "json_message.hpp" #include "json_message.hpp"

View file

@ -1,6 +1,6 @@
/*** /***
This file is part of snapcast 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 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 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#ifndef CODEC_HEADER_MESSAGE_H #ifndef MESSAGE_CODEC_HEADER_HPP
#define CODEC_HEADER_MESSAGE_H #define MESSAGE_CODEC_HEADER_HPP
// local headers
#include "message.hpp" #include "message.hpp"
namespace msg namespace msg

View file

@ -1,6 +1,6 @@
/*** /***
This file is part of snapcast 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 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 it under the terms of the GNU General Public License as published by
@ -19,17 +19,18 @@
#ifndef MESSAGE_FACTORY_HPP #ifndef MESSAGE_FACTORY_HPP
#define MESSAGE_FACTORY_HPP #define MESSAGE_FACTORY_HPP
// local headers
#include "client_info.hpp" #include "client_info.hpp"
#include "codec_header.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/str_compat.hpp"
#include "common/utils.hpp" #include "common/utils.hpp"
#include "hello.hpp"
#include "json_message.hpp" #include "json_message.hpp"
#include "pcm_chunk.hpp"
#include "server_settings.hpp"
#include "time.hpp"
// standard headers
#include <string> #include <string>

View file

@ -1,6 +1,6 @@
/*** /***
This file is part of snapcast 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 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 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#ifndef HELLO_MSG_H #ifndef MESSAGE_HELLO_HPP
#define HELLO_MSG_H #define MESSAGE_HELLO_HPP
// local headers
#include "common/str_compat.hpp" #include "common/str_compat.hpp"
#include "common/utils.hpp" #include "common/utils.hpp"
#include "json_message.hpp" #include "json_message.hpp"
// standard headers
#include <string> #include <string>

View file

@ -1,6 +1,6 @@
/*** /***
This file is part of snapcast 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 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 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#ifndef JSON_MESSAGE_H #ifndef MESSAGE_JSON_HPP
#define JSON_MESSAGE_H #define MESSAGE_JSON_HPP
// local headers
#include "common/json.hpp" #include "common/json.hpp"
#include "message.hpp" #include "message.hpp"

View file

@ -1,6 +1,6 @@
/*** /***
This file is part of snapcast 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 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 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#ifndef MESSAGE_HPP #ifndef MESSAGE_MESSAGE_HPP
#define MESSAGE_HPP #define MESSAGE_MESSAGE_HPP
// local headers
#include "common/endian.hpp" #include "common/endian.hpp"
#include "common/time_defs.hpp" #include "common/time_defs.hpp"
// standard headers
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <iostream> #include <iostream>

View file

@ -1,6 +1,6 @@
/*** /***
This file is part of snapcast 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 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 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#ifndef PCM_CHUNK_H #ifndef MESSAGE_PCM_CHUNK_HPP
#define PCM_CHUNK_H #define MESSAGE_PCM_CHUNK_HPP
// local headers
#include "common/sample_format.hpp" #include "common/sample_format.hpp"
#include "message.hpp" #include "message.hpp"
#include "wire_chunk.hpp" #include "wire_chunk.hpp"
// standard headers
#include <chrono> #include <chrono>

View file

@ -1,6 +1,6 @@
/*** /***
This file is part of snapcast 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 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 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#ifndef SERVER_SETTINGS_H #ifndef MESSAGE_SERVER_SETTINGS_HPP
#define SERVER_SETTINGS_H #define MESSAGE_SERVER_SETTINGS_HPP
// local headers
#include "json_message.hpp" #include "json_message.hpp"

View file

@ -1,6 +1,6 @@
/*** /***
This file is part of snapcast 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 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 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#ifndef STREAMTAGS_HPP #ifndef MESSAGE_STREAM_TAGS_HPP
#define STREAMTAGS_HPP #define MESSAGE_STREAM_TAGS_HPP
// #include "common/metatags.hpp" // local headers
#include "json_message.hpp" #include "json_message.hpp"
/* /*

View file

@ -1,6 +1,6 @@
/*** /***
This file is part of snapcast 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 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 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#ifndef TIME_MSG_H #ifndef MESSAGE_TIME_HPP
#define TIME_MSG_H #define MESSAGE_TIME_HPP
// local headers
#include "message.hpp" #include "message.hpp"
namespace msg namespace msg

View file

@ -1,6 +1,6 @@
/*** /***
This file is part of snapcast 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 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 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#ifndef WIRE_CHUNK_H #ifndef MESSAGE_WIRE_CHUNK_HPP
#define WIRE_CHUNK_H #define MESSAGE_WIRE_CHUNK_HPP
// local headers
#include "common/time_defs.hpp" #include "common/time_defs.hpp"
#include "message.hpp" #include "message.hpp"
// standard headers
#include <chrono> #include <chrono>
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>