1 //------------------------------------------------------------------------------
\r
2 // <auto-generated />
\r
4 // This file was automatically generated by SWIG (http://www.swig.org).
\r
7 // Do not make changes to this file unless you know what you are doing--modify
\r
8 // the SWIG interface file instead.
\r
9 //------------------------------------------------------------------------------
\r
14 public class RelayoutContainer : global::System.IDisposable
\r
16 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
\r
17 protected bool swigCMemOwn;
\r
19 internal RelayoutContainer(global::System.IntPtr cPtr, bool cMemoryOwn)
\r
21 swigCMemOwn = cMemoryOwn;
\r
22 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
\r
25 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RelayoutContainer obj)
\r
27 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
\r
30 ~RelayoutContainer()
\r
32 DisposeQueue.Instance.Add(this);
\r
35 public virtual void Dispose()
\r
37 if (!Stage.IsInstalled())
\r
39 DisposeQueue.Instance.Add(this);
\r
45 if (swigCPtr.Handle != global::System.IntPtr.Zero)
\r
49 swigCMemOwn = false;
\r
50 NDalicPINVOKE.delete_RelayoutContainer(swigCPtr);
\r
52 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
\r
54 global::System.GC.SuppressFinalize(this);
\r
59 public virtual void Add(Actor actor, Size2D size)
\r
61 NDalicPINVOKE.RelayoutContainer_Add(swigCPtr, Actor.getCPtr(actor), Size2D.getCPtr(size));
\r
62 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
\r