please revert this to above, add 'virtual', add 'public' before and 'private' again after, put note this is residualvm specific to make public virtual method, something like that:
#ResidualVM specific: making method virtual
public:
	bool notifyEvent(const Common::Event &ev) {
		_eventQueue.push(ev);
		return true;
	}
private: