1 /*
2  *
3  * XASTIR, Amateur Station Tracking and Information Reporting
4  * Copyright (C) 1999,2000  Frank Giannandrea
5  * Copyright (C) 2000-2019 The Xastir Group
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20  *
21  * Look at the README for more information on the program.
22  */
23 
24 #ifndef XASTIR_POPUP_H
25 #define XASTIR_POPUP_H
26 
27 #define MAX_POPUPS 30
28 #define MAX_POPUPS_TIME 600 /* Max time popups will display 600=10min*/
29 
30 typedef struct
31 {
32   char name[10];
33   Widget popup_message_dialog;
34   Widget popup_message_data;
35   Widget pane, scrollwindow, form, button_close;
36   time_t sec_opened;
37 
38 } Popup_Window;
39 
40 /* from popup_gui.c */
41 extern void popup_gui_init(void);
42 extern void clear_popup_message_windows(void);
43 extern void popup_time_out_check(int curr_sec);
44 
45 #endif /* XASTIR_POPUP_H */
46 
47