#include <gnome-factory.idl>

module SandUhr {
  
  interface Timer {
    exception InvalidTime {};

    attribute string  Message;
    attribute string  TimeSpec;

    unsigned long  TimeLeft ()  raises (InvalidTime);
  };

  interface TimerFactory : GNOME::GenericFactory {
    Timer  CreateTimer (in string Message, in string TimeSpec);
  };

};
