From 72070f292b98ee8b38217b43dc046b047bcccd8e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jan 2013 18:54:17 +0100 Subject: ConfigFile: add struct ConfigData --- src/ConfigData.hxx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/ConfigData.hxx') 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 +#include +#endif + #include +#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; @@ -51,6 +61,14 @@ struct config_param { bool used; }; +#ifdef __cplusplus + +struct ConfigData { + std::array params; +}; + +#endif + #ifdef __cplusplus extern "C" { #endif -- cgit v1.2.3