2020-01-18
This commit is contained in:
parent
426d9ce1e9
commit
aceae36fef
|
@ -148,7 +148,7 @@ $(function() {
|
|||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  </div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  [[nodiscard]]</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <a class="code" href="structmastodonpp_1_1answer__type.html">answer_type</a> <a class="code" href="classmastodonpp_1_1Connection.html#a10f838c74d2ccc83f64f29e2aad2f157">patch</a>(<span class="keyword">const</span> <a class="code" href="namespacemastodonpp.html#ad228a850ba86374f95d9fa1fece3c33b">endpoint_variant</a> &endpoint,</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keyword">const</span> <a class="code" href="namespacemastodonpp.html#af8b3b89118adeccc71c54dfd36c987f6">parametermap</a> &parameters);</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keyword">const</span> <a class="code" href="namespacemastodonpp.html#af8b3b89118adeccc71c54dfd36c987f6">parametermap</a> &parameters);</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  </div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  [[nodiscard]]</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classmastodonpp_1_1Connection.html#a3f1e0440b68a44cf678bfdbe33295197"> 190</a></span>  <span class="keyword">inline</span> <a class="code" href="structmastodonpp_1_1answer__type.html">answer_type</a> <a class="code" href="classmastodonpp_1_1Connection.html#a3f1e0440b68a44cf678bfdbe33295197">patch</a>(<span class="keyword">const</span> <a class="code" href="namespacemastodonpp.html#ad228a850ba86374f95d9fa1fece3c33b">endpoint_variant</a> &endpoint)</div>
|
||||
|
|
|
@ -83,7 +83,11 @@ $(function() {
|
|||
<div class="line"> </div>
|
||||
<div class="line"><span class="comment">// Print information about an instance (/api/v1/instance).</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include "mastodonpp.hpp"</span></div>
|
||||
<div class="line"><span class="preprocessor">#if __has_include("mastodonpp.hpp")</span></div>
|
||||
<div class="line"><span class="preprocessor"># include "mastodonpp.hpp"</span> <span class="comment">// We're building mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#else</span></div>
|
||||
<div class="line"><span class="preprocessor"># include <mastodonpp/mastodonpp.hpp></span> <span class="comment">// We're building outside mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include <iostream></span></div>
|
||||
<div class="line"><span class="preprocessor">#include <string></span></div>
|
||||
|
|
|
@ -83,7 +83,11 @@ $(function() {
|
|||
<div class="line"> </div>
|
||||
<div class="line"><span class="comment">// Print new public events (/api/v1/streaming/public).</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include "mastodonpp.hpp"</span></div>
|
||||
<div class="line"><span class="preprocessor">#if __has_include("mastodonpp.hpp")</span></div>
|
||||
<div class="line"><span class="preprocessor"># include "mastodonpp.hpp"</span> <span class="comment">// We're building mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#else</span></div>
|
||||
<div class="line"><span class="preprocessor"># include <mastodonpp/mastodonpp.hpp></span> <span class="comment">// We're building outside mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include <chrono></span></div>
|
||||
<div class="line"><span class="preprocessor">#include <iostream></span></div>
|
||||
|
|
|
@ -83,7 +83,11 @@ $(function() {
|
|||
<div class="line"> </div>
|
||||
<div class="line"><span class="comment">// Post a status (/api/v1/status).</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include "mastodonpp.hpp"</span></div>
|
||||
<div class="line"><span class="preprocessor">#if __has_include("mastodonpp.hpp")</span></div>
|
||||
<div class="line"><span class="preprocessor"># include "mastodonpp.hpp"</span> <span class="comment">// We're building mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#else</span></div>
|
||||
<div class="line"><span class="preprocessor"># include <mastodonpp/mastodonpp.hpp></span> <span class="comment">// We're building outside mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include <iostream></span></div>
|
||||
<div class="line"><span class="preprocessor">#include <string></span></div>
|
||||
|
|
|
@ -83,7 +83,11 @@ $(function() {
|
|||
<div class="line"> </div>
|
||||
<div class="line"><span class="comment">// Post a status (/api/v1/status) with an attachment (/api/v1/media).</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include "mastodonpp.hpp"</span></div>
|
||||
<div class="line"><span class="preprocessor">#if __has_include("mastodonpp.hpp")</span></div>
|
||||
<div class="line"><span class="preprocessor"># include "mastodonpp.hpp"</span> <span class="comment">// We're building mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#else</span></div>
|
||||
<div class="line"><span class="preprocessor"># include <mastodonpp/mastodonpp.hpp></span> <span class="comment">// We're building outside mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include <iostream></span></div>
|
||||
<div class="line"><span class="preprocessor">#include <string></span></div>
|
||||
|
|
|
@ -83,7 +83,11 @@ $(function() {
|
|||
<div class="line"> </div>
|
||||
<div class="line"><span class="comment">// Update notification settings (/api/pleroma/notification_settings).</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include "mastodonpp.hpp"</span></div>
|
||||
<div class="line"><span class="preprocessor">#if __has_include("mastodonpp.hpp")</span></div>
|
||||
<div class="line"><span class="preprocessor"># include "mastodonpp.hpp"</span> <span class="comment">// We're building mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#else</span></div>
|
||||
<div class="line"><span class="preprocessor"># include <mastodonpp/mastodonpp.hpp></span> <span class="comment">// We're building outside mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include <iostream></span></div>
|
||||
<div class="line"><span class="preprocessor">#include <string></span></div>
|
||||
|
|
|
@ -83,7 +83,11 @@ $(function() {
|
|||
<div class="line"> </div>
|
||||
<div class="line"><span class="comment">// Update account display name settings (/api/v1/accounts/update_credentials).</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include "mastodonpp.hpp"</span></div>
|
||||
<div class="line"><span class="preprocessor">#if __has_include("mastodonpp.hpp")</span></div>
|
||||
<div class="line"><span class="preprocessor"># include "mastodonpp.hpp"</span> <span class="comment">// We're building mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#else</span></div>
|
||||
<div class="line"><span class="preprocessor"># include <mastodonpp/mastodonpp.hpp></span> <span class="comment">// We're building outside mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include <iostream></span></div>
|
||||
<div class="line"><span class="preprocessor">#include <string></span></div>
|
||||
|
|
|
@ -83,7 +83,11 @@ $(function() {
|
|||
<div class="line"> </div>
|
||||
<div class="line"><span class="comment">// Post a status (/api/v1/status), then delete it (/api/v1/statuses/:id).</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include "mastodonpp.hpp"</span></div>
|
||||
<div class="line"><span class="preprocessor">#if __has_include("mastodonpp.hpp")</span></div>
|
||||
<div class="line"><span class="preprocessor"># include "mastodonpp.hpp"</span> <span class="comment">// We're building mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#else</span></div>
|
||||
<div class="line"><span class="preprocessor"># include <mastodonpp/mastodonpp.hpp></span> <span class="comment">// We're building outside mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include <chrono></span></div>
|
||||
<div class="line"><span class="preprocessor">#include <iostream></span></div>
|
||||
|
|
|
@ -83,7 +83,11 @@ $(function() {
|
|||
<div class="line"> </div>
|
||||
<div class="line"><span class="comment">// Obtain an access token and verify that it works.</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include "mastodonpp.hpp"</span></div>
|
||||
<div class="line"><span class="preprocessor">#if __has_include("mastodonpp.hpp")</span></div>
|
||||
<div class="line"><span class="preprocessor"># include "mastodonpp.hpp"</span> <span class="comment">// We're building mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#else</span></div>
|
||||
<div class="line"><span class="preprocessor"># include <mastodonpp/mastodonpp.hpp></span> <span class="comment">// We're building outside mastodonpp.</span></div>
|
||||
<div class="line"><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"> </div>
|
||||
<div class="line"><span class="preprocessor">#include <cstdlib></span></div>
|
||||
<div class="line"><span class="preprocessor">#include <iostream></span></div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user