2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, see <https://www.gnu.org/licenses/>.
15 #ifndef GNUMERIC_TOOLS_H
16 #define GNUMERIC_TOOLS_H
20 #include <tools/dao.h>
23 TOOL_ENGINE_UPDATE_DAO
= 0,
24 TOOL_ENGINE_UPDATE_DESCRIPTOR
,
25 TOOL_ENGINE_PREPARE_OUTPUT_RANGE
,
26 TOOL_ENGINE_LAST_VALIDITY_CHECK
,
27 TOOL_ENGINE_FORMAT_OUTPUT_RANGE
,
28 TOOL_ENGINE_PERFORM_CALC
,
30 } analysis_tool_engine_t
;
32 /* Note: when the engine is called with TOOL_ENGINE_CLEAN_UP, the GOCmdContext *gcc will be NULL. */
34 typedef gboolean (* analysis_tool_engine
) (GOCmdContext
*gcc
,
35 data_analysis_output_t
*dao
, gpointer specs
,
36 analysis_tool_engine_t selector
, gpointer result
);