From d810e6243acff0e612a56a2d1b7a76586451a895 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 19 Apr 2019 07:05:28 +0200 Subject: [PATCH] 2019-04-19 --- docs/account_8hpp_source.html | 58 +-- docs/all_8hpp_source.html | 4 +- docs/annotated.html | 36 +- docs/application_8hpp_source.html | 2 +- docs/attachment_8hpp_source.html | 2 +- docs/card_8hpp_source.html | 2 +- docs/classMastodon_1_1API-members.html | 2 +- docs/classMastodon_1_1API.html | 79 ++-- .../classMastodon_1_1API_1_1http-members.html | 2 +- docs/classMastodon_1_1API_1_1http.html | 6 +- .../classMastodon_1_1Easy_1_1API-members.html | 2 +- docs/classMastodon_1_1Easy_1_1API.html | 53 ++- ...ssMastodon_1_1Easy_1_1Account-members.html | 2 +- docs/classMastodon_1_1Easy_1_1Account.html | 64 +-- ..._1_1Easy_1_1Account_1_1Source-members.html | 2 +- ...Mastodon_1_1Easy_1_1Account_1_1Source.html | 18 +- ...stodon_1_1Easy_1_1Application-members.html | 2 +- .../classMastodon_1_1Easy_1_1Application.html | 8 +- ...astodon_1_1Easy_1_1Attachment-members.html | 2 +- docs/classMastodon_1_1Easy_1_1Attachment.html | 42 +- ...classMastodon_1_1Easy_1_1Card-members.html | 2 +- docs/classMastodon_1_1Easy_1_1Card.html | 28 +- ...ssMastodon_1_1Easy_1_1Context-members.html | 2 +- docs/classMastodon_1_1Easy_1_1Context.html | 4 +- ...lassMastodon_1_1Easy_1_1Emoji-members.html | 2 +- docs/classMastodon_1_1Easy_1_1Emoji.html | 10 +- ...assMastodon_1_1Easy_1_1Entity-members.html | 2 +- docs/classMastodon_1_1Easy_1_1Entity.html | 61 +-- docs/classMastodon_1_1Easy_1_1Entity.png | Bin 8508 -> 9357 bytes ...assMastodon_1_1Easy_1_1Filter-members.html | 92 ++++ docs/classMastodon_1_1Easy_1_1Filter.html | 422 ++++++++++++++++++ docs/classMastodon_1_1Easy_1_1Filter.png | Bin 0 -> 637 bytes ...sMastodon_1_1Easy_1_1Instance-members.html | 2 +- docs/classMastodon_1_1Easy_1_1Instance.html | 24 +- ...classMastodon_1_1Easy_1_1Link-members.html | 2 +- docs/classMastodon_1_1Easy_1_1Link.html | 2 +- ...classMastodon_1_1Easy_1_1List-members.html | 2 +- docs/classMastodon_1_1Easy_1_1List.html | 8 +- ...ssMastodon_1_1Easy_1_1Mention-members.html | 2 +- docs/classMastodon_1_1Easy_1_1Mention.html | 12 +- ...todon_1_1Easy_1_1Notification-members.html | 2 +- ...classMastodon_1_1Easy_1_1Notification.html | 10 +- ...n_1_1Easy_1_1PushSubscription-members.html | 2 +- ...sMastodon_1_1Easy_1_1PushSubscription.html | 12 +- ...todon_1_1Easy_1_1Relationship-members.html | 2 +- ...classMastodon_1_1Easy_1_1Relationship.html | 24 +- ...assMastodon_1_1Easy_1_1Report-members.html | 2 +- docs/classMastodon_1_1Easy_1_1Report.html | 8 +- ...ssMastodon_1_1Easy_1_1Results-members.html | 2 +- docs/classMastodon_1_1Easy_1_1Results.html | 6 +- ...assMastodon_1_1Easy_1_1Status-members.html | 2 +- docs/classMastodon_1_1Easy_1_1Status.html | 72 +-- .../classMastodon_1_1Easy_1_1Tag-members.html | 2 +- docs/classMastodon_1_1Easy_1_1Tag.html | 8 +- ...don_1_1Easy_1_1Tag_1_1History-members.html | 2 +- ...assMastodon_1_1Easy_1_1Tag_1_1History.html | 16 +- ...lassMastodon_1_1Easy_1_1Token-members.html | 90 ++++ docs/classMastodon_1_1Easy_1_1Token.html | 374 ++++++++++++++++ docs/classMastodon_1_1Easy_1_1Token.png | Bin 0 -> 647 bytes docs/classes.html | 45 +- docs/context_8hpp_source.html | 2 +- docs/debug_8hpp_source.html | 2 +- .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 2 +- .../dir_9d328871126a6a5820f3cd5c0c41741e.html | 2 +- .../dir_da61e3e9a357748887e3ca8d7c5a0c16.html | 2 +- .../dir_e526f556af6ddef7955f0f6556f0f4d0.html | 2 +- docs/easy_8hpp_source.html | 8 +- docs/emoji_8hpp_source.html | 8 +- docs/entity_8hpp_source.html | 30 +- ...le01_get_public_timeline_8cpp-example.html | 4 +- docs/example02_stream_8cpp-example.html | 2 +- docs/examples.html | 2 +- docs/files.html | 24 +- docs/filter_8hpp_source.html | 70 +++ docs/functions.html | 7 +- docs/functions_0x7e.html | 2 +- docs/functions_b.html | 2 +- docs/functions_c.html | 6 +- docs/functions_d.html | 2 +- docs/functions_e.html | 7 +- docs/functions_enum.html | 2 +- docs/functions_f.html | 2 +- docs/functions_func.html | 7 +- docs/functions_func_0x7e.html | 2 +- docs/functions_func_b.html | 2 +- docs/functions_func_c.html | 6 +- docs/functions_func_d.html | 2 +- docs/functions_func_e.html | 9 +- docs/functions_func_f.html | 2 +- docs/functions_func_g.html | 2 +- docs/functions_func_h.html | 2 +- docs/functions_func_i.html | 6 +- docs/functions_func_l.html | 2 +- docs/functions_func_m.html | 2 +- docs/functions_func_n.html | 2 +- docs/functions_func_o.html | 2 +- docs/functions_func_p.html | 9 +- docs/functions_func_r.html | 5 +- docs/functions_func_s.html | 9 +- docs/functions_func_t.html | 5 +- docs/functions_func_u.html | 2 +- docs/functions_func_v.html | 4 +- docs/functions_func_w.html | 5 +- docs/functions_g.html | 2 +- docs/functions_h.html | 4 +- docs/functions_i.html | 6 +- docs/functions_l.html | 2 +- docs/functions_m.html | 2 +- docs/functions_n.html | 2 +- docs/functions_o.html | 2 +- docs/functions_p.html | 9 +- docs/functions_r.html | 5 +- docs/functions_rela.html | 2 +- docs/functions_s.html | 9 +- docs/functions_t.html | 5 +- docs/functions_type.html | 2 +- docs/functions_u.html | 2 +- docs/functions_v.html | 4 +- docs/functions_vars.html | 4 +- docs/functions_w.html | 5 +- docs/hierarchy.html | 26 +- docs/index.html | 39 +- docs/instance_8hpp_source.html | 20 +- docs/list_8hpp_source.html | 2 +- docs/mastodon-cpp_8hpp_source.html | 24 +- docs/mention_8hpp_source.html | 2 +- docs/namespaceMastodon.html | 4 +- docs/namespaceMastodon_1_1Easy.html | 44 +- docs/namespacemembers.html | 5 +- docs/namespacemembers_enum.html | 5 +- docs/namespacemembers_func.html | 2 +- docs/namespacemembers_type.html | 2 +- docs/namespaces.html | 2 +- docs/notification_8hpp_source.html | 4 +- docs/pushsubscription_8hpp_source.html | 4 +- docs/relationship_8hpp_source.html | 2 +- docs/report_8hpp_source.html | 2 +- docs/results_8hpp_source.html | 2 +- docs/return__types_8hpp_source.html | 8 +- docs/return__types__easy_8hpp_source.html | 10 +- docs/status_8hpp_source.html | 56 +-- ...stodon_1_1Easy_1_1alert__type-members.html | 2 +- ...structMastodon_1_1Easy_1_1alert__type.html | 2 +- ...don_1_1Easy_1_1return__entity-members.html | 17 +- ...uctMastodon_1_1Easy_1_1return__entity.html | 72 ++- ...asy_1_1return__entity__vector-members.html | 13 +- ...don_1_1Easy_1_1return__entity__vector.html | 11 +- ...odon_1_1Easy_1_1stream__event-members.html | 2 +- ...ructMastodon_1_1Easy_1_1stream__event.html | 2 +- ...tructMastodon_1_1Easy_1_1time-members.html | 2 +- docs/structMastodon_1_1Easy_1_1time.html | 4 +- docs/structMastodon_1_1param-members.html | 2 +- docs/structMastodon_1_1param.html | 2 +- .../structMastodon_1_1parameters-members.html | 2 +- docs/structMastodon_1_1parameters.html | 2 +- ...tructMastodon_1_1return__base-members.html | 7 +- docs/structMastodon_1_1return__base.html | 23 +- ...tructMastodon_1_1return__call-members.html | 4 +- docs/structMastodon_1_1return__call.html | 36 +- docs/tag_8hpp_source.html | 4 +- docs/token_8hpp_source.html | 68 +++ docs/types_8hpp_source.html | 2 +- docs/types__easy_8hpp_source.html | 13 +- 163 files changed, 1991 insertions(+), 658 deletions(-) create mode 100644 docs/classMastodon_1_1Easy_1_1Filter-members.html create mode 100644 docs/classMastodon_1_1Easy_1_1Filter.html create mode 100644 docs/classMastodon_1_1Easy_1_1Filter.png create mode 100644 docs/classMastodon_1_1Easy_1_1Token-members.html create mode 100644 docs/classMastodon_1_1Easy_1_1Token.html create mode 100644 docs/classMastodon_1_1Easy_1_1Token.png create mode 100644 docs/filter_8hpp_source.html create mode 100644 docs/token_8hpp_source.html diff --git a/docs/account_8hpp_source.html b/docs/account_8hpp_source.html index 333565a..977e2f7 100644 --- a/docs/account_8hpp_source.html +++ b/docs/account_8hpp_source.html @@ -19,7 +19,7 @@
mastodon-cpp -  0.101.1 +  0.104.0
@@ -47,42 +47,42 @@ $(function() {
account.hpp
-
1 /* This file is part of mastodon-cpp.
2  * Copyright © 2018, 2019 tastytea <tastytea@tastytea.de>
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, version 3.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef MASTODON_CPP_EASY_ACCOUNT_HPP
18 #define MASTODON_CPP_EASY_ACCOUNT_HPP
19 
20 #include <string>
21 #include <cstdint>
22 #include <vector>
23 #include <utility>
24 
25 // If we are compiling mastodon-cpp, use another include path
26 #ifdef MASTODON_CPP
27  #include "mastodon-cpp.hpp"
28  #include "easy/entity.hpp"
29 #else
30  #include <mastodon-cpp/mastodon-cpp.hpp>
31  #include <mastodon-cpp/easy/entity.hpp>
32 #endif
33 
34 using std::string;
35 using std::uint64_t;
36 
37 namespace Mastodon
38 {
39 namespace Easy
40 {
46  class Account : public Entity
47  {
48  public:
49  using Entity::Entity;
50 
56  using fields_pair = std::pair<const string, const string>;
57 
58  virtual bool valid() const override;
59 
68  const string acct() const;
69 
75  const string avatar() const;
76 
84  Account avatar(const string &avatar);
85 
91  const string avatar_static() const;
92 
98  bool bot() const;
99 
105  const Easy::time created_at() const;
106 
112  const string display_name() const;
113 
119  Account display_name(const string &display_name);
120 
126  const std::vector<fields_pair> fields() const;
127 
133  Account fields(std::vector<fields_pair> &fields);
134 
140  uint64_t followers_count() const;
141 
147  uint64_t following_count() const;
148 
154  const string header() const;
155 
163  Account header(const string &header);
164 
170  const string header_static() const;
171 
177  const string id() const;
178 
184  bool locked() const;
185 
191  Account locked(const bool &locked);
192 
198  bool has_moved() const;
199 
206  const Account moved() const;
207 
213  const string note() const;
214 
220  Account note(const string &note);
221 
227  visibility_type privacy() const;
228 
234  bool sensitive() const;
235 
241  class Source : public Entity
242  {
243  public:
244  using Entity::Entity;
245 
246  virtual bool valid() const override;
247 
253  const std::vector<fields_pair> fields() const;
254 
260  Source fields(std::vector<fields_pair> &fields);
261 
267  const string note() const;
268 
274  Source note(const string &note);
275 
281  visibility_type privacy() const;
282 
289 
295  bool sensitive() const;
296 
302  Source sensitive(const bool &sensitive);
303  };
304 
310  const Source source() const;
311 
317  Account source(const Source &source);
318 
324  uint64_t statuses_count() const;
325 
331  const string url() const;
332 
338  const string username() const;
339 };
340 }
341 }
342 
343 #endif // MASTODON_CPP_EASY_ACCOUNT_HPP
const string avatar() const
Returns URL of avatar.
Definition: account.cpp:54
-
const Source source() const
Get source.
Definition: account.cpp:335
-
const std::vector< fields_pair > fields() const
Returns metadata fields.
Definition: account.cpp:91
-
const string header() const
Returns URL of header image.
Definition: account.cpp:136
-
bool sensitive() const
Returns if media is marked as sensitive by default.
Definition: account.cpp:216
-
const string avatar_static() const
Returns URL of static avatar.
Definition: account.cpp:65
-
const std::vector< fields_pair > fields() const
Returns metadata fields.
Definition: account.cpp:226
+
1 /* This file is part of mastodon-cpp.
2  * Copyright © 2018, 2019 tastytea <tastytea@tastytea.de>
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, version 3.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef MASTODON_CPP_EASY_ACCOUNT_HPP
18 #define MASTODON_CPP_EASY_ACCOUNT_HPP
19 
20 #include <string>
21 #include <cstdint>
22 #include <vector>
23 #include <utility>
24 
25 // If we are compiling mastodon-cpp, use another include path
26 #ifdef MASTODON_CPP
27  #include "mastodon-cpp.hpp"
28  #include "easy/entity.hpp"
29 #else
30  #include <mastodon-cpp/mastodon-cpp.hpp>
31  #include <mastodon-cpp/easy/entity.hpp>
32 #endif
33 
34 using std::string;
35 using std::uint64_t;
36 
37 namespace Mastodon
38 {
39 namespace Easy
40 {
46  class Account : public Entity
47  {
48  public:
49  using Entity::Entity;
50 
56  using fields_pair = std::pair<const string, const string>;
57 
58  virtual bool valid() const override;
59 
68  const string acct() const;
69 
75  const string avatar() const;
76 
84  Account avatar(const string &avatar);
85 
91  const string avatar_static() const;
92 
98  bool bot() const;
99 
105  const Easy::time created_at() const;
106 
112  const string display_name() const;
113 
119  Account display_name(const string &display_name);
120 
126  const std::vector<fields_pair> fields() const;
127 
133  Account fields(std::vector<fields_pair> &fields);
134 
140  uint64_t followers_count() const;
141 
147  uint64_t following_count() const;
148 
154  const string header() const;
155 
163  Account header(const string &header);
164 
170  const string header_static() const;
171 
177  const string id() const;
178 
184  bool locked() const;
185 
191  Account locked(const bool &locked);
192 
198  bool has_moved() const;
199 
206  const Account moved() const;
207 
213  const string note() const;
214 
220  Account note(const string &note);
221 
227  visibility_type privacy() const;
228 
234  bool sensitive() const;
235 
241  class Source : public Entity
242  {
243  public:
244  using Entity::Entity;
245 
246  virtual bool valid() const override;
247 
253  const std::vector<fields_pair> fields() const;
254 
260  Source fields(std::vector<fields_pair> &fields);
261 
267  const string note() const;
268 
274  Source note(const string &note);
275 
281  visibility_type privacy() const;
282 
289 
295  bool sensitive() const;
296 
302  Source sensitive(const bool &sensitive);
303  };
304 
310  const Source source() const;
311 
317  Account source(const Source &source);
318 
324  uint64_t statuses_count() const;
325 
331  const string url() const;
332 
338  const string username() const;
339 };
340 }
341 }
342 
343 #endif // MASTODON_CPP_EASY_ACCOUNT_HPP
const string avatar() const
Returns URL of avatar.
Definition: account.cpp:55
+
const Source source() const
Get source.
Definition: account.cpp:336
+
const std::vector< fields_pair > fields() const
Returns metadata fields.
Definition: account.cpp:92
+
const string header() const
Returns URL of header image.
Definition: account.cpp:137
+
bool sensitive() const
Returns if media is marked as sensitive by default.
Definition: account.cpp:217
+
const string avatar_static() const
Returns URL of static avatar.
Definition: account.cpp:66
+
const std::vector< fields_pair > fields() const
Returns metadata fields.
Definition: account.cpp:227
Entity()
Constructs an empty Entity object.
Definition: entity.cpp:42
-
const string acct() const
Returns username.
Definition: account.cpp:49
-
uint64_t following_count() const
Returns number of people this account follows.
Definition: account.cpp:131
-
virtual bool valid() const override
Returns true if the Entity holds valid data.
Definition: account.cpp:221
-
uint64_t statuses_count() const
Returns number of statuses.
Definition: account.cpp:346
+
const string acct() const
Returns username.
Definition: account.cpp:50
+
uint64_t following_count() const
Returns number of people this account follows.
Definition: account.cpp:132
+
virtual bool valid() const override
Returns true if the Entity holds valid data.
Definition: account.cpp:222
+
uint64_t statuses_count() const
Returns number of statuses.
Definition: account.cpp:347
std::pair< const string, const string > fields_pair
Describes a field. Format: name, value.
Definition: account.hpp:56
-
bool bot() const
Returns true if the account performs automated actions.
Definition: account.cpp:70
-
const string note() const
Returns note.
Definition: account.cpp:189
-
const string note() const
Returns note in plain text.
Definition: account.cpp:262
-
uint64_t followers_count() const
Returns number of followers.
Definition: account.cpp:126
-
const string header_static() const
Returns URL of static header image.
Definition: account.cpp:147
-
visibility_type privacy() const
Returns default privacy of new toots.
Definition: account.cpp:200
+
bool bot() const
Returns true if the account performs automated actions.
Definition: account.cpp:71
+
const string note() const
Returns note.
Definition: account.cpp:190
+
const string note() const
Returns note in plain text.
Definition: account.cpp:263
+
uint64_t followers_count() const
Returns number of followers.
Definition: account.cpp:127
+
const string header_static() const
Returns URL of static header image.
Definition: account.cpp:148
+
visibility_type privacy() const
Returns default privacy of new toots.
Definition: account.cpp:201
virtual bool valid() const override
Returns true if the Entity holds valid data.
Definition: account.cpp:25
-
const string username() const
Returns username (without @hostname)
Definition: account.cpp:356
-
const string display_name() const
Returns display name.
Definition: account.cpp:80
+
const string username() const
Returns username (without @hostname)
Definition: account.cpp:357
+
const string display_name() const
Returns display name.
Definition: account.cpp:81
Class to hold accounts.
Definition: account.hpp:46
-
const Easy::time created_at() const
Returns time of creation.
Definition: account.cpp:75
-
const Account moved() const
If the owner decided to switch accounts, new account is in this attribute.
Definition: account.cpp:178
+
const Easy::time created_at() const
Returns time of creation.
Definition: account.cpp:76
+
const Account moved() const
If the owner decided to switch accounts, new account is in this attribute.
Definition: account.cpp:179
Collection of things to interface with server software that implements the Mastodon API...
Definition: mastodon-cpp.hpp:52
Base class for all entities.
Definition: entity.hpp:41
-
visibility_type privacy() const
Returns default privacy of new toots.
Definition: account.cpp:273
-
bool locked() const
Returns true if the account is locked.
Definition: account.cpp:157
-
const string id() const
Returns account-ID.
Definition: account.cpp:152
+
visibility_type privacy() const
Returns default privacy of new toots.
Definition: account.cpp:274
+
bool locked() const
Returns true if the account is locked.
Definition: account.cpp:158
+
const string id() const
Returns account-ID.
Definition: account.cpp:153
Class to hold source attribute.
Definition: account.hpp:241
-
Type for time. Converts to time_point and string.
Definition: types_easy.hpp:141
-
bool sensitive() const
Returns if media is marked as sensitive by default.
Definition: account.cpp:324
+
Type for time. Converts to time_point and string.
Definition: types_easy.hpp:155
+
bool sensitive() const
Returns if media is marked as sensitive by default.
Definition: account.cpp:325
visibility_type
Describes visibility of posts.
Definition: types_easy.hpp:53
-
const string url() const
Returns URL of the profile.
Definition: account.cpp:351
-
bool has_moved() const
Returns true if the account has been moved.
Definition: account.cpp:168
+
const string url() const
Returns URL of the profile.
Definition: account.cpp:352
+
bool has_moved() const
Returns true if the account has been moved.
Definition: account.cpp:169
-
1 /* This file is part of mastodon-cpp.
2  * Copyright © 2018 tastytea <tastytea@tastytea.de>
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, version 3.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef MASTODON_CPP_EASY_ALL_HPP
18 #define MASTODON_CPP_EASY_ALL_HPP
19 
20 // If we are compiling mastodon-cpp, use another include path
21 #ifdef MASTODON_CPP
22  #include "easy/easy.hpp"
23  #include "easy/entities/account.hpp"
24  #include "easy/entities/application.hpp"
25  #include "easy/entities/attachment.hpp"
26  #include "easy/entities/card.hpp"
27  #include "easy/entities/context.hpp"
28  #include "easy/entities/emoji.hpp"
29  #include "easy/entities/instance.hpp"
30  #include "easy/entities/list.hpp"
31  #include "easy/entities/mention.hpp"
32  #include "easy/entities/notification.hpp"
33  #include "easy/entities/relationship.hpp"
34  #include "easy/entities/report.hpp"
35  #include "easy/entities/results.hpp"
36  #include "easy/entities/status.hpp"
37  #include "easy/entities/tag.hpp"
38  #include "easy/entities/pushsubscription.hpp"
39 #else
40  #include <mastodon-cpp/easy/easy.hpp>
41  #include <mastodon-cpp/easy/entities/account.hpp>
42  #include <mastodon-cpp/easy/entities/application.hpp>
43  #include <mastodon-cpp/easy/entities/attachment.hpp>
44  #include <mastodon-cpp/easy/entities/card.hpp>
45  #include <mastodon-cpp/easy/entities/context.hpp>
46  #include <mastodon-cpp/easy/entities/emoji.hpp>
47  #include <mastodon-cpp/easy/entities/instance.hpp>
48  #include <mastodon-cpp/easy/entities/list.hpp>
49  #include <mastodon-cpp/easy/entities/mention.hpp>
50  #include <mastodon-cpp/easy/entities/notification.hpp>
51  #include <mastodon-cpp/easy/entities/relationship.hpp>
52  #include <mastodon-cpp/easy/entities/report.hpp>
53  #include <mastodon-cpp/easy/entities/results.hpp>
54  #include <mastodon-cpp/easy/entities/status.hpp>
55  #include <mastodon-cpp/easy/entities/tag.hpp>
56  #include <mastodon-cpp/easy/entities/pushsubscription.hpp>
57 #endif
58 
59 #endif // MASTODON_CPP_EASY_ALL_HPP
+
1 /* This file is part of mastodon-cpp.
2  * Copyright © 2018 tastytea <tastytea@tastytea.de>
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, version 3.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef MASTODON_CPP_EASY_ALL_HPP
18 #define MASTODON_CPP_EASY_ALL_HPP
19 
20 // If we are compiling mastodon-cpp, use another include path
21 #ifdef MASTODON_CPP
22  #include "easy/easy.hpp"
23  #include "easy/entities/account.hpp"
24  #include "easy/entities/application.hpp"
25  #include "easy/entities/attachment.hpp"
26  #include "easy/entities/card.hpp"
27  #include "easy/entities/context.hpp"
28  #include "easy/entities/emoji.hpp"
29  #include "easy/entities/instance.hpp"
30  #include "easy/entities/list.hpp"
31  #include "easy/entities/mention.hpp"
32  #include "easy/entities/notification.hpp"
33  #include "easy/entities/relationship.hpp"
34  #include "easy/entities/report.hpp"
35  #include "easy/entities/results.hpp"
36  #include "easy/entities/status.hpp"
37  #include "easy/entities/tag.hpp"
38  #include "easy/entities/token.hpp"
39  #include "easy/entities/pushsubscription.hpp"
40  #include "easy/entities/filter.hpp"
41 #else
42  #include <mastodon-cpp/easy/easy.hpp>
43  #include <mastodon-cpp/easy/entities/account.hpp>
44  #include <mastodon-cpp/easy/entities/application.hpp>
45  #include <mastodon-cpp/easy/entities/attachment.hpp>
46  #include <mastodon-cpp/easy/entities/card.hpp>
47  #include <mastodon-cpp/easy/entities/context.hpp>
48  #include <mastodon-cpp/easy/entities/emoji.hpp>
49  #include <mastodon-cpp/easy/entities/instance.hpp>
50  #include <mastodon-cpp/easy/entities/list.hpp>
51  #include <mastodon-cpp/easy/entities/mention.hpp>
52  #include <mastodon-cpp/easy/entities/notification.hpp>
53  #include <mastodon-cpp/easy/entities/relationship.hpp>
54  #include <mastodon-cpp/easy/entities/report.hpp>
55  #include <mastodon-cpp/easy/entities/results.hpp>
56  #include <mastodon-cpp/easy/entities/status.hpp>
57  #include <mastodon-cpp/easy/entities/tag.hpp>
58  #include <mastodon-cpp/easy/entities/token.hpp>
59  #include <mastodon-cpp/easy/entities/pushsubscription.hpp>
60  #include <mastodon-cpp/easy/entities/filter.hpp>
61 #endif
62 
63 #endif // MASTODON_CPP_EASY_ALL_HPP