//Deletes an alarm from the cloud //hh.mm.dd int deleteAlarm(String command) { if(command.length() != 7 || command.length() != 8) { return -1; } int hour = command.substring(0,2).toInt(); int minute = command.substring(3,5).toInt(); int day = command.substring(6).toInt(); markDelete(day, hour, minute); return 1; }
void GlassWindow::close() { //immediately release modal releaseModalFocus(); markDelete(); }