diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample/ctparam.cpp')
-rw-r--r-- | sources/shiboken6/tests/libsample/ctparam.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/libsample/ctparam.cpp b/sources/shiboken6/tests/libsample/ctparam.cpp new file mode 100644 index 000000000..9bbbcfc3f --- /dev/null +++ b/sources/shiboken6/tests/libsample/ctparam.cpp @@ -0,0 +1,20 @@ +// Copyright (C) 2021 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + +#include "ctparam.h" + +namespace SampleNamespace +{ + +CtParam::CtParam(int value) : m_value(value) +{ +} + +CtParam::~CtParam() = default; + +int CtParam::value() const +{ + return m_value; +} + +} // namespace SampleNamespace |