diff options
Diffstat (limited to 'sources/shiboken6/tests/libother/othertypesystypedef.h')
-rw-r--r-- | sources/shiboken6/tests/libother/othertypesystypedef.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/libother/othertypesystypedef.h b/sources/shiboken6/tests/libother/othertypesystypedef.h new file mode 100644 index 000000000..999b71fd3 --- /dev/null +++ b/sources/shiboken6/tests/libother/othertypesystypedef.h @@ -0,0 +1,21 @@ +// Copyright (C) 2020 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + +#ifndef OTHERTYPESYSTYPEDEF_H +#define OTHERTYPESYSTYPEDEF_H + +#include "libothermacros.h" + +#include <typesystypedef.h> + +class LIBOTHER_API OtherValueWithUnitUser +{ +public: + OtherValueWithUnitUser(); + + static ValueWithUnit<double, LengthUnit::Inch> doubleMillimeterToInch(ValueWithUnit<double, LengthUnit::Millimeter>); + + static ValueWithUnit<int, LengthUnit::Inch> intMillimeterToInch(ValueWithUnit<int, LengthUnit::Millimeter>); +}; + +#endif // OTHERTYPESYSTYPEDEF_H |