From c87b1dc338eadc68accac02563a487d7d8e1c9a0 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 12 May 2014 17:24:51 -0700 Subject: Split net/ from mmo/ --- src/compat/time_t.cpp | 21 +++++++++++++++++++++ src/compat/time_t.hpp | 27 +++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 src/compat/time_t.cpp create mode 100644 src/compat/time_t.hpp (limited to 'src/compat') diff --git a/src/compat/time_t.cpp b/src/compat/time_t.cpp new file mode 100644 index 0000000..b1a3fb8 --- /dev/null +++ b/src/compat/time_t.cpp @@ -0,0 +1,21 @@ +#include "time_t.hpp" +// time_t.cpp - time_t with a reliable representation +// +// Copyright © 2013-2014 Ben Longbons +// +// 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 . + +#include "../poison.hpp" diff --git a/src/compat/time_t.hpp b/src/compat/time_t.hpp new file mode 100644 index 0000000..4e0ffb6 --- /dev/null +++ b/src/compat/time_t.hpp @@ -0,0 +1,27 @@ +#ifndef TMWA_COMPAT_TIMET_HPP +#define TMWA_COMPAT_TIMET_HPP +// time_t.hpp - time_t with a reliable representation +// +// Copyright © 2013-2014 Ben Longbons +// +// 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 . + +# include "fwd.hpp" + +// TODO fix this ordering violation by promoting TimeT here +# include "../mmo/utils.hpp" + +#endif // TMWA_COMPAT_TIMET_HPP -- cgit v1.2.3-60-g2f50