From 34e048c5353c887109c7114015727268fedac89c Mon Sep 17 00:00:00 2001 From: Nicholas O'Connor Date: Fri, 14 Apr 2017 20:28:55 -0700 Subject: [PATCH] forgot some header changes from last commit --- include/config.hpp | 15 +++++++++++++++ include/internal/config.hpp.cog | 6 +++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 include/config.hpp diff --git a/include/config.hpp b/include/config.hpp new file mode 100644 index 0000000..00de72b --- /dev/null +++ b/include/config.hpp @@ -0,0 +1,15 @@ +#ifndef __CONFIG_HPP +#define __CONFIG_HPP +#pragma once + +#include "json.hpp" + +using nlohmann::json; + +namespace cellar { + namespace config { + json get_default_config(); + } +} + +#endif // __CONFIG_HPP diff --git a/include/internal/config.hpp.cog b/include/internal/config.hpp.cog index 8737928..85bfa7a 100644 --- a/include/internal/config.hpp.cog +++ b/include/internal/config.hpp.cog @@ -1,6 +1,6 @@ // vim: filetype=cpp : -#ifndef __INTERNAL_CORE_HPP -#define __INTERNAL_CORE_HPP +#ifndef __INTERNAL_CONFIG_HPP +#define __INTERNAL_CONFIG_HPP #pragma once #include @@ -27,4 +27,4 @@ namespace cellar { } } -#endif // __INTERNAL_CORE_HPP +#endif // __INTERNAL_CONFIG_HPP