1 2 3 4 5 6 7 8 9
#pragma once class Alarm { public: Alarm() { } virtual ~Alarm() { } virtual bool is_ringing() const = 0; };