18 lines
241 B
C++
18 lines
241 B
C++
#pragma once
|
|
|
|
namespace ddkit {
|
|
namespace access {
|
|
|
|
class ICleanup {
|
|
|
|
public:
|
|
virtual void cleanup() = 0;
|
|
virtual ~ICleanup() = default;
|
|
|
|
virtual bool isShutdownRequested() = 0;
|
|
|
|
};
|
|
|
|
} // namespace access
|
|
} // namespace ddkit
|