refactor: turn StreamerMode into a singleton(-like thing) (#5216)
This commit is contained in:
+3
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user