diff options
Diffstat (limited to 'build-aux/qmi-codegen/ContainerInput.py')
-rw-r--r-- | build-aux/qmi-codegen/ContainerInput.py | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/build-aux/qmi-codegen/ContainerInput.py b/build-aux/qmi-codegen/ContainerInput.py new file mode 100644 index 0000000..2d5c34f --- /dev/null +++ b/build-aux/qmi-codegen/ContainerInput.py @@ -0,0 +1,38 @@ +#!/usr/bin/env python +# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil -*- +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2 of the License, or (at your option) any +# later version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more +# details. +# +# You should have received a copy of the GNU Lesser General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Copyright (C) 2012 Lanedo GmbH +# + +import string + +from Field import Field +from Container import Container + +class ContainerInput(Container): + """ + The ContainerInput class takes care of handling collections of Input + fields + """ + + def __init__(self, prefix, dictionary): + + self.name = 'Input' + self.readonly = False + + # Call the parent constructor + Container.__init__(self, prefix, dictionary) |