manual binding for TextEditor and ApplicationExtension 21/132721/4
authorxb.teng <xb.teng@samsung.com>
Wed, 7 Jun 2017 16:29:46 +0000 (00:29 +0800)
committerdongsug song <dongsug.song@samsung.com>
Wed, 7 Jun 2017 09:38:40 +0000 (09:38 +0000)
There are two changes:
1. Add devel
properties(LINE_COUNT/PLACEHOLDER_TEXT/PLACEHOLDER_TEXT_COLOR) binding for text editor
2. Add api called Start binding for application extension

Change-Id: I2c2899ccf7bf734e89d6829adfbba14e0ec01935
Signed-off-by: xb.teng <xb.teng@samsung.com>
dali-csharp-binder/src/dali_wrap.cpp
dali-csharp-binder/src/devel-property-wrap.cpp

index 14a2a4f..9ee6f50 100755 (executable)
@@ -53464,6 +53464,28 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationExtensions_Init(void * jarg1)
   }
 }
 
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationExtensions_Start(void * jarg1) {
+  Dali::ApplicationExtensions *arg1 = (Dali::ApplicationExtensions *) 0 ;
+  
+  arg1 = (Dali::ApplicationExtensions *)jarg1; 
+  {
+    try {
+      (arg1)->Start();
+    } catch (std::out_of_range& e) {
+      {
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ; 
+      };
+    } catch (std::exception& e) {
+      {
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ; 
+      };
+    } catch (...) {
+      {
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ; 
+      };
+    }
+  }
+}
 
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_ApplicationExtensions_Terminate(void * jarg1) {
   Dali::ApplicationExtensions *arg1 = (Dali::ApplicationExtensions *) 0 ;
index c47c58a..d6faa42 100755 (executable)
@@ -299,6 +299,33 @@ SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_PIXEL_SIZE_get() {
   return jresult;
 }
 
+SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_LINE_COUNT_get() {
+  int jresult ;
+  int result;
+
+  result = (int)Dali::Toolkit::DevelTextEditor::Property::LINE_COUNT;
+  jresult = (int)result;
+  return jresult;
+}
+
+SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_PLACEHOLDER_TEXT_get() {
+  int jresult ;
+  int result;
+
+  result = (int)Dali::Toolkit::DevelTextEditor::Property::PLACEHOLDER_TEXT;
+  jresult = (int)result;
+  return jresult;
+}
+
+SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_PLACEHOLDER_TEXT_COLOR_get() {
+  int jresult ;
+  int result;
+
+  result = (int)Dali::Toolkit::DevelTextEditor::Property::PLACEHOLDER_TEXT_COLOR;
+  jresult = (int)result;
+  return jresult;
+}
+
 SWIGEXPORT int SWIGSTDCALL CSharp_TextField_Property_HIDDEN_INPUT_SETTINGS_get() {
   int jresult ;
   int result;