Remove SetDeviceName and SetDeviceClass
authorFeng Jin <feng16.jin@samsung.com>
Tue, 25 Apr 2017 18:50:09 +0000 (02:50 +0800)
committerFeng Jin <feng16.jin@samsung.com>
Tue, 25 Apr 2017 18:50:09 +0000 (02:50 +0800)
Change-Id: I71911dde4276a5aa6519785c04e47eed4af84e35
Signed-off-by: Feng Jin <feng16.jin@samsung.com>
src/Tizen.NUI/src/internal/NDalic.cs
src/Tizen.NUI/src/internal/NDalicPINVOKE.cs

index 120b2ed..7ccffcd 100755 (executable)
@@ -971,21 +971,11 @@ System.IntPtr ip2 = System.Runtime.InteropServices.Marshal.GetFunctionPointerFor
     return ret;
   }
 
-  private static void SetDeviceName(Key keyEvent, string deviceName) {
-    NDalicPINVOKE.SetDeviceName(Key.getCPtr(keyEvent), deviceName);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
-
   public static DeviceClassType GetDeviceClass(Key keyEvent) {
     DeviceClassType ret = (DeviceClassType)NDalicPINVOKE.GetDeviceClass(Key.getCPtr(keyEvent));
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
-
-  public static void SetDeviceClass(Key keyEvent, DeviceClassType deviceClass) {
-    NDalicPINVOKE.SetDeviceClass(Key.getCPtr(keyEvent), (int)deviceClass);
-    if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
-  }
   
   public static void UnparentAndReset(Actor actor) {
     NDalicPINVOKE.UnparentAndReset(Actor.getCPtr(actor));
index 84f80f5..71b2ed3 100755 (executable)
@@ -3242,15 +3242,9 @@ class NDalicPINVOKE {
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_GetDeviceName")]
   public static extern string GetDeviceName(global::System.Runtime.InteropServices.HandleRef jarg1);
 
-  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_SetDeviceName")]
-  public static extern void SetDeviceName(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
-
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_GetDeviceClass")]
   public static extern int GetDeviceClass(global::System.Runtime.InteropServices.HandleRef jarg1);
 
-  [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_SetDeviceClass")]
-  public static extern void SetDeviceClass(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
-
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_Actor_Property_PARENT_ORIGIN_get")]
   public static extern int Actor_Property_PARENT_ORIGIN_get();