aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libother/othertypesystypedef.h
blob: 999b71fd3be5d92f5e71b421e96cb8cb4989e28e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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