SlashForwarding - replacing `\` with `/` in #includes
This commit is contained in:
Родитель
663ed093d0
Коммит
f77aeb17bf
|
@ -6,7 +6,7 @@
|
|||
#include "_exports.h"
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
#include "pplx\pplxtasks.h"
|
||||
#include "pplx/pplxtasks.h"
|
||||
#include "connection_state.h"
|
||||
#include "trace_level.h"
|
||||
#include "log_writer.h"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#include "_exports.h"
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
#include "pplx\pplxtasks.h"
|
||||
#include "cpprest\json.h"
|
||||
#include "pplx/pplxtasks.h"
|
||||
#include "cpprest/json.h"
|
||||
#include "connection_state.h"
|
||||
#include "trace_level.h"
|
||||
#include "log_writer.h"
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdexcept>
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest\json.h"
|
||||
#include "cpprest\asyncrt_utils.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
#include "cpprest/json.h"
|
||||
#include "cpprest/asyncrt_utils.h"
|
||||
|
||||
namespace signalr
|
||||
{
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
#include <memory>
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
#include "pplx\pplxtasks.h"
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest\json.h"
|
||||
#include "pplx/pplxtasks.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
#include "cpprest/json.h"
|
||||
|
||||
namespace signalr
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
|
||||
namespace signalr
|
||||
{
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdexcept>
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest\asyncrt_utils.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
#include "cpprest/asyncrt_utils.h"
|
||||
|
||||
namespace signalr
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <unordered_map>
|
||||
#include <functional>
|
||||
#include <mutex>
|
||||
#include "cpprest\json.h"
|
||||
#include "cpprest/json.h"
|
||||
|
||||
namespace signalr
|
||||
{
|
||||
|
@ -17,13 +17,13 @@ namespace signalr
|
|||
explicit callback_manager(const web::json::value& dtor_error);
|
||||
~callback_manager();
|
||||
|
||||
callback_manager(const callback_manager&) = delete;
|
||||
callback_manager(const callback_manager&) = delete;
|
||||
callback_manager& operator=(const callback_manager&) = delete;
|
||||
|
||||
utility::string_t register_callback(const std::function<void(const web::json::value&)>& callback);
|
||||
bool invoke_callback(const utility::string_t& callback_id, const web::json::value& arguments, bool remove_callback);
|
||||
bool remove_callback(const utility::string_t& callback_id);
|
||||
void clear(const web::json::value& arguments);
|
||||
void clear(const web::json::value& arguments);
|
||||
|
||||
private:
|
||||
std::atomic<int> m_id = 0;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <functional>
|
||||
#include <cctype>
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
|
||||
namespace signalr
|
||||
{
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "signalrclient\connection.h"
|
||||
#include "signalrclient\transport_type.h"
|
||||
#include "signalrclient/connection.h"
|
||||
#include "signalrclient/transport_type.h"
|
||||
#include "connection_impl.h"
|
||||
|
||||
namespace signalr
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "stdafx.h"
|
||||
#include <thread>
|
||||
#include <algorithm>
|
||||
#include "cpprest\asyncrt_utils.h"
|
||||
#include "cpprest/asyncrt_utils.h"
|
||||
#include "constants.h"
|
||||
#include "connection_impl.h"
|
||||
#include "request_sender.h"
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
|
||||
#include <atomic>
|
||||
#include <mutex>
|
||||
#include "cpprest\http_client.h"
|
||||
#include "signalrclient\trace_level.h"
|
||||
#include "signalrclient\connection_state.h"
|
||||
#include "cpprest/http_client.h"
|
||||
#include "signalrclient/trace_level.h"
|
||||
#include "signalrclient/connection_state.h"
|
||||
#include "web_request_factory.h"
|
||||
#include "transport_factory.h"
|
||||
#include "logger.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
|
||||
#define SIGNALR_VERSION _XPLATSTR("1.0.0-alpha")
|
||||
#define PROTOCOL _XPLATSTR("1.4")
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <unordered_map>
|
||||
#include "cpprest\ws_client.h"
|
||||
#include "cpprest/ws_client.h"
|
||||
#include "websocket_client.h"
|
||||
|
||||
namespace signalr
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "cpprest\http_client.h"
|
||||
#include "signalrclient\web_exception.h"
|
||||
#include "cpprest/http_client.h"
|
||||
#include "signalrclient/web_exception.h"
|
||||
#include "web_request_factory.h"
|
||||
#include "constants.h"
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "pplx\pplxtasks.h"
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "pplx/pplxtasks.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
#include "web_request_factory.h"
|
||||
|
||||
namespace signalr
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "signalrclient\hub_connection.h"
|
||||
#include "signalrclient/hub_connection.h"
|
||||
#include "hub_connection_impl.h"
|
||||
|
||||
namespace signalr
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "stdafx.h"
|
||||
#include "hub_connection_impl.h"
|
||||
#include "signalrclient\hub_exception.h"
|
||||
#include "signalrclient/hub_exception.h"
|
||||
#include "trace_log_writer.h"
|
||||
|
||||
namespace signalr
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <unordered_map>
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
#include "connection_impl.h"
|
||||
#include "internal_hub_proxy.h"
|
||||
#include "callback_manager.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "signalrclient\hub_proxy.h"
|
||||
#include "signalrclient/hub_proxy.h"
|
||||
#include "internal_hub_proxy.h"
|
||||
|
||||
namespace signalr
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
#pragma once
|
||||
#include <functional>
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest\json.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
#include "cpprest/json.h"
|
||||
#include "logger.h"
|
||||
#include "case_insensitive_comparison_utils.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "stdafx.h"
|
||||
#include "logger.h"
|
||||
#include "cpprest\asyncrt_utils.h"
|
||||
#include "cpprest/asyncrt_utils.h"
|
||||
#include <iomanip>
|
||||
|
||||
namespace signalr
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include "signalrclient\trace_level.h"
|
||||
#include "signalrclient\log_writer.h"
|
||||
#include "signalrclient/trace_level.h"
|
||||
#include "signalrclient/log_writer.h"
|
||||
|
||||
namespace signalr
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
|
||||
namespace signalr
|
||||
{
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "cpprest\base_uri.h"
|
||||
#include "signalrclient\transport_type.h"
|
||||
#include "cpprest/base_uri.h"
|
||||
#include "signalrclient/transport_type.h"
|
||||
#include "web_request_factory.h"
|
||||
#include "negotiation_response.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "signalrclient\log_writer.h"
|
||||
#include "signalrclient/log_writer.h"
|
||||
|
||||
namespace signalr
|
||||
{
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
#pragma once;
|
||||
|
||||
#include "pplx\pplxtasks.h"
|
||||
#include "cpprest\base_uri.h"
|
||||
#include "signalrclient\transport_type.h"
|
||||
#include "pplx/pplxtasks.h"
|
||||
#include "cpprest/base_uri.h"
|
||||
#include "signalrclient/transport_type.h"
|
||||
#include "logger.h"
|
||||
|
||||
namespace signalr
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include "signalrclient\transport_type.h"
|
||||
#include "signalrclient/transport_type.h"
|
||||
#include "transport.h"
|
||||
|
||||
namespace signalr
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
#include "stdafx.h"
|
||||
#include "constants.h"
|
||||
#include "cpprest\http_client.h"
|
||||
#include "signalrclient\transport_type.h"
|
||||
#include "cpprest/http_client.h"
|
||||
#include "signalrclient/transport_type.h"
|
||||
|
||||
namespace signalr
|
||||
{
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "cpprest\http_client.h"
|
||||
#include "signalrclient\transport_type.h"
|
||||
#include "cpprest/http_client.h"
|
||||
#include "signalrclient/transport_type.h"
|
||||
|
||||
namespace signalr
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "cpprest\http_client.h"
|
||||
#include "cpprest/http_client.h"
|
||||
#include "web_request.h"
|
||||
|
||||
namespace signalr
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "web_response.h"
|
||||
#include "cpprest\http_msg.h"
|
||||
#include "cpprest/http_msg.h"
|
||||
#include <unordered_map>
|
||||
|
||||
namespace signalr
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "cpprest\base_uri.h"
|
||||
#include "cpprest/base_uri.h"
|
||||
#include "web_request.h"
|
||||
|
||||
namespace signalr
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "pplx\pplxtasks.h"
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "pplx/pplxtasks.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
|
||||
namespace signalr
|
||||
{
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "pplx\pplxtasks.h"
|
||||
#include "cpprest\base_uri.h"
|
||||
#include "pplx/pplxtasks.h"
|
||||
#include "cpprest/base_uri.h"
|
||||
|
||||
namespace signalr
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "cpprest\ws_client.h"
|
||||
#include "cpprest/ws_client.h"
|
||||
#include "url_builder.h"
|
||||
#include "transport.h"
|
||||
#include "logger.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#include "..\signalrclient\stdafx.h"
|
||||
#include "../signalrclient/stdafx.h"
|
||||
|
||||
BOOL APIENTRY DllMain( HMODULE /*hModule*/,
|
||||
DWORD ul_reason_for_call,
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
#include "stdafx.h"
|
||||
#include <string>
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest\json.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
#include "cpprest/json.h"
|
||||
#include "connection.h"
|
||||
#include "hub_connection.h"
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
#include "stdafx.h"
|
||||
#include <string>
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest\json.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
#include "cpprest/json.h"
|
||||
#include "connection.h"
|
||||
#include "hub_connection.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "stdafx.h"
|
||||
#include <vector>
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
#include "test_utils.h"
|
||||
|
||||
int wmain(int argc, utility::char_t* argv[])
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
#include "gtest\gtest.h"
|
||||
#include "gtest/gtest.h"
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
#include "stdafx.h"
|
||||
#include <string>
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest\asyncrt_utils.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
#include "cpprest/asyncrt_utils.h"
|
||||
#include <chrono>
|
||||
|
||||
utility::string_t url;
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
|
||||
void get_url(int argc, utility::char_t* argv[]);
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
#include "test_websocket_client.h"
|
||||
#include "test_transport_factory.h"
|
||||
#include "connection_impl.h"
|
||||
#include "signalrclient\trace_level.h"
|
||||
#include "signalrclient/trace_level.h"
|
||||
#include "trace_log_writer.h"
|
||||
#include "memory_log_writer.h"
|
||||
#include "cpprest\ws_client.h"
|
||||
#include "cpprest/ws_client.h"
|
||||
|
||||
using namespace signalr;
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest\asyncrt_utils.h"
|
||||
#include "signalrclient\web_exception.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
#include "cpprest/asyncrt_utils.h"
|
||||
#include "signalrclient/web_exception.h"
|
||||
#include "http_sender.h"
|
||||
#include "web_request_stub.h"
|
||||
#include "test_web_request_factory.h"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include "hub_connection_impl.h"
|
||||
#include "trace_log_writer.h"
|
||||
#include "memory_log_writer.h"
|
||||
#include "signalrclient\hub_exception.h"
|
||||
#include "signalrclient/hub_exception.h"
|
||||
|
||||
using namespace signalr;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "signalrclient\hub_exception.h"
|
||||
#include "signalrclient/hub_exception.h"
|
||||
|
||||
using namespace signalr;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "stdafx.h"
|
||||
#include "test_utils.h"
|
||||
#include "cpprest\asyncrt_utils.h"
|
||||
#include "cpprest/asyncrt_utils.h"
|
||||
#include "trace_log_writer.h"
|
||||
#include "logger.h"
|
||||
#include "memory_log_writer.h"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <vector>
|
||||
#include <mutex>
|
||||
#include "signalrclient\log_writer.h"
|
||||
#include "signalrclient/log_writer.h"
|
||||
|
||||
using namespace signalr;
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "signalrclient\web_exception.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
#include "signalrclient/web_exception.h"
|
||||
#include "request_sender.h"
|
||||
#include "web_request_stub.h"
|
||||
#include "test_web_request_factory.h"
|
||||
|
|
|
@ -13,4 +13,4 @@
|
|||
#include <stdio.h>
|
||||
#include <tchar.h>
|
||||
|
||||
#include "gtest\gtest.h"
|
||||
#include "gtest/gtest.h"
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "cpprest\details\basic_types.h"
|
||||
#include "cpprest/details/basic_types.h"
|
||||
#include "websocket_client.h"
|
||||
#include "web_request_factory.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "cpprest\http_listener.h"
|
||||
#include "cpprest/http_listener.h"
|
||||
#include "web_request.h"
|
||||
|
||||
using namespace web;
|
||||
|
|
Загрузка…
Ссылка в новой задаче