From 995a40e8efa9f7a868a6706e30c476305e16180b Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Wed, 12 Sep 2018 21:22:43 +0200 Subject: Move modules/mono/glue/cs_files to modules/mono/glue/Managed/Files Added dummy MSBuild project and solution to get tooling help when editing these files. --- modules/mono/glue/Managed/IgnoredFiles/Enums.cs | 21 ++++++++++++++++ modules/mono/glue/Managed/IgnoredFiles/FuncRef.cs | 17 +++++++++++++ modules/mono/glue/Managed/IgnoredFiles/Node.cs | 28 ++++++++++++++++++++++ modules/mono/glue/Managed/IgnoredFiles/Resource.cs | 7 ++++++ .../glue/Managed/IgnoredFiles/ResourceLoader.cs | 12 ++++++++++ modules/mono/glue/Managed/IgnoredFiles/WeakRef.cs | 7 ++++++ 6 files changed, 92 insertions(+) create mode 100644 modules/mono/glue/Managed/IgnoredFiles/Enums.cs create mode 100644 modules/mono/glue/Managed/IgnoredFiles/FuncRef.cs create mode 100644 modules/mono/glue/Managed/IgnoredFiles/Node.cs create mode 100644 modules/mono/glue/Managed/IgnoredFiles/Resource.cs create mode 100644 modules/mono/glue/Managed/IgnoredFiles/ResourceLoader.cs create mode 100644 modules/mono/glue/Managed/IgnoredFiles/WeakRef.cs (limited to 'modules/mono/glue/Managed/IgnoredFiles') diff --git a/modules/mono/glue/Managed/IgnoredFiles/Enums.cs b/modules/mono/glue/Managed/IgnoredFiles/Enums.cs new file mode 100644 index 0000000000..05f1abcf93 --- /dev/null +++ b/modules/mono/glue/Managed/IgnoredFiles/Enums.cs @@ -0,0 +1,21 @@ + +namespace Godot +{ + public enum Margin + { + Left = 0, + Top = 1, + Right = 2, + Bottom = 3 + } + + public enum Error + { + Ok = 0 + } + + public enum PropertyHint + { + None = 0 + } +} diff --git a/modules/mono/glue/Managed/IgnoredFiles/FuncRef.cs b/modules/mono/glue/Managed/IgnoredFiles/FuncRef.cs new file mode 100644 index 0000000000..83504fe49f --- /dev/null +++ b/modules/mono/glue/Managed/IgnoredFiles/FuncRef.cs @@ -0,0 +1,17 @@ +using System; + +namespace Godot +{ + public partial class FuncRef + { + public void SetInstance(Object instance) + { + throw new NotImplementedException(); + } + + public void SetFunction(string name) + { + throw new NotImplementedException(); + } + } +} diff --git a/modules/mono/glue/Managed/IgnoredFiles/Node.cs b/modules/mono/glue/Managed/IgnoredFiles/Node.cs new file mode 100644 index 0000000000..99ba0f827a --- /dev/null +++ b/modules/mono/glue/Managed/IgnoredFiles/Node.cs @@ -0,0 +1,28 @@ + +using System; + +namespace Godot +{ + public partial class Node + { + public Node GetChild(int idx) + { + throw new NotImplementedException(); + } + + public Node GetNode(NodePath path) + { + throw new NotImplementedException(); + } + + public Node GetOwner() + { + throw new NotImplementedException(); + } + + public Node GetParent() + { + throw new NotImplementedException(); + } + } +} diff --git a/modules/mono/glue/Managed/IgnoredFiles/Resource.cs b/modules/mono/glue/Managed/IgnoredFiles/Resource.cs new file mode 100644 index 0000000000..cc0a5555b1 --- /dev/null +++ b/modules/mono/glue/Managed/IgnoredFiles/Resource.cs @@ -0,0 +1,7 @@ +namespace Godot +{ + public partial class Resource + { + + } +} diff --git a/modules/mono/glue/Managed/IgnoredFiles/ResourceLoader.cs b/modules/mono/glue/Managed/IgnoredFiles/ResourceLoader.cs new file mode 100644 index 0000000000..6461d35146 --- /dev/null +++ b/modules/mono/glue/Managed/IgnoredFiles/ResourceLoader.cs @@ -0,0 +1,12 @@ +using System; + +namespace Godot +{ + public partial class ResourceLoader + { + public static Resource Load(string path, string typeHint = "", bool pNoCache = false) + { + throw new NotImplementedException(); + } + } +} diff --git a/modules/mono/glue/Managed/IgnoredFiles/WeakRef.cs b/modules/mono/glue/Managed/IgnoredFiles/WeakRef.cs new file mode 100644 index 0000000000..1498b7836b --- /dev/null +++ b/modules/mono/glue/Managed/IgnoredFiles/WeakRef.cs @@ -0,0 +1,7 @@ +namespace Godot +{ + public partial class WeakRef + { + + } +} -- cgit v1.2.3