summaryrefslogtreecommitdiffstats
path: root/include/request.hpp
diff options
context:
space:
mode:
authortastytea2020-01-03 12:42:10 +0100
committertastytea2020-01-03 12:42:10 +0100
commit4c557aae6eff2023aadfc8f0cd393bbbf35096d5 (patch)
treecd689c3b9a7ea2639bc49023d7ca97b73068d541 /include/request.hpp
parent1d3275e429a58a6e1949d13ddb32433dc2724526 (diff)
downloadmastodonpp-4c557aae6eff2023aadfc8f0cd393bbbf35096d5.tar
mastodonpp-4c557aae6eff2023aadfc8f0cd393bbbf35096d5.tar.gz
mastodonpp-4c557aae6eff2023aadfc8f0cd393bbbf35096d5.zip
Use Instance and Request classes.
Diffstat (limited to 'include/request.hpp')
-rw-r--r--include/request.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/request.hpp b/include/request.hpp
new file mode 100644
index 0000000..97aa2ec
--- /dev/null
+++ b/include/request.hpp
@@ -0,0 +1,36 @@
+/* This file is part of mastodonpp.
+ * Copyright © 2020 tastytea <tastytea@tastytea.de>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, version 3.
+ *
+ * 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 Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef MASTODONPP_REQUEST_HPP
+#define MASTODONPP_REQUEST_HPP
+
+#include "instance.hpp"
+
+namespace mastodonpp
+{
+
+class Request
+{
+public:
+ explicit Request(Instance &instance);
+
+private:
+ Instance &_instance;
+};
+
+} // namespace mastodonpp
+
+#endif // MASTODONPP_REQUEST_HPP