2020-01-18

This commit is contained in:
tastytea 2020-01-18 23:53:27 +01:00
parent 426d9ce1e9
commit aceae36fef
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
9 changed files with 41 additions and 9 deletions

View File

@ -148,7 +148,7 @@ $(function() {
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; </div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; [[nodiscard]]</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <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> &amp;endpoint,</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacemastodonpp.html#af8b3b89118adeccc71c54dfd36c987f6">parametermap</a> &amp;parameters);</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacemastodonpp.html#af8b3b89118adeccc71c54dfd36c987f6">parametermap</a> &amp;parameters);</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; </div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; [[nodiscard]]</div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classmastodonpp_1_1Connection.html#a3f1e0440b68a44cf678bfdbe33295197"> 190</a></span>&#160; <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> &amp;endpoint)</div>

View File

@ -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 &quot;mastodonpp.hpp&quot;</span></div>
<div class="line"><span class="preprocessor">#if __has_include(&quot;mastodonpp.hpp&quot;)</span></div>
<div class="line"><span class="preprocessor"># include &quot;mastodonpp.hpp&quot;</span> <span class="comment">// We&#39;re building mastodonpp.</span></div>
<div class="line"><span class="preprocessor">#else</span></div>
<div class="line"><span class="preprocessor"># include &lt;mastodonpp/mastodonpp.hpp&gt;</span> <span class="comment">// We&#39;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 &lt;iostream&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;string&gt;</span></div>

View File

@ -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 &quot;mastodonpp.hpp&quot;</span></div>
<div class="line"><span class="preprocessor">#if __has_include(&quot;mastodonpp.hpp&quot;)</span></div>
<div class="line"><span class="preprocessor"># include &quot;mastodonpp.hpp&quot;</span> <span class="comment">// We&#39;re building mastodonpp.</span></div>
<div class="line"><span class="preprocessor">#else</span></div>
<div class="line"><span class="preprocessor"># include &lt;mastodonpp/mastodonpp.hpp&gt;</span> <span class="comment">// We&#39;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 &lt;chrono&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;iostream&gt;</span></div>

View File

@ -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 &quot;mastodonpp.hpp&quot;</span></div>
<div class="line"><span class="preprocessor">#if __has_include(&quot;mastodonpp.hpp&quot;)</span></div>
<div class="line"><span class="preprocessor"># include &quot;mastodonpp.hpp&quot;</span> <span class="comment">// We&#39;re building mastodonpp.</span></div>
<div class="line"><span class="preprocessor">#else</span></div>
<div class="line"><span class="preprocessor"># include &lt;mastodonpp/mastodonpp.hpp&gt;</span> <span class="comment">// We&#39;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 &lt;iostream&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;string&gt;</span></div>

View File

@ -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 &quot;mastodonpp.hpp&quot;</span></div>
<div class="line"><span class="preprocessor">#if __has_include(&quot;mastodonpp.hpp&quot;)</span></div>
<div class="line"><span class="preprocessor"># include &quot;mastodonpp.hpp&quot;</span> <span class="comment">// We&#39;re building mastodonpp.</span></div>
<div class="line"><span class="preprocessor">#else</span></div>
<div class="line"><span class="preprocessor"># include &lt;mastodonpp/mastodonpp.hpp&gt;</span> <span class="comment">// We&#39;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 &lt;iostream&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;string&gt;</span></div>

View File

@ -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 &quot;mastodonpp.hpp&quot;</span></div>
<div class="line"><span class="preprocessor">#if __has_include(&quot;mastodonpp.hpp&quot;)</span></div>
<div class="line"><span class="preprocessor"># include &quot;mastodonpp.hpp&quot;</span> <span class="comment">// We&#39;re building mastodonpp.</span></div>
<div class="line"><span class="preprocessor">#else</span></div>
<div class="line"><span class="preprocessor"># include &lt;mastodonpp/mastodonpp.hpp&gt;</span> <span class="comment">// We&#39;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 &lt;iostream&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;string&gt;</span></div>

View File

@ -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 &quot;mastodonpp.hpp&quot;</span></div>
<div class="line"><span class="preprocessor">#if __has_include(&quot;mastodonpp.hpp&quot;)</span></div>
<div class="line"><span class="preprocessor"># include &quot;mastodonpp.hpp&quot;</span> <span class="comment">// We&#39;re building mastodonpp.</span></div>
<div class="line"><span class="preprocessor">#else</span></div>
<div class="line"><span class="preprocessor"># include &lt;mastodonpp/mastodonpp.hpp&gt;</span> <span class="comment">// We&#39;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 &lt;iostream&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;string&gt;</span></div>

View File

@ -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 &quot;mastodonpp.hpp&quot;</span></div>
<div class="line"><span class="preprocessor">#if __has_include(&quot;mastodonpp.hpp&quot;)</span></div>
<div class="line"><span class="preprocessor"># include &quot;mastodonpp.hpp&quot;</span> <span class="comment">// We&#39;re building mastodonpp.</span></div>
<div class="line"><span class="preprocessor">#else</span></div>
<div class="line"><span class="preprocessor"># include &lt;mastodonpp/mastodonpp.hpp&gt;</span> <span class="comment">// We&#39;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 &lt;chrono&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;iostream&gt;</span></div>

View File

@ -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 &quot;mastodonpp.hpp&quot;</span></div>
<div class="line"><span class="preprocessor">#if __has_include(&quot;mastodonpp.hpp&quot;)</span></div>
<div class="line"><span class="preprocessor"># include &quot;mastodonpp.hpp&quot;</span> <span class="comment">// We&#39;re building mastodonpp.</span></div>
<div class="line"><span class="preprocessor">#else</span></div>
<div class="line"><span class="preprocessor"># include &lt;mastodonpp/mastodonpp.hpp&gt;</span> <span class="comment">// We&#39;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 &lt;cstdlib&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;iostream&gt;</span></div>