mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-24 20:07:40 +02:00
rename config.h to config.hpp
This commit is contained in:
parent
55d74cb3d5
commit
4d7f411bdc
5 changed files with 5 additions and 5 deletions
|
@ -16,7 +16,7 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
***/
|
***/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.hpp"
|
||||||
#include "common/aixlog.hpp"
|
#include "common/aixlog.hpp"
|
||||||
#include "common/snap_exception.hpp"
|
#include "common/snap_exception.hpp"
|
||||||
#include "common/str_compat.hpp"
|
#include "common/str_compat.hpp"
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include "common/aixlog.hpp"
|
#include "common/aixlog.hpp"
|
||||||
#include "common/snap_exception.hpp"
|
#include "common/snap_exception.hpp"
|
||||||
#include "common/utils.hpp"
|
#include "common/utils.hpp"
|
||||||
#include "config.h"
|
#include "config.hpp"
|
||||||
#include "control_session_http.hpp"
|
#include "control_session_http.hpp"
|
||||||
#include "control_session_tcp.hpp"
|
#include "control_session_tcp.hpp"
|
||||||
#include "jsonrpcpp.hpp"
|
#include "jsonrpcpp.hpp"
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#include "publishZeroConf/publish_mdns.hpp"
|
#include "publishZeroConf/publish_mdns.hpp"
|
||||||
#endif
|
#endif
|
||||||
#include "common/aixlog.hpp"
|
#include "common/aixlog.hpp"
|
||||||
#include "config.h"
|
#include "config.hpp"
|
||||||
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -283,7 +283,7 @@ int main(int argc, char* argv[])
|
||||||
SLOG(ERROR) << "Exception: " << e.what() << std::endl;
|
SLOG(ERROR) << "Exception: " << e.what() << std::endl;
|
||||||
exitcode = EXIT_FAILURE;
|
exitcode = EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
Config::instance().save();
|
||||||
SLOG(NOTICE) << "daemon terminated." << endl;
|
SLOG(NOTICE) << "daemon terminated." << endl;
|
||||||
exit(exitcode);
|
exit(exitcode);
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
#include "stream_server.hpp"
|
#include "stream_server.hpp"
|
||||||
#include "common/aixlog.hpp"
|
#include "common/aixlog.hpp"
|
||||||
#include "config.h"
|
#include "config.hpp"
|
||||||
#include "message/hello.hpp"
|
#include "message/hello.hpp"
|
||||||
#include "message/stream_tags.hpp"
|
#include "message/stream_tags.hpp"
|
||||||
#include "message/time.hpp"
|
#include "message/time.hpp"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue