diff options
Diffstat (limited to 'src/ConfigData.hxx')
-rw-r--r-- | src/ConfigData.hxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ConfigData.hxx b/src/ConfigData.hxx index d156cef1..98b74635 100644 --- a/src/ConfigData.hxx +++ b/src/ConfigData.hxx @@ -20,11 +20,19 @@ #ifndef MPD_CONFIG_DATA_HXX #define MPD_CONFIG_DATA_HXX +#include "ConfigOption.hxx" #include "gerror.h" #include "gcc.h" +#ifdef __cplusplus +#include <glib.h> +#include <array> +#endif + #include <stdbool.h> +#ifdef __cplusplus + struct block_param { char *name; char *value; @@ -37,6 +45,8 @@ struct block_param { bool used; }; +#endif + struct config_param { char *value; unsigned int line; @@ -52,6 +62,14 @@ struct config_param { }; #ifdef __cplusplus + +struct ConfigData { + std::array<GSList *, std::size_t(CONF_MAX)> params; +}; + +#endif + +#ifdef __cplusplus extern "C" { #endif |