using System; namespace rail { public class IRailIMEHelperImpl : RailObject, IRailIMEHelper { internal IRailIMEHelperImpl(IntPtr cPtr) { swigCPtr_ = cPtr; } ~IRailIMEHelperImpl() { } public virtual RailResult EnableIMEHelperTextInputWindow(bool enable, RailTextInputImeWindowOption option) { IntPtr intPtr = ((option != null) ? RAIL_API_PINVOKE.new_RailTextInputImeWindowOption__SWIG_0() : IntPtr.Zero); if (option != null) { RailConverter.Csharp2Cpp(option, intPtr); } try { return (RailResult)RAIL_API_PINVOKE.IRailIMEHelper_EnableIMEHelperTextInputWindow(swigCPtr_, enable, intPtr); } finally { RAIL_API_PINVOKE.delete_RailTextInputImeWindowOption(intPtr); } } public virtual RailResult UpdateIMEHelperTextInputWindowPosition(RailWindowPosition position) { IntPtr intPtr = ((position != null) ? RAIL_API_PINVOKE.new_RailWindowPosition__SWIG_0() : IntPtr.Zero); if (position != null) { RailConverter.Csharp2Cpp(position, intPtr); } try { return (RailResult)RAIL_API_PINVOKE.IRailIMEHelper_UpdateIMEHelperTextInputWindowPosition(swigCPtr_, intPtr); } finally { RAIL_API_PINVOKE.delete_RailWindowPosition(intPtr); } } } }