summaryrefslogtreecommitdiff
path: root/rts/FrontPanel.h
blob: 07508aa4036932b95b771b861576a1882493b699 (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
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team 2000-2005
 *
 * RTS GTK Front Panel
 *
 * ---------------------------------------------------------------------------*/

#ifndef FRONTPANEL_H
#define FRONTPANEL_H

#pragma GCC visibility push(hidden)

#ifdef RTS_GTK_FRONTPANEL

#include "Rts.h"  /* needed because this file gets included by
		   * auto-generated code */

void initFrontPanel( void );
void stopFrontPanel( void );
void updateFrontPanelBeforeGC( nat N );
void updateFrontPanelAfterGC( nat N, lnat live );
void updateFrontPanel( void );


/* --------- PRIVATE ----------------------------------------- */

#include <gdk/gdktypes.h>

typedef enum { BeforeGC, AfterGC, BeforeAfterGC, Continuous } UpdateMode;
extern UpdateMode update_mode;
extern gboolean continue_now, stop_now, quit;

#endif /* RTS_GTK_FRONTPANEL */

#pragma GCC visibility pop

#endif /* FRONTPANEL_H */