summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eo_mono
diff options
context:
space:
mode:
authorBruno da Silva Belo <bruno.belo@expertisesolutions.com.br>2019-11-04 14:40:18 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-11-04 14:53:54 -0300
commit0e6e9838089ec09321f948f6c46826bd444664e9 (patch)
tree9026ad6db3abcb686ff11d7953855f1f6613d708 /src/bindings/mono/eo_mono
parent0e71e0e286d97c4aaee76f1c079e2f00fc616cbf (diff)
csharp: Changing visibility of nested class/struct
Reviewers: felipealmeida, lauromoura, YOhoho Reviewed By: YOhoho Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8393 Differential Revision: https://phab.enlightenment.org/D10588
Diffstat (limited to 'src/bindings/mono/eo_mono')
-rw-r--r--src/bindings/mono/eo_mono/EoWrapper.cs4
-rw-r--r--src/bindings/mono/eo_mono/iwrapper.cs28
2 files changed, 17 insertions, 15 deletions
diff --git a/src/bindings/mono/eo_mono/EoWrapper.cs b/src/bindings/mono/eo_mono/EoWrapper.cs
index d49a5b5..621a8bc 100644
--- a/src/bindings/mono/eo_mono/EoWrapper.cs
+++ b/src/bindings/mono/eo_mono/EoWrapper.cs
@@ -81,7 +81,7 @@ public abstract class EoWrapper : IWrapper, IDisposable
81 /// <para>Since EFL 1.23.</para> 81 /// <para>Since EFL 1.23.</para>
82 /// </summary> 82 /// </summary>
83 /// <param name="wh">The native pointer to be wrapped.</param> 83 /// <param name="wh">The native pointer to be wrapped.</param>
84 protected EoWrapper(Efl.Eo.Globals.WrappingHandle wh) 84 internal EoWrapper(Efl.Eo.WrappingHandle wh)
85 { 85 {
86 handle = wh.NativeHandle; 86 handle = wh.NativeHandle;
87 AddWrapperSupervisor(); 87 AddWrapperSupervisor();
@@ -485,7 +485,7 @@ public abstract class EoWrapper : IWrapper, IDisposable
485/// But as <see cref="Efl.Object" /> is abstract, whis realized class will allow us to create C# instances of it.</summary> 485/// But as <see cref="Efl.Object" /> is abstract, whis realized class will allow us to create C# instances of it.</summary>
486internal class ObjectRealized : Efl.Object 486internal class ObjectRealized : Efl.Object
487{ 487{
488 protected ObjectRealized(Efl.Eo.Globals.WrappingHandle ch) : base(ch) { } 488 internal ObjectRealized(Efl.Eo.WrappingHandle ch) : base(ch) { }
489} 489}
490 490
491} // namespace Efl 491} // namespace Efl
diff --git a/src/bindings/mono/eo_mono/iwrapper.cs b/src/bindings/mono/eo_mono/iwrapper.cs
index f886167..4e3e2e4 100644
--- a/src/bindings/mono/eo_mono/iwrapper.cs
+++ b/src/bindings/mono/eo_mono/iwrapper.cs
@@ -759,23 +759,25 @@ public static class Globals
759 Monitor.Exit(Efl.All.InitLock); 759 Monitor.Exit(Efl.All.InitLock);
760 } 760 }
761 761
762 /// <summary>
763 /// Internal struct used by the binding to pass the native handle pointer
764 /// to the managed object wrapping constructor.
765 /// Internal usage only: do not use this class in inherited classes.
766 /// </summary>
767 public struct WrappingHandle
768 {
769 public WrappingHandle(IntPtr h)
770 {
771 NativeHandle = h;
772 }
773 762
774 public IntPtr NativeHandle { get; private set; }
775 }
776 763
777} // Globals 764} // Globals
778 765
766/// <summary>
767/// Internal struct used by the binding to pass the native handle pointer
768/// to the managed object wrapping constructor.
769/// Internal usage only: do not use this class in inherited classes.
770/// </summary>
771internal struct WrappingHandle
772{
773 public WrappingHandle(IntPtr h)
774 {
775 NativeHandle = h;
776 }
777
778 public IntPtr NativeHandle { get; private set; }
779}
780
779public static class Config 781public static class Config
780{ 782{
781 783