summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortastytea2020-01-06 14:43:10 +0100
committertastytea2020-01-06 14:43:10 +0100
commit5d90fa97f1656439481c928a2175d0c8a62ce354 (patch)
tree2eed52f541d5c6f1821cc7ed0af4d73ce69d702f
parent1ac1bda6195fb3344c605192023350df6d12f0b4 (diff)
downloadmastodonpp-5d90fa97f1656439481c928a2175d0c8a62ce354.tar
mastodonpp-5d90fa97f1656439481c928a2175d0c8a62ce354.tar.gz
mastodonpp-5d90fa97f1656439481c928a2175d0c8a62ce354.zip
Renamed return_types.hpp to answer.hpp.
-rw-r--r--include/answer.hpp (renamed from include/return_types.hpp)8
-rw-r--r--include/connection.hpp2
-rw-r--r--include/curl_wrapper.hpp2
-rw-r--r--include/mastodonpp.hpp2
-rw-r--r--src/answer.cpp (renamed from src/return_types.cpp)2
-rw-r--r--src/instance.cpp2
6 files changed, 9 insertions, 9 deletions
diff --git a/include/return_types.hpp b/include/answer.hpp
index 65b8f6e..2eb05aa 100644
--- a/include/return_types.hpp
+++ b/include/answer.hpp
@@ -14,8 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef MASTODONPP_RETURN_TYPES_HPP
-#define MASTODONPP_RETURN_TYPES_HPP
+#ifndef MASTODONPP_ANSWER_HPP
+#define MASTODONPP_ANSWER_HPP
#include <cstdint>
#include <string>
@@ -34,7 +34,7 @@ using std::string_view;
*
* @since 0.1.0
*
- * @headerfile return_types.hpp mastodonpp/return_types.hpp
+ * @headerfile answer.hpp mastodonpp/answer.hpp
*
*/
struct answer_type
@@ -103,4 +103,4 @@ struct answer_type
} // namespace mastodonpp
-#endif // MASTODONPP_RETURN_TYPES_HPP
+#endif // MASTODONPP_ANSWER_HPP
diff --git a/include/connection.hpp b/include/connection.hpp
index a26120c..6e43bc6 100644
--- a/include/connection.hpp
+++ b/include/connection.hpp
@@ -17,10 +17,10 @@
#ifndef MASTODONPP_CONNECTION_HPP
#define MASTODONPP_CONNECTION_HPP
+#include "answer.hpp"
#include "api.hpp"
#include "curl_wrapper.hpp"
#include "instance.hpp"
-#include "return_types.hpp"
#include <string>
#include <string_view>
diff --git a/include/curl_wrapper.hpp b/include/curl_wrapper.hpp
index b11999b..267de96 100644
--- a/include/curl_wrapper.hpp
+++ b/include/curl_wrapper.hpp
@@ -17,7 +17,7 @@
#ifndef MASTODONPP_CURL_WRAPPER_HPP
#define MASTODONPP_CURL_WRAPPER_HPP
-#include "return_types.hpp"
+#include "answer.hpp"
#include "curl/curl.h"
diff --git a/include/mastodonpp.hpp b/include/mastodonpp.hpp
index d247e8f..113ec0b 100644
--- a/include/mastodonpp.hpp
+++ b/include/mastodonpp.hpp
@@ -17,11 +17,11 @@
#ifndef MASTODONPP_HPP
#define MASTODONPP_HPP
+#include "answer.hpp"
#include "api.hpp"
#include "connection.hpp"
#include "exceptions.hpp"
#include "instance.hpp"
-#include "return_types.hpp"
/*!
* @headerfile mastodonpp.hpp mastodonpp/mastodonpp.hpp
diff --git a/src/return_types.cpp b/src/answer.cpp
index 8dd25ff..8006f90 100644
--- a/src/return_types.cpp
+++ b/src/answer.cpp
@@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "return_types.hpp"
+#include "answer.hpp"
namespace mastodonpp
{
diff --git a/src/instance.cpp b/src/instance.cpp
index b367f9b..683e20e 100644
--- a/src/instance.cpp
+++ b/src/instance.cpp
@@ -14,9 +14,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "answer.hpp"
#include "instance.hpp"
#include "log.hpp"
-#include "return_types.hpp"
namespace mastodonpp
{