mirror of
https://github.com/QuasarApp/Snake.git
synced 2025-04-29 11:14:40 +00:00
24 lines
407 B
C++
24 lines
407 B
C++
#ifndef DIFF_H
|
|
#define DIFF_H
|
|
|
|
#include <QObject>
|
|
|
|
class Diff
|
|
{
|
|
Q_GADGET
|
|
private:
|
|
QList<int> removeIds;
|
|
QList<int> addedIds;
|
|
public:
|
|
explicit Diff();
|
|
|
|
Q_INVOKABLE QList<int> getRemoveIds() const;
|
|
void setRemoveIds(const QList<int> &value);
|
|
Q_INVOKABLE QList<int> getAddedIds() const;
|
|
void setAddedIds(const QList<int> &value);
|
|
};
|
|
|
|
Q_DECLARE_METATYPE(Diff)
|
|
|
|
#endif // DIFF_H
|