1 //------------------------------------------------------------------------------
4 // This file was automatically generated by SWIG (http://www.swig.org).
7 // Do not make changes to this file unless you know what you are doing--modify
8 // the SWIG interface file instead.
9 //------------------------------------------------------------------------------
14 using System.Runtime.InteropServices;
17 public class ImfManager : BaseHandle
19 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
21 internal ImfManager(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicManualPINVOKE.ImfManager_SWIGUpcast(cPtr), cMemoryOwn)
23 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
26 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ImfManager obj)
28 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
36 public override void Dispose()
40 if (swigCPtr.Handle != global::System.IntPtr.Zero)
45 NDalicManualPINVOKE.delete_ImfManager(swigCPtr);
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
49 global::System.GC.SuppressFinalize(this);
54 public class ImfEventData : global::System.IDisposable
56 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
57 protected bool swigCMemOwn;
59 internal ImfEventData(global::System.IntPtr cPtr, bool cMemoryOwn)
61 swigCMemOwn = cMemoryOwn;
62 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
65 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ImfEventData obj)
67 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
75 public virtual void Dispose()
79 if (swigCPtr.Handle != global::System.IntPtr.Zero)
84 NDalicManualPINVOKE.delete_ImfManager_ImfEventData(swigCPtr);
86 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
88 global::System.GC.SuppressFinalize(this);
92 public ImfEventData() : this(NDalicManualPINVOKE.new_ImfManager_ImfEventData__SWIG_0(), true)
94 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
97 public ImfEventData(ImfManager.ImfEvent aEventName, string aPredictiveString, int aCursorOffset, int aNumberOfChars) : this(NDalicManualPINVOKE.new_ImfManager_ImfEventData__SWIG_1((int)aEventName, aPredictiveString, aCursorOffset, aNumberOfChars), true)
99 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
102 public string predictiveString
106 NDalicManualPINVOKE.ImfManager_ImfEventData_predictiveString_set(swigCPtr, value);
107 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
111 string ret = NDalicManualPINVOKE.ImfManager_ImfEventData_predictiveString_get(swigCPtr);
112 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
117 public ImfManager.ImfEvent eventName
121 NDalicManualPINVOKE.ImfManager_ImfEventData_eventName_set(swigCPtr, (int)value);
122 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
126 ImfManager.ImfEvent ret = (ImfManager.ImfEvent)NDalicManualPINVOKE.ImfManager_ImfEventData_eventName_get(swigCPtr);
127 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
132 public int cursorOffset
136 NDalicManualPINVOKE.ImfManager_ImfEventData_cursorOffset_set(swigCPtr, value);
137 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
141 int ret = NDalicManualPINVOKE.ImfManager_ImfEventData_cursorOffset_get(swigCPtr);
142 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
147 public int numberOfChars
151 NDalicManualPINVOKE.ImfManager_ImfEventData_numberOfChars_set(swigCPtr, value);
152 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
156 int ret = NDalicManualPINVOKE.ImfManager_ImfEventData_numberOfChars_get(swigCPtr);
157 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
164 public class ImfCallbackData : global::System.IDisposable
166 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
167 protected bool swigCMemOwn;
169 internal ImfCallbackData(global::System.IntPtr cPtr, bool cMemoryOwn)
171 swigCMemOwn = cMemoryOwn;
172 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
175 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ImfCallbackData obj)
177 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
185 public virtual void Dispose()
189 if (swigCPtr.Handle != global::System.IntPtr.Zero)
194 NDalicManualPINVOKE.delete_ImfManager_ImfCallbackData(swigCPtr);
196 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
198 global::System.GC.SuppressFinalize(this);
202 public ImfCallbackData() : this(NDalicManualPINVOKE.new_ImfManager_ImfCallbackData__SWIG_0(), true)
204 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
207 public ImfCallbackData(bool aUpdate, int aCursorPosition, string aCurrentText, bool aPreeditResetRequired) : this(NDalicManualPINVOKE.new_ImfManager_ImfCallbackData__SWIG_1(aUpdate, aCursorPosition, aCurrentText, aPreeditResetRequired), true)
209 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
212 public string currentText
216 NDalicManualPINVOKE.ImfManager_ImfCallbackData_currentText_set(swigCPtr, value);
217 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
221 string ret = NDalicManualPINVOKE.ImfManager_ImfCallbackData_currentText_get(swigCPtr);
222 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
227 public int cursorPosition
231 NDalicManualPINVOKE.ImfManager_ImfCallbackData_cursorPosition_set(swigCPtr, value);
232 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
236 int ret = NDalicManualPINVOKE.ImfManager_ImfCallbackData_cursorPosition_get(swigCPtr);
237 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
246 NDalicManualPINVOKE.ImfManager_ImfCallbackData_update_set(swigCPtr, value);
247 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
251 bool ret = NDalicManualPINVOKE.ImfManager_ImfCallbackData_update_get(swigCPtr);
252 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
257 public bool preeditResetRequired
261 NDalicManualPINVOKE.ImfManager_ImfCallbackData_preeditResetRequired_set(swigCPtr, value);
262 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
266 bool ret = NDalicManualPINVOKE.ImfManager_ImfCallbackData_preeditResetRequired_get(swigCPtr);
267 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
274 public static ImfManager Get()
276 ImfManager ret = new ImfManager(NDalicManualPINVOKE.ImfManager_Get(), true);
277 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
281 public void Activate()
283 NDalicManualPINVOKE.ImfManager_Activate(swigCPtr);
284 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
287 public void Deactivate()
289 NDalicManualPINVOKE.ImfManager_Deactivate(swigCPtr);
290 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
293 public bool RestoreAfterFocusLost()
295 bool ret = NDalicManualPINVOKE.ImfManager_RestoreAfterFocusLost(swigCPtr);
296 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
300 public void SetRestoreAfterFocusLost(bool toggle)
302 NDalicManualPINVOKE.ImfManager_SetRestoreAfterFocusLost(swigCPtr, toggle);
303 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
306 public new void Reset()
308 NDalicManualPINVOKE.ImfManager_Reset(swigCPtr);
309 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
312 public void NotifyCursorPosition()
314 NDalicManualPINVOKE.ImfManager_NotifyCursorPosition(swigCPtr);
315 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
318 public void SetCursorPosition(uint cursorPosition)
320 NDalicManualPINVOKE.ImfManager_SetCursorPosition(swigCPtr, cursorPosition);
321 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
324 public uint GetCursorPosition()
326 uint ret = NDalicManualPINVOKE.ImfManager_GetCursorPosition(swigCPtr);
327 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
331 public void SetSurroundingText(string text)
333 NDalicManualPINVOKE.ImfManager_SetSurroundingText(swigCPtr, text);
334 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
337 public string GetSurroundingText()
339 string ret = NDalicManualPINVOKE.ImfManager_GetSurroundingText(swigCPtr);
340 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
344 public void NotifyTextInputMultiLine(bool multiLine)
346 NDalicManualPINVOKE.ImfManager_NotifyTextInputMultiLine(swigCPtr, multiLine);
347 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
350 public ImfManager.TextDirection GetTextDirection()
352 ImfManager.TextDirection ret = (ImfManager.TextDirection)NDalicManualPINVOKE.ImfManager_GetTextDirection(swigCPtr);
353 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
357 public Rectangle GetInputMethodArea()
359 Rectangle ret = new Rectangle(NDalicManualPINVOKE.ImfManager_GetInputMethodArea(swigCPtr), true);
360 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
364 public void ApplyOptions(SWIGTYPE_p_InputMethodOptions options)
366 NDalicManualPINVOKE.ImfManager_ApplyOptions(swigCPtr, SWIGTYPE_p_InputMethodOptions.getCPtr(options));
367 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
370 public void SetInputPanelUserData(string text)
372 NDalicManualPINVOKE.ImfManager_SetInputPanelUserData(swigCPtr, text);
373 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
376 public void GetInputPanelUserData(string text)
378 NDalicManualPINVOKE.ImfManager_GetInputPanelUserData(swigCPtr, text);
379 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
382 public ImfManager.State GetInputPanelState()
384 ImfManager.State ret = (ImfManager.State)NDalicManualPINVOKE.ImfManager_GetInputPanelState(swigCPtr);
385 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
389 public void SetReturnKeyState(bool visible)
391 NDalicManualPINVOKE.ImfManager_SetReturnKeyState(swigCPtr, visible);
392 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
395 public void AutoEnableInputPanel(bool enabled)
397 NDalicManualPINVOKE.ImfManager_AutoEnableInputPanel(swigCPtr, enabled);
398 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
401 public void ShowInputPanel()
403 NDalicManualPINVOKE.ImfManager_ShowInputPanel(swigCPtr);
404 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
407 public void HideInputPanel()
409 NDalicManualPINVOKE.ImfManager_HideInputPanel(swigCPtr);
410 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
414 public SWIGTYPE_p_Dali__SignalT_void_fDali__ImfManager_RF_t ActivatedSignal()
416 SWIGTYPE_p_Dali__SignalT_void_fDali__ImfManager_RF_t ret = new SWIGTYPE_p_Dali__SignalT_void_fDali__ImfManager_RF_t(NDalicManualPINVOKE.ImfManager_ActivatedSignal(swigCPtr), false);
417 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
421 public SWIGTYPE_p_Dali__SignalT_Dali__ImfManager__ImfCallbackData_fDali__ImfManager_R_Dali__ImfManager__ImfEventData_const_RF_t EventReceivedSignal()
423 SWIGTYPE_p_Dali__SignalT_Dali__ImfManager__ImfCallbackData_fDali__ImfManager_R_Dali__ImfManager__ImfEventData_const_RF_t ret = new SWIGTYPE_p_Dali__SignalT_Dali__ImfManager__ImfCallbackData_fDali__ImfManager_R_Dali__ImfManager__ImfEventData_const_RF_t(NDalicManualPINVOKE.ImfManager_EventReceivedSignal(swigCPtr), false);
424 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
428 public WindowFocusSignalType StatusChangedSignal()
430 WindowFocusSignalType ret = new WindowFocusSignalType(NDalicManualPINVOKE.ImfManager_StatusChangedSignal(swigCPtr), false);
431 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
435 public VoidSignal ResizedSignal()
437 VoidSignal ret = new VoidSignal(NDalicManualPINVOKE.ImfManager_ResizedSignal(swigCPtr), false);
438 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
442 public VoidSignal LanguageChangedSignal()
444 VoidSignal ret = new VoidSignal(NDalicManualPINVOKE.ImfManager_LanguageChangedSignal(swigCPtr), false);
445 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
450 public ImfManager() : this(NDalicManualPINVOKE.new_ImfManager__SWIG_0(), true)
452 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
455 public ImfManager(SWIGTYPE_p_Dali__Internal__Adaptor__ImfManager imfManager) : this(NDalicManualPINVOKE.new_ImfManager__SWIG_1(SWIGTYPE_p_Dali__Internal__Adaptor__ImfManager.getCPtr(imfManager)), true)
457 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
460 public enum TextDirection
486 ///////////////////////////////////////////////////////////////////////////////
487 public static ImfManager GetImfManagerFromPtr(global::System.IntPtr cPtr)
489 ImfManager ret = new ImfManager(cPtr, false);
490 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
494 public class ImfManagerActivatedEventArgs : EventArgs
496 public ImfManager ImfManager
503 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
504 private delegate void ImfManagerActivatedEventCallbackType(global::System.IntPtr data);
505 private ImfManagerActivatedEventCallbackType _imfManagerActivatedEventCallback;
507 private event EventHandler<ImfManagerActivatedEventArgs> _imfManagerActivatedEventHandler;
509 public event EventHandler<ImfManagerActivatedEventArgs> ImfManagerActivated
513 if (_imfManagerActivatedEventHandler == null)
515 _imfManagerActivatedEventCallback = OnImfManagerActivated;
516 ActivatedSignal().Connect(_imfManagerActivatedEventCallback);
519 _imfManagerActivatedEventHandler += value;
523 _imfManagerActivatedEventHandler -= value;
525 if (_imfManagerActivatedEventHandler == null && _imfManagerActivatedEventCallback != null)
527 ActivatedSignal().Disconnect(_imfManagerActivatedEventCallback);
532 private void OnImfManagerActivated(global::System.IntPtr data)
534 ImfManagerActivatedEventArgs e = new ImfManagerActivatedEventArgs();
536 e.ImfManager = ImfManager.GetImfManagerFromPtr(data);
538 if (_imfManagerActivatedEventHandler != null)
540 _imfManagerActivatedEventHandler(this, e);
544 public ActivatedSignalType ActivatedSignal()
546 ActivatedSignalType ret = new ActivatedSignalType(NDalicManualPINVOKE.ImfManager_ActivatedSignal(swigCPtr), false);
547 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
551 // EventReceivedSignal
552 public class ImfManagerEventReceivedArgs : EventArgs
554 public ImfManager ImfManager
561 private delegate void ImfManagerEventReceivedEventCallbackType(global::System.IntPtr data);
562 private ImfManagerEventReceivedEventCallbackType _imfManagerEventReceivedEventCallback;
564 private event EventHandler<ImfManageEventReceivedEventArgs> _imfManagerEventReceivedEventHandler;
566 public event EventHandler<ImfManagerEventReceivedEventArgs> ImfManagerEventReceived
570 if (_imfManageEventReceivedEventHandler == null)
572 _imfManagerEventReceivedEventCallback = OnImfManagerEventReceived;
573 EventReceivedSignal().Connect(_imfManagerEventReceivedEventCallback);
576 _imfManagerEventReceivedEventHandler += value;
580 _imfManagerEventReceivedEventHandler -= value;
582 if (_imfManagerEventReceivedEventHandler == null && _imfManagerEventReceivedEventCallback != null)
584 EventReceivedSignal().Disconnect(_imfManagerEventReceivedEventCallback);
589 private void OnImfManagerEventReceived(global::System.IntPtr data)
591 ImfManagerEventReceivedEventArgs e = new ImfManagerEventReceivedEventArgs();
593 e.ImfManager = ImfManager.GetImfManagerFromPtr(data);
595 if (_imfManagerEventReceivedEventHandler != null)
597 _imfManagerEventReceivedEventHandler(this, e);
601 public ImfEventSignalType EventReceivedSignal()
603 ImfEventSignalType ret = new ImfEventSignalType(NDalicManualPINVOKE.ImfManager_EventReceivedSignal(swigCPtr), false);
604 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
608 // StatusChangedSignal
609 public class ImfManagerStatusChangedArgs : EventArgs
611 public ImfManager ImfManager
618 private delegate void ImfManagerStatusChangedEventCallbackType(global::System.IntPtr data);
619 private ImfManagerStatusChangedEventCallbackType _imfManagerStatusChangedEventCallback;
621 private event EventHandler<ImfManageStatusChangedEventArgs> _imfManagerStatusChangedEventHandler;
623 public event EventHandler<ImfManagerStatusChangedEventArgs> ImfManagerStatusChanged
627 if (_imfManageStatusChangedEventHandler == null)
629 _imfManagerStatusChangedEventCallback = OnImfManagerStatusChanged;
630 StatusChangedSignal().Connect(_imfManagerStatusChangedEventCallback);
633 _imfManagerStatusChangedEventHandler += value;
637 _imfManagerStatusChangedEventHandler -= value;
639 if (_imfManagerStatusChangedEventHandler == null && _imfManagerStatusChangedEventCallback != null)
641 StatusChangedSignal().Disconnect(_imfManagerStatusChangedEventCallback);
646 private void OnImfManagerStatusChanged(global::System.IntPtr data)
648 ImfManagerStatusChangedEventArgs e = new ImfManagerStatusChangedEventArgs();
650 e.ImfManager = ImfManager.GetImfManagerFromPtr(data);
652 if (_imfManagerStatusChangedEventHandler != null)
654 _imfManagerStatusChangedEventHandler(this, e);
658 public StatusSignalType StatusChangedSignal()
660 StatusSignalType ret = new StatusSignalType(NDalicManualPINVOKE.ImfManager_StatusChangedSignal(swigCPtr), false);
661 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
666 public class ImfManagerResizedArgs : EventArgs
668 public ImfManager ImfManager
675 private delegate void ImfManagerResizedEventCallbackType(global::System.IntPtr data);
676 private ImfManagerResizedEventCallbackType _imfManagerResizedEventCallback;
678 private event EventHandler<ImfManageResizedEventArgs> _imfManagerResizedEventHandler;
680 public event EventHandler<ImfManagerResizedEventArgs> ImfManagerResized
684 if (_imfManageResizedEventHandler == null)
686 _imfManagerResizedEventCallback = OnImfManagerResized;
687 ResizedSignal().Connect(_imfManagerResizedEventCallback);
690 _imfManagerResizedEventHandler += value;
694 _imfManagerResizedEventHandler -= value;
696 if (_imfManagerResizedEventHandler == null && _imfManagerResizedEventCallback != null)
698 ResizedSignal().Disconnect(_imfManagerResizedEventCallback);
703 private void OnImfManagerResized(global::System.IntPtr data)
705 ImfManagerResizedEventArgs e = new ImfManagerResizedEventArgs();
707 e.ImfManager = ImfManager.GetImfManagerFromPtr(data);
709 if (_imfManagerResizedEventHandler != null)
711 _imfManagerResizedEventHandler(this, e);
715 public ImfVoidSignalType ResizedSignal()
717 ImfVoidSignalType ret = new ImfVoidSignalType(NDalicManualPINVOKE.ImfManager_ResizedSignal(swigCPtr));
718 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
722 // LanguageChangedSignal
723 public class ImfManagerLanguageChangedArgs : EventArgs
725 public ImfManager ImfManager
732 private delegate void ImfManagerLanguageChangedEventCallbackType(global::System.IntPtr data);
733 private ImfManagerLanguageChangedEventCallbackType _imfManagerLanguageChangedEventCallback;
735 private event EventHandler<ImfManageLanguageChangedEventArgs> _imfManagerLanguageChangedEventHandler;
737 public event EventHandler<ImfManagerLanguageChangedEventArgs> ImfManagerLanguageChanged
741 if (_imfManageLanguageChangedEventHandler == null)
743 _imfManagerLanguageChangedEventCallback = OnImfManagerLanguageChanged;
744 LanguageChangedSignal().Connect(_imfManagerLanguageChangedEventCallback);
747 _imfManagerLanguageChangedEventHandler += value;
751 _imfManagerLanguageChangedEventHandler -= value;
753 if (_imfManagerLanguageChangedEventHandler == null && _imfManagerLanguageChangedEventCallback != null)
755 LanguageChangedSignal().Disconnect(_imfManagerLanguageChangedEventCallback);
760 private void OnImfManagerLanguageChanged(global::System.IntPtr data)
762 ImfManagerLanguageChangedEventArgs e = new ImfManagerLanguageChangedEventArgs();
764 e.ImfManager = ImfManager.GetImfManagerFromPtr(data);
766 if (_imfManagerLanguageChangedEventHandler != null)
768 _imfManagerLanguageChangedEventHandler(this, e);
772 public ImfVoidSignalType LanguageChangedSignal()
774 ImfVoidSignalType ret = new ImfVoidSignalType(NDalicManualPINVOKE.ImfManager_LanguageChangedSignal(swigCPtr));
775 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
780 ///////////////////////////////////////////////////////////////////////////////
781 public class SWIGTYPE_p_Dali__Internal__Adaptor__ImfManager
783 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
785 internal SWIGTYPE_p_Dali__Internal__Adaptor__ImfManager(global::System.IntPtr cPtr, bool futureUse)
787 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
790 protected SWIGTYPE_p_Dali__Internal__Adaptor__ImfManager()
792 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
795 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Dali__Internal__Adaptor__ImfManager obj)
797 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
801 public class SWIGTYPE_p_InputMethodOptions
803 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
805 internal SWIGTYPE_p_InputMethodOptions(global::System.IntPtr cPtr, bool futureUse)
807 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
810 protected SWIGTYPE_p_InputMethodOptions()
812 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
815 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_InputMethodOptions obj)
817 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
821 ///////////////////////////////////////////////////////////////////////////////
822 public class ActivatedSignalType : global::System.IDisposable
824 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
825 protected bool swigCMemOwn;
827 internal ActivatedSignalType(global::System.IntPtr cPtr, bool cMemoryOwn)
829 swigCMemOwn = cMemoryOwn;
830 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
833 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ActivatedSignalType obj)
835 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
838 ~ActivatedSignalType()
843 public virtual void Dispose()
847 if (swigCPtr.Handle != global::System.IntPtr.Zero)
852 NDalicManualPINVOKE.delete_ActivatedSignalType(swigCPtr);
854 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
856 global::System.GC.SuppressFinalize(this);
862 bool ret = NDalicManualPINVOKE.ActivatedSignalType_Empty(swigCPtr);
863 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
867 public uint GetConnectionCount()
869 uint ret = NDalicManualPINVOKE.ActivatedSignalType_GetConnectionCount(swigCPtr);
870 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
874 public void Connect(System.Delegate func)
876 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
878 NDalicManualPINVOKE.ActivatedSignalType_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
879 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
883 public void Disconnect(System.Delegate func)
885 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
887 NDalicManualPINVOKE.ActivatedSignalType_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
888 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
892 public void Emit(bool arg)
894 NDalicManualPINVOKE.ActivatedSignalType_Emit(swigCPtr, arg);
895 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
898 public ActivatedSignalType() : this(NDalicManualPINVOKE.new_ActivatedSignalType(), true)
900 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
905 ///////////////////////////////////////////////////////////////////////////////
906 public class ImfEventSignalType : global::System.IDisposable
908 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
909 protected bool swigCMemOwn;
911 internal ImfEventSignalType(global::System.IntPtr cPtr, bool cMemoryOwn)
913 swigCMemOwn = cMemoryOwn;
914 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
917 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ImfEventSignalType obj)
919 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
922 ~ImfEventSignalType()
927 public virtual void Dispose()
931 if (swigCPtr.Handle != global::System.IntPtr.Zero)
936 NDalicManualPINVOKE.delete_ImfEventSignalType(swigCPtr);
938 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
940 global::System.GC.SuppressFinalize(this);
946 bool ret = NDalicManualPINVOKE.ImfEventSignalType_Empty(swigCPtr);
947 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
951 public uint GetConnectionCount()
953 uint ret = NDalicManualPINVOKE.ImfEventSignalType_GetConnectionCount(swigCPtr);
954 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
958 public void Connect(System.Delegate func)
960 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
962 NDalicManualPINVOKE.ImfEventSignalType_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
963 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
967 public void Disconnect(System.Delegate func)
969 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
971 NDalicManualPINVOKE.ImfEventSignalType_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
972 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
976 public void Emit(bool arg1, bool arg2)
978 NDalicManualPINVOKE.ImfEventSignalType_Emit(swigCPtr, arg1, agr2);
979 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
982 public ImfEventSignalType() : this(NDalicManualPINVOKE.new_ImfEventSignalType(), true)
984 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
989 ///////////////////////////////////////////////////////////////////////////////
990 public class StatusSignalType : global::System.IDisposable
992 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
993 protected bool swigCMemOwn;
995 internal StatusSignalType(global::System.IntPtr cPtr, bool cMemoryOwn)
997 swigCMemOwn = cMemoryOwn;
998 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
1001 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StatusSignalType obj)
1003 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
1011 public virtual void Dispose()
1015 if (swigCPtr.Handle != global::System.IntPtr.Zero)
1019 swigCMemOwn = false;
1020 NDalicManualPINVOKE.delete_StatusSignalType(swigCPtr);
1022 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
1024 global::System.GC.SuppressFinalize(this);
1030 bool ret = NDalicManualPINVOKE.StatusSignalType_Empty(swigCPtr);
1031 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1035 public uint GetConnectionCount()
1037 uint ret = NDalicManualPINVOKE.StatusSignalType_GetConnectionCount(swigCPtr);
1038 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1042 public void Connect(System.Delegate func)
1044 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
1046 NDalicManualPINVOKE.StatusSignalType_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
1047 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1051 public void Disconnect(System.Delegate func)
1053 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
1055 NDalicManualPINVOKE.StatusSignalType_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
1056 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1060 public void Emit(bool arg)
1062 NDalicManualPINVOKE.StatusSignalType_Emit(swigCPtr, arg);
1063 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1066 public StatusSignalType() : this(NDalicManualPINVOKE.new_StatusSignalType(), true)
1068 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1073 ///////////////////////////////////////////////////////////////////////////////
1074 public class ImfVoidSignalType : global::System.IDisposable
1076 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
1077 protected bool swigCMemOwn;
1079 internal ImfVoidSignalType(global::System.IntPtr cPtr, bool cMemoryOwn)
1081 swigCMemOwn = cMemoryOwn;
1082 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
1085 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ImfVoidSignalType obj)
1087 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
1090 ~ImfVoidSignalType()
1095 public virtual void Dispose()
1099 if (swigCPtr.Handle != global::System.IntPtr.Zero)
1103 swigCMemOwn = false;
1104 NDalicManualPINVOKE.delete_ImfVoidSignalType(swigCPtr);
1106 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
1108 global::System.GC.SuppressFinalize(this);
1114 bool ret = NDalicManualPINVOKE.ImfVoidSignalType_Empty(swigCPtr);
1115 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1119 public uint GetConnectionCount()
1121 uint ret = NDalicManualPINVOKE.ImfVoidSignalType_GetConnectionCount(swigCPtr);
1122 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1126 public void Connect(System.Delegate func)
1128 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
1130 NDalicManualPINVOKE.ImfVoidSignalType_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
1131 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1135 public void Disconnect(System.Delegate func)
1137 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
1139 NDalicManualPINVOKE.ImfVoidSignalType_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
1140 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1146 NDalicManualPINVOKE.ImfVoidSignalType_Emit(swigCPtr);
1147 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1150 public ImfVoidSignalType() : this(NDalicManualPINVOKE.new_ImfVoidSignalType(), true)
1152 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();