diff options
| author | Cyrille Bagard <nocbos@gmail.com> | 2025-02-22 17:53:07 (GMT) | 
|---|---|---|
| committer | Cyrille Bagard <nocbos@gmail.com> | 2025-02-22 17:53:07 (GMT) | 
| commit | 8fe33f41ae9bd319298c601548a453020d23ad06 (patch) | |
| tree | b7936b22311f403616fc851d8715d7fee9a49cb2 /src/plugins/tweakable-int.h | |
| parent | 0b8fbc0c0d6a18cf1b90337dbd20639316af1fe7 (diff) | |
Handle configuration edition for plugins.
Diffstat (limited to 'src/plugins/tweakable-int.h')
| -rw-r--r-- | src/plugins/tweakable-int.h | 50 | 
1 files changed, 50 insertions, 0 deletions
| diff --git a/src/plugins/tweakable-int.h b/src/plugins/tweakable-int.h new file mode 100644 index 0000000..776626f --- /dev/null +++ b/src/plugins/tweakable-int.h @@ -0,0 +1,50 @@ + +/* Chrysalide - Outil d'analyse de fichiers binaires + * tweakable-int.h - définitions internes propres aux participations aux mécanismes de configuration + * + * Copyright (C) 2025 Cyrille Bagard + * + *  This file is part of Chrysalide. + * + *  Chrysalide is free software; you can redistribute it and/or modify + *  it under the terms of the GNU General Public License as published by + *  the Free Software Foundation; either version 3 of the License, or + *  (at your option) any later version. + * + *  Chrysalide 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 General Public License for more details. + * + *  You should have received a copy of the GNU General Public License + *  along with Chrysalide.  If not, see <http://www.gnu.org/licenses/>. + */ + + +#ifndef _PLUGINS_TWEAKABLE_INT_H +#define _PLUGINS_TWEAKABLE_INT_H + + +#include "tweakable.h" + + + +/* ------------------- INTEGRATION DANS L'EDITION DES PREFERENCES ------------------- */ + + +/* Fournit une liste de sections de configuration. */ +typedef tweak_info_t * (* get_tweakable_plugin_info) (const GTweakablePlugin *, size_t *); + + +/* Greffon avec des compléments pour l'interface de configuration (interface) */ +struct _GTweakablePluginInterface +{ +    GTypeInterface base_iface;              /* A laisser en premier        */ + +    get_tweakable_plugin_info get_info;     /* Récupération de section(s)  */ + +}; + + + +#endif  /* _PLUGINS_TWEAKABLE_INT_H */ | 
