summaryrefslogtreecommitdiff
path: root/build-aux/qmi-codegen/VariableFactory.py
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/qmi-codegen/VariableFactory.py')
-rw-r--r--build-aux/qmi-codegen/VariableFactory.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-aux/qmi-codegen/VariableFactory.py b/build-aux/qmi-codegen/VariableFactory.py
index e8d9ba4..e1d5c95 100644
--- a/build-aux/qmi-codegen/VariableFactory.py
+++ b/build-aux/qmi-codegen/VariableFactory.py
@@ -22,6 +22,7 @@ import utils
from VariableInteger import VariableInteger
from VariableString import VariableString
from VariableStruct import VariableStruct
+from VariableSequence import VariableSequence
from VariableArray import VariableArray
@@ -36,6 +37,8 @@ def create_variable(dictionary, new_type_name):
return VariableString(dictionary)
elif dictionary['format'] == 'struct':
return VariableStruct(dictionary, new_type_name)
+ elif dictionary['format'] == 'sequence':
+ return VariableSequence(dictionary, new_type_name)
elif dictionary['format'] == 'array':
return VariableArray(dictionary, new_type_name)
else: