From 5c18d2416e0335e62e90caa3f108c6491aa11da2 Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Mon, 8 Jul 2024 22:11:10 +0200 Subject: [PATCH] =?UTF-8?q?automat.h=20=20<=20=20corrections=20d=C3=A9pend?= =?UTF-8?q?ances?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/base.h | 19 ------------------- include/graph.h | 4 ++++ src/callbacks.c | 1 + src/widget.c/state.c | 2 +- 4 files changed, 6 insertions(+), 20 deletions(-) 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"