1 #if !defined(lint) && !defined(DOS)
2 static char rcsid[] = "$Id: signal.c 91 2006-07-28 19:02:07Z mikes@u.washington.edu $";
3 #endif
4
5 /* ========================================================================
6 * Copyright 2006-2007 University of Washington
7 *
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
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * ========================================================================
15 */
16
17 #include <system.h>
18 #include <general.h>
19
20 #include "../../../pith/status.h"
21 #include "../../../pith/busy.h"
22
23
24 /*
25 * Turn on a busy alarm.
26 */
27 int
busy_cue(char * msg,percent_done_t pc_func,int init_msg)28 busy_cue(char *msg, percent_done_t pc_func, int init_msg)
29 {
30 if(msg && !strncmp("Moving", msg, 6)){
31 strncpy(msg+1, "Moved", 5);
32 q_status_message(SM_ORDER, 3, 3, msg+1);
33 }
34
35 return(0);
36 }
37
38
39 /*
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
43 */
44 void
cancel_busy_cue(int message_pri)45 cancel_busy_cue(int message_pri)
46 {
47 }
48
49
50