2024-07-08 22:05:15 +02:00
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
|
|
* *
|
|
|
|
* Gem-graph client *
|
|
|
|
* *
|
|
|
|
* Base header *
|
|
|
|
* *
|
|
|
|
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
|
|
|
|
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> *
|
|
|
|
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
|
|
|
|
* *
|
|
|
|
* This file is part of Gem-graph. *
|
|
|
|
* *
|
|
|
|
* This program is free software: you can redistribute it and/or modify it *
|
|
|
|
* under the terms of the GNU Affero General Public License *
|
|
|
|
* as published by the Free Software Foundation, *
|
|
|
|
* either version 3 of the License, *
|
|
|
|
* or (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; *
|
|
|
|
* without even the implied warranty of MERCHANTABILITY *
|
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. *
|
|
|
|
* See the GNU Affero General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU Affero General Public License *
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
|
|
|
* *
|
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
|
|
|
|
|
|
|
2024-07-18 23:51:04 +02:00
|
|
|
#pragma once
|
2024-07-08 22:05:15 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************************/
|
|
|
|
/* S T A T E M A C H I N E */
|
|
|
|
/******************************************************************************/
|
|
|
|
|
2024-07-09 23:03:11 +02:00
|
|
|
enum choice_EXEC_EDIT { EXEC, EDIT }; // xor
|
|
|
|
enum choice_STATE_RULES_DATA { STATE, RULES, DATA }; // xor
|
2024-07-08 22:05:15 +02:00
|
|
|
|
|
|
|
int get_EXEC_EDIT ();
|
|
|
|
int get_STATE_RULES_DATA ();
|
|
|
|
int get_OBJECTS_box_RESET_VALUE ();
|
|
|
|
int get_SITUATIONS_box_RESET_VALUE ();
|
|
|
|
|
2024-07-09 23:03:11 +02:00
|
|
|
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);
|
|
|
|
|
2024-07-08 22:05:15 +02:00
|
|
|
|