aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/renaming.h
blob: 787ccc2f7397dfd57a84e8fe1067032b1a6070f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#ifndef RENAMING_H
#define RENAMING_H

#include "libsamplemacros.h"

class LIBSAMPLE_API ToBeRenamedValue
{
public:
    int value() const;
    void setValue(int v);

private:
    int m_value = 42;
};

class LIBSAMPLE_API RenamedUser
{
public:
    void useRenamedValue(const ToBeRenamedValue &v);
};

#endif // POINT_H