summaryrefslogtreecommitdiff
path: root/web/src/alpined.d/status.c
blob: c7398f02d76045eb4762be2039726f65aa8a57c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/* ========================================================================
 * Copyright 2006-2007 University of Washington
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * ========================================================================
 */

/*======================================================================
     status.c
     Functions that manage the status line (third from the bottom)
       - put messages on the queue to be displayed
       - display messages on the queue with timers 
       - check queue to figure out next timeout
       - prompt for yes/no type of questions
  ====*/

#include <system.h>
#include <general.h>

#include "../../../pith/status.h"
#include "../../../pith/helptext.h"
#include "../../../pith/debug.h"
#include "../../../pith/string.h"

#include "alpined.h"




/*----------------------------------------------------------------------
        Put a message for the status line on the queue
  ----------*/
void
q_status_message(int flags, int min_time, int max_time, char *message)
{
    if(!(flags & SM_INFO))
      sml_addmsg(0, message);
}


/*----------------------------------------------------------------------
    Time remaining for current message's minimum display
 ----*/
int
status_message_remaining(void)
{
    return(0);
}



/*----------------------------------------------------------------------
       Update status line, clearing or displaying a message
----------------------------------------------------------------------*/
int
display_message(UCS command)
{
    return(0);
}



/*----------------------------------------------------------------------
     Display all the messages on the queue as quickly as possible
  ----*/
void
flush_status_messages(int skip_last_pause)
{
}