Commit 823cd54e authored by Julian Helfferich's avatar Julian Helfferich 💬
Browse files

Commit missing file

The last commit missed a newly created file.
parent 22d602fe
Pipeline #47594 passed with stage
in 3 minutes and 45 seconds
/******************************************************************************
* KBlocks, a falling blocks game by KDE *
* Copyright (C) 2010-2021 Julian Helfferich <julian.helfferich@mailbox.org> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
******************************************************************************/
#ifndef MOCKSVGITEM_H
#define MOCKSVGITEM_H
#include "SvgItemInterface.h"
class MockSvgItem : public SvgItemInterface
{
public:
MockSvgItem() : updateSelfCalled(false)
{
}
virtual ~MockSvgItem() = default;
public:
bool updateSelf() override { updateSelfCalled = true; return true; }
void startOpAnim() override {}
void stopOpAnim() override {}
void startPosAnim(QPointF) override {}
void execPosAnim(qreal) override {}
void stopPosAnim() override {}
bool updateSelfCalled;
};
#endif //MOCKSVGITEM_H
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment