//------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.9
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Dali {
using System;
using System.Runtime.InteropServices;
public class ObjectRegistry : BaseHandle {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal ObjectRegistry(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ObjectRegistry_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ObjectRegistry obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~ObjectRegistry() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
NDalicPINVOKE.delete_ObjectRegistry(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
base.Dispose();
}
}
public class ObjectCreatedEventArgs : EventArgs
{
private BaseHandle _baseHandle;
public BaseHandle BaseHandle
{
get
{
return _baseHandle;
}
set
{
_baseHandle = value;
}
}
}
public class ObjectDestroyedEventArgs : EventArgs
{
private RefObject _refObject;
public RefObject RefObject
{
get
{
return _refObject;
}
set
{
_refObject = value;
}
}
}
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
private delegate void ObjectCreatedEventCallbackDelegate(IntPtr baseHandle);
private DaliEventHandler