Commit f41bc3f8 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix compilation of unittests

parent a918a7cb
......@@ -856,6 +856,9 @@ KisPaintDeviceSP createWrapAroundPaintDevice(const KoColorSpace *cs)
bool externalFrameActive() const override {
return false;
}
void * sourceCookie() const override {
return 0;
}
};
KisPaintDeviceSP dev = new KisPaintDevice(cs);
......@@ -1420,6 +1423,9 @@ struct TestingLodDefaultBounds : public KisDefaultBoundsBase {
void testingSetLevelOfDetail(int lod) {
m_lod = lod;
}
void * sourceCookie() const override {
return 0;
}
private:
int m_lod;
......
......@@ -90,6 +90,10 @@ public:
return m_scratchPad->imageBounds();
}
void * sourceCookie() const override {
return m_scratchPad;
}
private:
Q_DISABLE_COPY(KisScratchPadDefaultBounds)
......
......@@ -60,6 +60,10 @@ private:
return m_parent;
}
void * sourceCookie() const override {
return 0;
}
private:
int m_lod;
KisDefaultBoundsBaseSP m_parent;
......
......@@ -61,6 +61,10 @@ struct TestingTimedDefaultBounds : public KisDefaultBoundsBase {
m_lod = lod;
}
void * sourceCookie() const override {
return 0;
}
private:
int m_time;
int m_lod;
......
Markdown is supported
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