mirror of
https://github.com/QuasarApp/Snake.git
synced 2025-05-12 01:19:46 +00:00
24 lines
406 B
C
24 lines
406 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
|