qt6windows7/tests/auto/corelib/tools/qsharedpointer/wrapper.h

21 lines
417 B
C
Raw Normal View History

2023-10-30 06:33:08 +08:00
// 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