diff --git a/include/base.h b/include/base.h index d6c1b34..d855cd6 100644 --- a/include/base.h +++ b/include/base.h @@ -49,25 +49,6 @@ -/******************************************************************************/ -/* S T A T E M A C H I N E */ -/******************************************************************************/ - -enum choice_EXEC_EDIT { EXEC, EDIT }; // xor -enum choice_STATE_RULES_DATA { STATE, RULES, DATA }; // xor - -void set_EXEC_EDIT (int prescribed); -void set_STATE_RULES_DATA (int prescribed); -void set_OBJECTS_box_RESET_VALUE (int prescribed); -void set_SITUATIONS_box_RESET_VALUE (int prescribed); - -int get_EXEC_EDIT (); -int get_STATE_RULES_DATA (); -int get_OBJECTS_box_RESET_VALUE (); -int get_SITUATIONS_box_RESET_VALUE (); - - - /******************************************************************************/ /* S P A C E S T R U C T U R E S */ /******************************************************************************/ diff --git a/include/graph.h b/include/graph.h index e21285b..6ed7ce6 100644 --- a/include/graph.h +++ b/include/graph.h @@ -40,6 +40,10 @@ #define GL_TARGET_MINOR_VERSION 4 +/******************************************************************************/ +/* G L A R E A */ +/******************************************************************************/ + /* * Structure describing a gl_area and its parameters, used to create a table * of Gem-graph client current gl_areas diff --git a/src/callbacks.c b/src/callbacks.c index 7dba10f..04abff8 100644 --- a/src/callbacks.c +++ b/src/callbacks.c @@ -29,6 +29,7 @@ +#include "../include/automat.h" #include "../include/callbacks.h" #include "../include/widgets.h" #include "../include/graph.h" diff --git a/src/widget.c/state.c b/src/widget.c/state.c index 8933311..d783048 100644 --- a/src/widget.c/state.c +++ b/src/widget.c/state.c @@ -27,7 +27,7 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * */ -#include "../../include/base.h" +#include "../../include/automat.h" #include "../../include/widgets.h" #include "../../include/callbacks.h"