summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eo_mono
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-28 18:48:26 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-28 18:53:39 -0300
commit72da16f6794a688424318c1e22a2b00482acc103 (patch)
tree07bfcf78b0856cbd4d13f2a0c4f770cf02c46d2b /src/bindings/mono/eo_mono
parent7f2458b20d9a6ad4842e9a76f54fbcade25e5a77 (diff)
mono: encapsulate internal nativemethods
Summary: Depends on D10337 Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true Reviewers: lauromoura, segfaultxavi, Jaehyun_Cho Reviewed By: lauromoura Subscribers: cedric, #reviewers, woohyun, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10340
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.cs12
2 files changed, 8 insertions, 8 deletions
diff --git a/src/bindings/mono/eo_mono/EoWrapper.cs b/src/bindings/mono/eo_mono/EoWrapper.cs
index 8f9011c..d49a5b5 100644
--- a/src/bindings/mono/eo_mono/EoWrapper.cs
+++ b/src/bindings/mono/eo_mono/EoWrapper.cs
@@ -410,7 +410,7 @@ public abstract class EoWrapper : IWrapper, IDisposable
410 /// <para>For internal use by generated code only.</para> 410 /// <para>For internal use by generated code only.</para>
411 /// <para>Since EFL 1.23.</para> 411 /// <para>Since EFL 1.23.</para>
412 /// </summary> 412 /// </summary>
413 public abstract class NativeMethods : Efl.Eo.NativeClass 413 internal abstract class NativeMethods : Efl.Eo.NativeClass
414 { 414 {
415 private static EflConstructorDelegate csharpEflConstructorStaticDelegate = new EflConstructorDelegate(Constructor); 415 private static EflConstructorDelegate csharpEflConstructorStaticDelegate = new EflConstructorDelegate(Constructor);
416 private static Efl.Eo.NativeModule EoModule = new Efl.Eo.NativeModule("eo"); 416 private static Efl.Eo.NativeModule EoModule = new Efl.Eo.NativeModule("eo");
@@ -421,7 +421,7 @@ public abstract class EoWrapper : IWrapper, IDisposable
421 /// <para>Since EFL 1.23.</para> 421 /// <para>Since EFL 1.23.</para>
422 /// </summary> 422 /// </summary>
423 /// <returns>The list of Eo operations to be overload.</returns> 423 /// <returns>The list of Eo operations to be overload.</returns>
424 public override System.Collections.Generic.List<EflOpDescription> GetEoOps(Type type, bool includeInherited) 424 internal override System.Collections.Generic.List<EflOpDescription> GetEoOps(Type type, bool includeInherited)
425 { 425 {
426 var descs = new System.Collections.Generic.List<EflOpDescription>(); 426 var descs = new System.Collections.Generic.List<EflOpDescription>();
427 427
diff --git a/src/bindings/mono/eo_mono/iwrapper.cs b/src/bindings/mono/eo_mono/iwrapper.cs
index 3c4b8e0..32715fa 100644
--- a/src/bindings/mono/eo_mono/iwrapper.cs
+++ b/src/bindings/mono/eo_mono/iwrapper.cs
@@ -795,23 +795,23 @@ public static class Config
795 AllowMultiple = false, 795 AllowMultiple = false,
796 Inherited = false) 796 Inherited = false)
797] 797]
798public abstract class NativeClass : System.Attribute 798abstract class NativeClass : System.Attribute
799{ 799{
800 public abstract IntPtr GetEflClass(); 800 internal abstract IntPtr GetEflClass();
801 public abstract System.Collections.Generic.List<EflOpDescription> GetEoOps(System.Type type, bool includeInherited); 801 internal abstract System.Collections.Generic.List<EflOpDescription> GetEoOps(System.Type type, bool includeInherited);
802} 802}
803 803
804/// <summary>Attribute for private native classes. 804/// <summary>Attribute for private native classes.
805/// 805///
806/// <para>For internal usage by generated code only.</para></summary> 806/// <para>For internal usage by generated code only.</para></summary>
807public class PrivateNativeClass : NativeClass 807class PrivateNativeClass : NativeClass
808{ 808{
809 public override IntPtr GetEflClass() 809 internal override IntPtr GetEflClass()
810 { 810 {
811 return IntPtr.Zero; 811 return IntPtr.Zero;
812 } 812 }
813 813
814 public override System.Collections.Generic.List<EflOpDescription> GetEoOps(System.Type type, bool includeInherited) 814 internal override System.Collections.Generic.List<EflOpDescription> GetEoOps(System.Type type, bool includeInherited)
815 { 815 {
816 return null; 816 return null;
817 } 817 }