1
#if !defined(lint) && !defined(DOS)
2
static char rcsid[] = "$Id: signal.c 91 2006-07-28 19:02:07Z mikes@u.washington.edu $";
5
/* ========================================================================
6
* Copyright 2006-2007 University of Washington
8
* Licensed under the Apache License, Version 2.0 (the "License");
9
* you may not use this file except in compliance with the License.
10
* You may obtain a copy of the License at
12
* http://www.apache.org/licenses/LICENSE-2.0
14
* ========================================================================
20
#include "../../../pith/status.h"
21
#include "../../../pith/busy.h"
25
* Turn on a busy alarm.
28
busy_cue(char *msg, percent_done_t pc_func, int init_msg)
30
if(msg && !strncmp("Moving", msg, 6)){
31
strncpy(msg+1, "Moved", 5);
32
q_status_message(SM_ORDER, 3, 3, msg+1);
40
* If final_message was set when busy_cue was called:
41
* and message_pri = -1 -- no final message queued
42
* else final message queued with min equal to message_pri
45
cancel_busy_cue(int message_pri)