summaryrefslogtreecommitdiff
path: root/rts/FrontPanel.h
blob: 84e40d5e1b2bf8c97e4e366b0363f9e8fb6f3b17 (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

#include "BeginPrivate.h"

#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, W_ 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 */

#include "EndPrivate.h"

#endif /* FRONTPANEL_H */