summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2019-10-10 10:07:18 -0400
committerGitHub <noreply@github.com>2019-10-10 10:07:18 -0400
commit9ac782b490f14f3fb18f36aad81a49f72e627909 (patch)
tree29c6f1538e8d2b3c214c5157fcb366d8f0ac7c82
parentb7a420df297f9eb84df2afe9272ac2b537798a1c (diff)
downloadsdl_core-9ac782b490f14f3fb18f36aad81a49f72e627909.tar.gz
Add history tag to SetDisplayLayout (#3067)
-rw-r--r--src/components/interfaces/MOBILE_API.xml6
-rwxr-xr-xtools/InterfaceGenerator/generator/parsers/RPCBase.py2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/components/interfaces/MOBILE_API.xml b/src/components/interfaces/MOBILE_API.xml
index 8927a46ffc..b543373d34 100644
--- a/src/components/interfaces/MOBILE_API.xml
+++ b/src/components/interfaces/MOBILE_API.xml
@@ -7186,6 +7186,9 @@
</function>
<function name="SetDisplayLayout" functionID="SetDisplayLayoutID" messagetype="request" deprecated="true" since="6.0">
+ <history>
+ <function name="SetDisplayLayout" functionID="SetDisplayLayoutID" messagetype="request" since="3.0" until="6.0"/>
+ </history>
<description>This RPC is deprecated. Use Show RPC to change layout.</description>
<param name="displayLayout" type="String" maxlength="500" mandatory="true">
<description>
@@ -7200,6 +7203,9 @@
</function>
<function name="SetDisplayLayout" functionID="SetDisplayLayoutID" messagetype="response" deprecated="true" since="6.0">
+ <history>
+ <function name="SetDisplayLayout" functionID="SetDisplayLayoutID" messagetype="response" since="3.0" until="6.0"/>
+ </history>
<description>This RPC is deprecated. Use Show RPC to change layout.</description>
<param name="success" type="Boolean" platform="documentation" mandatory="true">
<description> true, if successful; false, if failed </description>
diff --git a/tools/InterfaceGenerator/generator/parsers/RPCBase.py b/tools/InterfaceGenerator/generator/parsers/RPCBase.py
index d11b9e8d0d..ac5bb4c858 100755
--- a/tools/InterfaceGenerator/generator/parsers/RPCBase.py
+++ b/tools/InterfaceGenerator/generator/parsers/RPCBase.py
@@ -904,7 +904,7 @@ class Parser(object):
elif subelement.tag == "param" and parent.tag == "param":
items.append(self._parse_function_param(subelement, prefix))
elif subelement.tag == "function" and parent.tag == "function":
- items.append(self.__parse_function(subelement, prefix))
+ items.append(self._parse_function(subelement, prefix))
else:
raise ParseError("A history tag must be nested within the element it notes the history for. Fix item: '" +
parent.attrib["name"] + "'")