summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qsharedpointer/wrapper.h
blob: 3b0bc09fedc9043a63088cc5044cb38f2cff8234 (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
#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