GTK4_GG_hack/automaton.h

28 lines
1.0 KiB
C

#include <gtk-4.0/gtk/gtk.h>
#include <assert.h>
/******************************************************************************/
/* S T A T E S */
/******************************************************************************/
/* (exec / edit) < MODE
* X
* (state / rules / data) < VIEW
* X
* (measure / analyse / interpret) < DATA
* X
* (read / write) < R__W
*/
/******************************************************************************/
void set_view (int prescribed);
int get_view ();
void set_mode (int prescribed);
int get_mode ();
enum mode { RUN, EDIT };
enum view { INTER, STATE, RULES, DATA };
// MEASURE, OBSERVE, INTERPRET, HELP, CONFIGURE };
void SWITCH_TO (int asked);