refactor: turn StreamerMode into a singleton(-like thing) (#5216)

This commit is contained in:
nerix
2024-03-01 21:12:02 +01:00
committed by GitHub
parent ea19c5c989
commit c1fa51242f
28 changed files with 386 additions and 210 deletions
+3 -2
View File
@@ -452,6 +452,8 @@ set(SOURCE_FILES
singletons/Resources.hpp
singletons/Settings.cpp
singletons/Settings.hpp
singletons/StreamerMode.cpp
singletons/StreamerMode.hpp
singletons/Theme.cpp
singletons/Theme.hpp
singletons/Toasts.cpp
@@ -505,8 +507,6 @@ set(SOURCE_FILES
util/SplitCommand.hpp
util/StreamLink.cpp
util/StreamLink.hpp
util/StreamerMode.cpp
util/StreamerMode.hpp
util/ThreadGuard.hpp
util/Twitch.cpp
util/Twitch.hpp
@@ -770,6 +770,7 @@ target_link_libraries(${LIBRARY_PROJECT}
RapidJSON::RapidJSON
LRUCache
MagicEnum
$<$<BOOL:${WIN32}>:Wtsapi32>
)
if (CHATTERINO_PLUGINS)
target_link_libraries(${LIBRARY_PROJECT} PUBLIC lua)