class button : public gadget { button public: button() : gadget(PRESS) { } void callback() { cout << "..."; } };