Issue including EEPROM.h function calls within class

This code works under IDE 1.0.4

make sure you have "#include <EEPROM.h>" in the sketch ( not just library ).