class LightSwitch;
////////////////////////////////////////////////////////////////////////////
// This is the callback class for lightswitch changes.
class LightSwitchObserver {
public:
// Pass true when switch pushed ON, false when pushed OFF.
virtual void lightSwitchChange (bool state, LightSwitch* sw)=0;
};
Previous slide | Next slide | Back to first slide | View graphic version |