Mercurial > archived > louis > epitech > zia-api
view include/IConfig.hpp @ 46:dad671a5f028
Corrections de typos, d'orthograffe et de formulations.
author | David Pineau <dav.pineau@gmail.com> |
---|---|
date | Mon, 22 Mar 2010 17:39:10 +0100 |
parents | 1254fa6755a3 |
children | e16869cd9773 |
line wrap: on
line source
#ifndef __ZIA_API_ICONFIG_HPP__ # define __ZIA_API_ICONFIG_HPP__ # include <map> # include <string> namespace zia { namespace api { /** * @brief Represents the interface that the configuration handler must * respect to interact with a module. */ class IConfig { typedef std::map<std::string, std::string> ValueMap; virtual ~IConfig(void) { } /** * @brief Get the configuration entries. * * At the moment we return a map of strings. We will see if more * complex data structure will be required. * * @return the map of key/value found in configuration file. */ virtual const ValueMap & getEntries(void) const = 0; }; }; }; #endif /* ! __ZIA_API_ICONFIG_HPP__ */