Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(main): move remaining entry related code #2127

Merged
4 changes: 4 additions & 0 deletions cmake/compile_definitions/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,12 @@ set(SUNSHINE_TARGET_FILES
"${CMAKE_SOURCE_DIR}/src/uuid.h"
"${CMAKE_SOURCE_DIR}/src/config.h"
"${CMAKE_SOURCE_DIR}/src/config.cpp"
"${CMAKE_SOURCE_DIR}/src/entry_handler.cpp"
"${CMAKE_SOURCE_DIR}/src/entry_handler.h"
"${CMAKE_SOURCE_DIR}/src/file_handler.cpp"
"${CMAKE_SOURCE_DIR}/src/file_handler.h"
"${CMAKE_SOURCE_DIR}/src/globals.cpp"
"${CMAKE_SOURCE_DIR}/src/globals.h"
"${CMAKE_SOURCE_DIR}/src/logging.cpp"
"${CMAKE_SOURCE_DIR}/src/logging.h"
"${CMAKE_SOURCE_DIR}/src/main.cpp"
Expand Down
5 changes: 5 additions & 0 deletions docs/source/source_code/src/entry_handler.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
entry_handler
=============

.. doxygenfile:: entry_handler.h
:allow-dot-graphs:
5 changes: 5 additions & 0 deletions docs/source/source_code/src/globals.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
globals
=======

.. doxygenfile:: globals.h
:allow-dot-graphs:
2 changes: 1 addition & 1 deletion src/audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

#include "audio.h"
#include "config.h"
#include "globals.h"
#include "logging.h"
#include "main.h"
#include "thread_safe.h"
#include "utility.h"

Expand Down
3 changes: 2 additions & 1 deletion src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <fstream>
#include <functional>
#include <iostream>
#include <thread>
#include <unordered_map>

#include <boost/asio.hpp>
Expand All @@ -15,9 +16,9 @@
#include <boost/property_tree/ptree.hpp>

#include "config.h"
#include "entry_handler.h"
#include "file_handler.h"
#include "logging.h"
#include "main.h"
#include "nvhttp.h"
#include "rtsp.h"
#include "utility.h"
Expand Down
2 changes: 1 addition & 1 deletion src/confighttp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
#include "confighttp.h"
#include "crypto.h"
#include "file_handler.h"
#include "globals.h"
#include "httpcommon.h"
#include "logging.h"
#include "main.h"
#include "network.h"
#include "nvhttp.h"
#include "platform/common.h"
Expand Down
Loading
Loading