Skip to content

Commit 530efa6

Browse files
author
Roberto De Ioris
committed
fixed 4.15
1 parent c9b0177 commit 530efa6

11 files changed

Lines changed: 26 additions & 5 deletions

File tree

‎Source/UnrealEnginePython/Private/Slate/UEPySPythonMultiColumnTableRow.h‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
#pragma once
22

33
#include "UEPySCompoundWidget.h"
4+
#include "UnrealEnginePython.h"
5+
#include "Runtime/Slate/Public/Widgets/Views/STableRow.h"
6+
#include "Runtime/Slate/Public/Widgets/Views/STableViewBase.h"
7+
#include "Runtime/Slate/Public/Widgets/Views/SListView.h"
48

59
extern PyTypeObject ue_PySCompoundWidgetType;
610
extern PyTypeObject ue_PySTableViewBaseType;
7-
class SPythonMultiColumnTableRow : public SMultiColumnTableRow<TSharedPtr<struct FPythonItem>>
11+
class SPythonMultiColumnTableRow : public SMultiColumnTableRow<TSharedPtr<FPythonItem>>
812
{
913
public:
1014
SLATE_BEGIN_ARGS(SPythonMultiColumnTableRow) {}
@@ -13,7 +17,7 @@ class SPythonMultiColumnTableRow : public SMultiColumnTableRow<TSharedPtr<struct
1317
void Construct(const FArguments& InArgs, const TSharedRef<STableViewBase>& InOwnerTableView, PyObject *in_py_self)
1418
{
1519
SetPyObject(in_py_self);
16-
SMultiColumnTableRow<TSharedPtr<struct FPythonItem>>::Construct(FSuperRowType::FArguments(), InOwnerTableView);
20+
SMultiColumnTableRow<TSharedPtr<FPythonItem>>::Construct(FSuperRowType::FArguments(), InOwnerTableView);
1721
}
1822

1923
TSharedRef<SWidget> GenerateWidgetForColumn(const FName& ColumnName)
@@ -91,7 +95,7 @@ class SPythonMultiColumnTableRow : public SMultiColumnTableRow<TSharedPtr<struct
9195
private:
9296
PyObject * self = nullptr;
9397

94-
TSharedPtr<struct FPythonItem> RowPythonObject;
98+
TSharedPtr<FPythonItem> RowPythonObject;
9599
};
96100

97101
typedef struct

‎Source/UnrealEnginePython/Private/Slate/UEPySWidget.cpp‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
#include "UEPySWidget.h"
44

5+
#include "Runtime/Slate/Public/Framework/Application/SlateApplication.h"
6+
57
static PyObject *ue_PySWidget_str(ue_PySWidget *self)
68
{
79
#if PY_MAJOR_VERSION >= 3

‎Source/UnrealEnginePython/Private/Slate/UEPySWindow.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include "Windows/AllowWindowsPlatformTypes.h"
1010
#endif
1111

12-
12+
#include "Runtime/Slate/Public/Framework/Application/SlateApplication.h"
1313

1414
static PyObject *py_ue_swindow_set_title(ue_PySWindow *self, PyObject * args)
1515
{

‎Source/UnrealEnginePython/Private/Slate/UEPySlateDelegate.h‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
#include "PythonSmartDelegate.h"
55

66
#include "UEPySlatePythonItem.h"
7-
7+
#include "Runtime/Slate/Public/Widgets/Views/SHeaderRow.h"
8+
#include "Runtime/Slate/Public/Widgets/Docking/SDockTab.h"
9+
#include "Runtime/Slate/Public/Widgets/Views/STableRow.h"
10+
#include "Runtime/Slate/Public/Framework/MultiBox/MultiBoxExtender.h"
811
#include "AssetData.h"
912

1013
void unreal_engine_py_log_error();

‎Source/UnrealEnginePython/Private/SlateApplication/UEPyFSlateApplication.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include "UEPyFSlateApplication.h"
33

44
#include "Slate/UEPySWidget.h"
5+
#include "Runtime/Slate/Public/Framework/Application/SlateApplication.h"
56
#include "Runtime/SlateRHIRenderer/Public/Interfaces/ISlateRHIRendererModule.h"
67

78
static PyObject *py_ue_get_average_delta_time(PyObject *cls, PyObject * args)

‎Source/UnrealEnginePython/Private/UEPyEngine.cpp‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
#include "Runtime/Core/Public/Mac/CocoaThread.h"
2626
#endif
2727

28+
#include "Runtime/Slate/Public/Framework/Application/SlateApplication.h"
29+
#include "Runtime/CoreUObject/Public/UObject/UObjectIterator.h"
2830

2931
PyObject *py_unreal_engine_log(PyObject * self, PyObject * args)
3032
{

‎Source/UnrealEnginePython/Private/UEPyModule.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@
111111
#include "Engine/UserDefinedEnum.h"
112112
#endif
113113

114+
#include "Runtime/Core/Public/UObject/PropertyPortFlags.h"
114115

115116
#if ENGINE_MINOR_VERSION < 18
116117
#define USoftObjectProperty UAssetObjectProperty

‎Source/UnrealEnginePython/Private/UEPyTicker.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#pragma once
44

55
#include "UEPyModule.h"
6+
#include "Runtime/Core/Public/Containers/Ticker.h"
67

78
typedef struct
89
{

‎Source/UnrealEnginePython/Private/UObject/UEPyCapture.cpp‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ for a queue of UMovieSceneCapture objects
2222
#include "GameFramework/GameMode.h"
2323
#include "Runtime/CoreUObject/Public/Serialization/ObjectReader.h"
2424
#include "Runtime/CoreUObject/Public/Serialization/ObjectWriter.h"
25+
#include "Runtime/Slate/Public/Framework/Application/SlateApplication.h"
26+
#include "Runtime/Core/Public/Containers/Ticker.h"
2527

2628

2729
struct FInEditorMultiCapture : TSharedFromThis<FInEditorMultiCapture>

‎Source/UnrealEnginePython/Private/UObject/UEPyWorld.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include "Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h"
44
#include "EngineUtils.h"
55
#include "Kismet/GameplayStatics.h"
6+
#include "Runtime/CoreUObject/Public/UObject/UObjectIterator.h"
67

78
PyObject *py_ue_world_exec(ue_PyUObject *self, PyObject * args)
89
{

0 commit comments

Comments
 (0)