浏览代码

rtmp-services: Move service-specific files

Cleans up the directory a bit
jp9000 4 年之前
父节点
当前提交
6afb6d9c9f

+ 8 - 8
plugins/rtmp-services/CMakeLists.txt

@@ -7,10 +7,10 @@ include_directories(${LIBCURL_INCLUDE_DIRS})
 include_directories(${OBS_JANSSON_INCLUDE_DIRS})
 include_directories(${OBS_JANSSON_INCLUDE_DIRS})
 
 
 set(rtmp-services_SOURCES
 set(rtmp-services_SOURCES
-	twitch.c
-	younow.c
-	nimotv.c
-	showroom.c
+	service-specific/twitch.c
+	service-specific/younow.c
+	service-specific/nimotv.c
+	service-specific/showroom.c
 	rtmp-common.c
 	rtmp-common.c
 	rtmp-custom.c
 	rtmp-custom.c
 	rtmp-services-main.c)
 	rtmp-services-main.c)
@@ -23,10 +23,10 @@ if(WIN32)
 endif()
 endif()
 
 
 set(rtmp-services_HEADERS
 set(rtmp-services_HEADERS
-	twitch.h
-	younow.h
-	nimotv.h
-	showroom.h
+	service-specific/twitch.h
+	service-specific/younow.h
+	service-specific/nimotv.h
+	service-specific/showroom.h
 	rtmp-format-ver.h)
 	rtmp-format-ver.h)
 
 
 set(RTMP_SERVICES_URL
 set(RTMP_SERVICES_URL

+ 4 - 4
plugins/rtmp-services/rtmp-common.c

@@ -5,10 +5,10 @@
 #include <obs-config.h>
 #include <obs-config.h>
 
 
 #include "rtmp-format-ver.h"
 #include "rtmp-format-ver.h"
-#include "twitch.h"
-#include "younow.h"
-#include "nimotv.h"
-#include "showroom.h"
+#include "service-specific/twitch.h"
+#include "service-specific/younow.h"
+#include "service-specific/nimotv.h"
+#include "service-specific/showroom.h"
 
 
 struct rtmp_common {
 struct rtmp_common {
 	char *service;
 	char *service;

+ 2 - 1
plugins/rtmp-services/rtmp-services-main.c

@@ -7,7 +7,8 @@
 
 
 #include "rtmp-format-ver.h"
 #include "rtmp-format-ver.h"
 #include "lookup-config.h"
 #include "lookup-config.h"
-#include "showroom.h"
+
+#include "service-specific/showroom.h"
 
 
 OBS_DECLARE_MODULE()
 OBS_DECLARE_MODULE()
 OBS_MODULE_USE_DEFAULT_LOCALE("rtmp-services", "en-US")
 OBS_MODULE_USE_DEFAULT_LOCALE("rtmp-services", "en-US")

+ 0 - 0
plugins/rtmp-services/nimotv.c → plugins/rtmp-services/service-specific/nimotv.c


+ 0 - 0
plugins/rtmp-services/nimotv.h → plugins/rtmp-services/service-specific/nimotv.h


+ 0 - 0
plugins/rtmp-services/showroom.c → plugins/rtmp-services/service-specific/showroom.c


+ 0 - 0
plugins/rtmp-services/showroom.h → plugins/rtmp-services/service-specific/showroom.h


+ 0 - 0
plugins/rtmp-services/twitch.c → plugins/rtmp-services/service-specific/twitch.c


+ 0 - 0
plugins/rtmp-services/twitch.h → plugins/rtmp-services/service-specific/twitch.h


+ 0 - 0
plugins/rtmp-services/younow.c → plugins/rtmp-services/service-specific/younow.c


+ 0 - 0
plugins/rtmp-services/younow.h → plugins/rtmp-services/service-specific/younow.h