summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qsharedpointer/wrapper.h
blob: 32cc09f4220d18069854f154f142bd4e00ac544f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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 WRAPPER_H
#define WRAPPER_H

QT_BEGIN_NAMESPACE
template <class T> class QSharedPointer;
QT_END_NAMESPACE

class Wrapper
{
public:
    QSharedPointer<int> ptr;
    Wrapper(const QSharedPointer<int> &);
    ~Wrapper();

    static Wrapper create();
};

#endif // WRAPPER_H