Scroom 0.14-49-gb7ae7a6d
Loading...
Searching...
No Matches
progressstateinterfacestub.hh
Go to the documentation of this file.
1/*
2 * Scroom - Generic viewer for 2D data
3 * Copyright (C) 2009-2026 Kees-Jan Dijkzeul
4 *
5 * SPDX-License-Identifier: LGPL-2.1
6 */
7
8#pragma once
9
11
13{
14public:
15 using Ptr = std::shared_ptr<ProgressStateInterfaceStub>;
16
17public:
19 double progress{0.0};
20
21public:
22 static Ptr create();
23
24private:
26
27public:
28 // ProgressStateInterface
29 void setProgress(State s, double d) override;
30};
Definition progressstateinterfacestub.hh:13
void setProgress(State s, double d) override
Definition progressstateinterfacestub.cc:7
double progress
Definition progressstateinterfacestub.hh:19
State state
Definition progressstateinterfacestub.hh:18
static Ptr create()
Definition progressstateinterfacestub.cc:5
std::shared_ptr< ProgressStateInterfaceStub > Ptr
Definition progressstateinterfacestub.hh:15
ProgressStateInterfaceStub()=default
Definition progressinterfacehelpers.hh:24
State
Definition progressinterfacehelpers.hh:30
@ IDLE
Definition progressinterfacehelpers.hh:31
BitmapSurface::Ptr const s
Definition transformpresentation_test.cc:70