Skip to content

Commit

Permalink
iwyu changes for 4.20 engine build
Browse files Browse the repository at this point in the history
-part 2
-remove pch
  • Loading branch information
getnamo committed Sep 25, 2018
1 parent 5e6631a commit 539d6ea
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 39 deletions.
2 changes: 1 addition & 1 deletion SocketIOClient.uplugin
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"FileVersion": 3,
"Version": 1,
"VersionName": "0.9.1",
"VersionName": "0.9.2",
"EngineVersion" : "4.20.0",
"FriendlyName": "Socket.IO Client",
"Description": "Real-time networking library Socket.IO Client usable from blueprints and c++.",
Expand Down
5 changes: 4 additions & 1 deletion Source/SIOJson/Private/SIOJConvert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@


#include "SIOJConvert.h"
#include "SIOJsonPrivatePCH.h"
#include "Runtime/Json/Public/Json.h"
#include "Runtime/JsonUtilities/Public/JsonObjectConverter.h"
#include "SIOJsonValue.h"
#include "SIOJsonObject.h"

typedef TJsonWriterFactory< TCHAR, TCondensedJsonPrintPolicy<TCHAR> > FCondensedJsonStringWriterFactory;
typedef TJsonWriter< TCHAR, TCondensedJsonPrintPolicy<TCHAR> > FCondensedJsonStringWriter;
Expand Down
5 changes: 4 additions & 1 deletion Source/SIOJson/Private/SIOJLibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
// Copyright 2016 Vladimir Alyamkin. All Rights Reserved.

#include "SIOJLibrary.h"
#include "SIOJsonPrivatePCH.h"
#include "ISIOJson.h"
#include "Runtime/Json/Public/Json.h"
#include "SIOJsonValue.h"
#include "SIOJsonObject.h"
#include "Runtime/Core/Public/Misc/Base64.h"

//////////////////////////////////////////////////////////////////////////
Expand Down
3 changes: 2 additions & 1 deletion Source/SIOJson/Private/SIOJRequestJSON.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
// Copyright 2014 Vladimir Alyamkin. All Rights Reserved.

#include "SIOJRequestJSON.h"
#include "SIOJsonPrivatePCH.h"
#include "SIOJsonValue.h"
#include "SIOJsonObject.h"

template <class T> void FSIOJLatentAction<T>::Cancel()
{
Expand Down
5 changes: 4 additions & 1 deletion Source/SIOJson/Private/SIOJson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

// Copyright 2014 Vladimir Alyamkin. All Rights Reserved.

#include "SIOJsonPrivatePCH.h"
#include "ISIOJson.h"
#include "SIOJsonObject.h"
#include "SIOJsonValue.h"
#include "SIOJRequestJSON.h"

class FSIOJson : public ISIOJson
{
Expand Down
2 changes: 1 addition & 1 deletion Source/SIOJson/Private/SIOJsonObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Copyright 2014 Vladimir Alyamkin. All Rights Reserved.

#include "SIOJsonObject.h"
#include "SIOJsonPrivatePCH.h"
#include "Runtime/Json/Public/Json.h"

typedef TJsonWriterFactory< TCHAR, TCondensedJsonPrintPolicy<TCHAR> > FCondensedJsonStringWriterFactory;
typedef TJsonWriter< TCHAR, TCondensedJsonPrintPolicy<TCHAR> > FCondensedJsonStringWriter;
Expand Down
29 changes: 0 additions & 29 deletions Source/SIOJson/Private/SIOJsonPrivatePCH.h

This file was deleted.

2 changes: 1 addition & 1 deletion Source/SIOJson/Private/SIOJsonValue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Copyright 2014 Vladimir Alyamkin. All Rights Reserved.

#include "SIOJsonValue.h"
#include "SIOJsonPrivatePCH.h"
#include "Runtime/Json/Public/Json.h"
#include "SIOJConvert.h"

#if PLATFORM_WINDOWS
Expand Down
2 changes: 2 additions & 0 deletions Source/SIOJson/Public/ISIOJson.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

#include "Runtime/Core/Public/Modules/ModuleManager.h"

DECLARE_LOG_CATEGORY_EXTERN(LogSIOJ, Log, All);


/**
* The public interface to this module. In most cases, this interface is only public to sibling modules
Expand Down
5 changes: 3 additions & 2 deletions Source/SIOJson/Public/SIOJConvert.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

#pragma once

#include "JsonGlobals.h"
#include "EngineMinimal.h"
#include "CoreMinimal.h"
#include "Runtime/Json/Public/Dom/JsonObject.h"
#include "Runtime/Json/Public/Dom/JsonValue.h"
#include "SIOJConvert.generated.h"

struct FTrimmedKeyMap
Expand Down
3 changes: 2 additions & 1 deletion Source/SIOJson/Public/SIOJRequestJSON.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
#include "Delegates/Delegate.h"
#include "Http.h"
#include "Runtime/Core/Public/Containers/Map.h"
#include "JsonGlobals.h"
#include "Runtime/Json/Public/Dom/JsonObject.h"
#include "Runtime/Json/Public/Dom/JsonValue.h"
#include "LatentActions.h"
#include "Engine/LatentActionManager.h"
#include "SIOJTypes.h"
Expand Down
1 change: 1 addition & 0 deletions Source/SIOJson/Public/SIOJsonValue.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#pragma once

#include "Runtime/Json/Public/Dom/JsonValue.h"
#include "SIOJsonValue.generated.h"

class USIOJsonObject;
Expand Down

0 comments on commit 539d6ea

Please sign in to comment.