Similarly here you should be able to use the enum type from systemalarms.h