summaryrefslogtreecommitdiff
path: root/src/conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf')
-rw-r--r--src/conf/install.hpp30
-rw-r--r--src/conf/version.hpp30
2 files changed, 46 insertions, 14 deletions
diff --git a/src/conf/install.hpp b/src/conf/install.hpp
new file mode 100644
index 0000000..42fd125
--- /dev/null
+++ b/src/conf/install.hpp
@@ -0,0 +1,30 @@
+#pragma once
+// conf/install.hpp - Import configuration variables related to install.
+//
+// Copyright © 2014 Ben Longbons <b.r.longbons@gmail.com>
+//
+// This file is part of The Mana World (Athena server)
+//
+// This program 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.
+//
+// This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
+
+// just mention "fwd.hpp" to make formatter happy
+
+#include "conf-raw/str-PACKAGESYSCONFDIR.h"
+#include "conf-raw/str-PACKAGELOCALSTATEDIR.h"
+#include "conf-raw/str-PACKAGEDATADIR.h"
+
+
+namespace tmwa
+{
+} // namespace tmwa
diff --git a/src/conf/version.hpp b/src/conf/version.hpp
index ea394e6..df8a8b6 100644
--- a/src/conf/version.hpp
+++ b/src/conf/version.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_CONF_VERSION_HPP
-#define TMWA_CONF_VERSION_HPP
+#pragma once
// conf/version.hpp - Import configuration variables related to version.
//
// Copyright © 2013-2014 Ben Longbons <b.r.longbons@gmail.com>
@@ -19,20 +18,23 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+// just mention "fwd.hpp" to make formatter happy
-# include "conf-raw/str-VERSION_FULL.h"
-# include "conf-raw/str-VERSION_HASH.h"
+#include "conf-raw/str-VERSION_FULL.h"
+#include "conf-raw/str-VERSION_HASH.h"
-# include "conf-raw/int-VERSION_MAJOR.h"
-# include "conf-raw/int-VERSION_MINOR.h"
-# include "conf-raw/int-VERSION_PATCH.h"
-# include "conf-raw/int-VERSION_DEVEL.h"
+#include "conf-raw/int-VERSION_MAJOR.h"
+#include "conf-raw/int-VERSION_MINOR.h"
+#include "conf-raw/int-VERSION_PATCH.h"
+#include "conf-raw/int-VERSION_DEVEL.h"
-# include "conf-raw/str-VENDOR_NAME.h"
-# include "conf-raw/int-VENDOR_POINT.h"
-# include "conf-raw/str-VENDOR_SOURCE.h"
+#include "conf-raw/str-VENDOR_NAME.h"
+#include "conf-raw/int-VENDOR_POINT.h"
+#include "conf-raw/str-VENDOR_SOURCE.h"
-# include "conf-raw/str-VERSION_STRING.h"
+#include "conf-raw/str-VERSION_STRING.h"
-#endif // TMWA_CONF_VERSION_HPP
+
+namespace tmwa
+{
+} // namespace tmwa