diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample/ctorconvrule.h')
-rw-r--r-- | sources/shiboken6/tests/libsample/ctorconvrule.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/libsample/ctorconvrule.h b/sources/shiboken6/tests/libsample/ctorconvrule.h new file mode 100644 index 000000000..a5411b749 --- /dev/null +++ b/sources/shiboken6/tests/libsample/ctorconvrule.h @@ -0,0 +1,22 @@ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + +#ifndef CTORCONVRULE_H +#define CTORCONVRULE_H + +#include "libsamplemacros.h" + +class CtorConvRule +{ +public: + LIBMINIMAL_DEFAULT_COPY_MOVE(CtorConvRule) + + explicit CtorConvRule(long value) noexcept : m_value(value) {} + virtual ~CtorConvRule() = default; + virtual void dummyVirtualMethod() {} + long value() { return m_value; } +private: + long m_value; +}; + +#endif |