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