2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2012-09-11 15:11:34 +02:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2012-09-11 15:11:34 +02:00
|
|
|
|
|
|
|
|
#include <QMetaType>
|
|
|
|
|
#include <QString>
|
|
|
|
|
#include <QVector>
|
|
|
|
|
|
|
|
|
|
namespace QmlDesigner {
|
|
|
|
|
|
|
|
|
|
class RemoveSharedMemoryCommand
|
|
|
|
|
{
|
|
|
|
|
friend QDataStream &operator>>(QDataStream &in, RemoveSharedMemoryCommand &command);
|
2013-07-16 17:00:07 +02:00
|
|
|
friend QDebug operator <<(QDebug debug, const RemoveSharedMemoryCommand &command);
|
2012-09-11 15:11:34 +02:00
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
RemoveSharedMemoryCommand();
|
2013-06-06 16:03:46 +02:00
|
|
|
explicit RemoveSharedMemoryCommand(const QString &typeName, const QVector<qint32> &keyNumberVector);
|
2012-09-11 15:11:34 +02:00
|
|
|
|
|
|
|
|
QString typeName() const;
|
|
|
|
|
QVector<qint32> keyNumbers() const;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
QString m_typeName;
|
|
|
|
|
QVector<qint32> m_keyNumberVector;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
QDataStream &operator<<(QDataStream &out, const RemoveSharedMemoryCommand &command);
|
|
|
|
|
QDataStream &operator>>(QDataStream &in, RemoveSharedMemoryCommand &command);
|
|
|
|
|
|
2013-07-16 17:00:07 +02:00
|
|
|
QDebug operator <<(QDebug debug, const RemoveSharedMemoryCommand &command);
|
|
|
|
|
|
2012-09-11 15:11:34 +02:00
|
|
|
} // namespace QmlDesigner
|
|
|
|
|
|
|
|
|
|
Q_DECLARE_METATYPE(QmlDesigner::RemoveSharedMemoryCommand)
|