#pragma once class Mode { public: static Mode **modes; virtual Mode * update(unsigned int keys) = 0; virtual void reset() = 0; };