From 97296c37e707676eb329e8b6e54e2b3efab83aae Mon Sep 17 00:00:00 2001 From: Agnelo Vaz Date: Mon, 24 Apr 2017 15:30:13 +0100 Subject: [PATCH] Exclude ControlData from Properties in ruby script Change-Id: I388eb74fe030cc8ba596813aec6f99c8aaf907f1 --- plugins/dali-swig/property-wrapper.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/dali-swig/property-wrapper.rb b/plugins/dali-swig/property-wrapper.rb index 179ada4..2701826 100755 --- a/plugins/dali-swig/property-wrapper.rb +++ b/plugins/dali-swig/property-wrapper.rb @@ -503,13 +503,16 @@ def writeDaliToolkitProperties #puts(className); #puts(fileName); - # Get the property information ( name, type, read/writeable) + # Get the property information ( name, type, read/writeable) propertyInfo = extractToolkitPropertyInfo( macro ); # get or create a new DALi class item which stores the property information classItem = getDaliClassItem( className ) - classItem.properties.push( propertyInfo ) + # exclusion of control-data-impl + if ( className != "ControlData" ) + classItem.properties.push( propertyInfo ) + end end -- 2.7.4