Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/backend-cpp/ElgatoSD/EPLJSONUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// Includes
//------------------------------------------------------------------------------

#include "nlohmann/json.hpp"
#include <nlohmann/json.hpp>
using json = nlohmann::json;

class EPLJSONUtils
Expand Down
2 changes: 1 addition & 1 deletion Sources/backend-cpp/ElgatoSD/ESDBasePlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#pragma once

#include "nlohmann/json.hpp"
#include <nlohmann/json.hpp>
using json = nlohmann::json;

class ESDConnectionManager;
Expand Down
2 changes: 1 addition & 1 deletion Sources/backend-cpp/ElgatoSD/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ target_sources(MockESDConnectionManager INTERFACE MockESDConnectionManager.h)

target_include_directories(
MockESDConnectionManager
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
INTERFACE ${CMAKE_SOURCE_DIR}
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "SimulatorInterface/Protocols/DcsBiosProtocol.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "SimulatorInterface/Protocols/DcsBiosStreamParser.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2020 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "SimulatorInterface/Protocols/DcsExportScriptProtocol.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "Utilities/Decimal.h"
#include "Utilities/UdpSocket.h"
#include "nlohmann/json.hpp"
#include <nlohmann/json.hpp>
using json = nlohmann::json;

#include <optional>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "SimulatorInterface/SimConnectionManager.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2020 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "SimulatorInterface/SimulatorInterface.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2022 Charles Tytler

#include "nlohmann/json.hpp"
#include <nlohmann/json.hpp>
using json = nlohmann::json;

json backwardsCompatibilityHandler(const json &prevVersionPayload);
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "SimulatorInterface/SimConnectionManager.h"
#include "StreamdeckContext/ExportMonitors/ImageStateMonitor.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "SimulatorInterface/SimConnectionManager.h"
#include "StreamdeckContext/ExportMonitors/IncrementMonitor.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "SimulatorInterface/SimConnectionManager.h"
#include "StreamdeckContext/ExportMonitors/TitleMonitor.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright 2021 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "SimulatorInterface/SimConnectionManager.h"
#include "StreamdeckContext/SendActions/IncrementAction.h"

#include "MockESDConnectionManager.h"
#include "ElgatoSD/test/MockESDConnectionManager.h"

namespace test
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright 2021 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "SimulatorInterface/SimConnectionManager.h"
#include "StreamdeckContext/SendActions/MomentaryAction.h"

#include "MockESDConnectionManager.h"
#include "ElgatoSD/test/MockESDConnectionManager.h"

namespace test
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "StreamdeckContext/SendActions/SendActionFactory.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2021 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "StreamdeckContext/SendActions/SwitchAction.h"

#include "MockESDConnectionManager.h"
#include "ElgatoSD/test/MockESDConnectionManager.h"
#include "SimulatorInterface/SimConnectionManager.h"
namespace test
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2022 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "StreamdeckContext/BackwardsCompatibilityHandler.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright 2020 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <unordered_map>

#include "MockESDConnectionManager.h" // Must be called before other includes
#include "ElgatoSD/test/MockESDConnectionManager.h" // Must be called before other includes

#include "SimulatorInterface/SimConnectionManager.h"
#include "StreamdeckContext/StreamdeckContext.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "Utilities/JsonReader.h"
#include "Utilities/LuaReader.h"

#include "nlohmann/json.hpp"
#include <nlohmann/json.hpp>
using json = nlohmann::json;

class CallBackTimer
Expand Down
2 changes: 1 addition & 1 deletion Sources/backend-cpp/Utilities/JsonReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <optional>
#include <string>

#include "nlohmann\json.hpp"
#include <nlohmann/json.hpp>
using json = nlohmann::json;

std::optional<json> get_module_list(const std::string &path);
Expand Down
2 changes: 1 addition & 1 deletion Sources/backend-cpp/Utilities/LuaReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include "LuaReader.h"

#include "lua.hpp"
#include <lua.hpp>

#include <filesystem>
#include <iostream>
Expand Down
4 changes: 2 additions & 2 deletions Sources/backend-cpp/Utilities/LuaReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#pragma once

#include "nlohmann/json.hpp"
#include <nlohmann/json.hpp>

using json = nlohmann::json;

Expand All @@ -25,4 +25,4 @@ json get_installed_modules(const std::string &dcs_install_path, const std::strin
*/
json get_clickabledata(const std::string &dcs_install_path,
const std::string &module_name,
const std::string &lua_script);
const std::string &lua_script);
2 changes: 1 addition & 1 deletion Sources/backend-cpp/Utilities/test/DecimalTest.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2020 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "Utilities/Decimal.h"

Expand Down
2 changes: 1 addition & 1 deletion Sources/backend-cpp/Utilities/test/JsonReaderTest.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "Utilities/JsonReader.h"

Expand Down
6 changes: 3 additions & 3 deletions Sources/backend-cpp/Utilities/test/LuaReaderTest.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2020 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "Utilities/LuaReader.h"

#include "nlohmann/json.hpp"
#include <nlohmann/json.hpp>
using json = nlohmann::json;

namespace test
Expand All @@ -28,4 +28,4 @@ TEST(LuaReaderTest, nonexistant_lua_file)
EXPECT_EQ(0, returned_values["clickabledata_items"].size());
}

} // namespace test
} // namespace test
4 changes: 2 additions & 2 deletions Sources/backend-cpp/Utilities/test/StringUtilitiesTest.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2020 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "Utilities/StringUtilities.h"

Expand Down Expand Up @@ -189,4 +189,4 @@ TEST(StringUtilitiesTest, pop_key_and_value_missing_token_delim)
EXPECT_EQ("value1key2=value2", key_and_value.value().second);
}

} // namespace test
} // namespace test
2 changes: 1 addition & 1 deletion Sources/backend-cpp/Utilities/test/UdpSocketTest.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2020 Charles Tytler

#include "gtest/gtest.h"
#include <gtest/gtest.h>

#include "Utilities/UdpSocket.h"

Expand Down