#include #include /******************************************************************************/ /* 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);