| 15 | class TrackingBitmapFactory : public Valdi::IBitmapFactory { |
| 16 | public: |
| 17 | Valdi::Result<Valdi::Ref<Valdi::IBitmap>> createBitmap(int width, int height) override { |
| 18 | lastBitmap = Valdi::makeShared<snap::drawing::TestBitmap>(width, height); |
| 19 | return Valdi::Ref<Valdi::IBitmap>(lastBitmap); |
| 20 | } |
| 21 | |
| 22 | Valdi::Ref<snap::drawing::TestBitmap> lastBitmap; |
| 23 | }; |
no outgoing calls
no test coverage detected