Merge branch 'ical'
[alpine.git] / pith / busy.h
blob21aafd08762bc018f699541b1db0815415cc7935
1 /*
2 * $Id: busy.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2013-2017 Eduardo Chappa
6 * Copyright 2006 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 * ========================================================================
17 #ifndef PITH_BUSY_INCLUDED
18 #define PITH_BUSY_INCLUDED
21 typedef int (*percent_done_t)(); /* returns %done for progress status msg */
24 /* used to tweak busy without it */
25 #ifndef ALARM_BLIP
26 #define ALARM_BLIP()
27 #endif
30 /* exported protoypes */
33 /* currently mandatory to implement stubs */
35 int busy_cue(char *, percent_done_t, int);
36 void cancel_busy_cue(int);
39 #endif /* PITH_BUSY_INCLUDED */