summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-06-28 05:01:49 +0200
committerbunnei <bunneidev@gmail.com>2017-07-10 06:15:40 +0200
commit52fbe1e10cffcfd4c4ee1c50b7c8e98f3eb4cb50 (patch)
tree0e3dcb3988978db60521abf00727474683f7bf9f /src
parentsettings: Add telemetry endpoint URL. (diff)
downloadyuzu-52fbe1e10cffcfd4c4ee1c50b7c8e98f3eb4cb50.tar
yuzu-52fbe1e10cffcfd4c4ee1c50b7c8e98f3eb4cb50.tar.gz
yuzu-52fbe1e10cffcfd4c4ee1c50b7c8e98f3eb4cb50.tar.bz2
yuzu-52fbe1e10cffcfd4c4ee1c50b7c8e98f3eb4cb50.tar.lz
yuzu-52fbe1e10cffcfd4c4ee1c50b7c8e98f3eb4cb50.tar.xz
yuzu-52fbe1e10cffcfd4c4ee1c50b7c8e98f3eb4cb50.tar.zst
yuzu-52fbe1e10cffcfd4c4ee1c50b7c8e98f3eb4cb50.zip
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/core/CMakeLists.txt2
-rw-r--r--src/web_service/CMakeLists.txt14
-rw-r--r--src/web_service/telemetry_json.cpp9
-rw-r--r--src/web_service/telemetry_json.h9
-rw-r--r--src/web_service/web_backend.cpp9
-rw-r--r--src/web_service/web_backend.h9
7 files changed, 52 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 655bd83aa..f855a5195 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -14,3 +14,4 @@ endif()
if (ENABLE_QT)
add_subdirectory(citra_qt)
endif()
+add_subdirectory(web_service)
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index ea09819e5..72233877b 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -386,5 +386,5 @@ set(HEADERS
create_directory_groups(${SRCS} ${HEADERS})
add_library(core STATIC ${SRCS} ${HEADERS})
-target_link_libraries(core PUBLIC common PRIVATE audio_core video_core)
+target_link_libraries(core PUBLIC common PRIVATE audio_core video_core web_service)
target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp dynarmic fmt)
diff --git a/src/web_service/CMakeLists.txt b/src/web_service/CMakeLists.txt
new file mode 100644
index 000000000..334d82a8a
--- /dev/null
+++ b/src/web_service/CMakeLists.txt
@@ -0,0 +1,14 @@
+set(SRCS
+ telemetry_json.cpp
+ web_backend.cpp
+ )
+
+set(HEADERS
+ telemetry_json.h
+ web_backend.h
+ )
+
+create_directory_groups(${SRCS} ${HEADERS})
+
+add_library(web_service STATIC ${SRCS} ${HEADERS})
+target_link_libraries(web_service PUBLIC common cpr json-headers)
diff --git a/src/web_service/telemetry_json.cpp b/src/web_service/telemetry_json.cpp
new file mode 100644
index 000000000..68e092699
--- /dev/null
+++ b/src/web_service/telemetry_json.cpp
@@ -0,0 +1,9 @@
+// Copyright 2017 Citra Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#include "web_service/telemetry_json.h"
+
+namespace WebService {
+
+} // namespace WebService
diff --git a/src/web_service/telemetry_json.h b/src/web_service/telemetry_json.h
new file mode 100644
index 000000000..1f2e08f54
--- /dev/null
+++ b/src/web_service/telemetry_json.h
@@ -0,0 +1,9 @@
+// Copyright 2017 Citra Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#pragma once
+
+namespace WebService {
+
+} // namespace WebService
diff --git a/src/web_service/web_backend.cpp b/src/web_service/web_backend.cpp
new file mode 100644
index 000000000..c7bd8a38a
--- /dev/null
+++ b/src/web_service/web_backend.cpp
@@ -0,0 +1,9 @@
+// Copyright 2017 Citra Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#include "web_service/web_backend.h"
+
+namespace WebService {
+
+} // namespace WebService
diff --git a/src/web_service/web_backend.h b/src/web_service/web_backend.h
new file mode 100644
index 000000000..1f2e08f54
--- /dev/null
+++ b/src/web_service/web_backend.h
@@ -0,0 +1,9 @@
+// Copyright 2017 Citra Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#pragma once
+
+namespace WebService {
+
+} // namespace WebService