// light.h // Definition for class Light. #ifndef LIGHT_H #define LIGHT_H class Light { public: Light( const char * ); // constructor ~Light(); // destructor void turnOn(); // turns light on void turnOff(); // turns light off private: bool on; // true if on; false if off const char *name; // which floor the light is on }; #endif // LIGHT_H