mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
309 lines
7.0 KiB
HTML
309 lines
7.0 KiB
HTML
<!--
|
|
SPDX-FileCopyrightText: Rafał Dzięgiel
|
|
|
|
SPDX-License-Identifier: LGPL-2.1-or-later
|
|
-->
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Clapper.Playlistable</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
|
|
<meta property="og:type" content="website"/>
|
|
|
|
|
|
<meta property="og:image:width" content="256"/>
|
|
<meta property="og:image:height" content="256"/>
|
|
<meta property="og:image:secure_url" content="clapper-logo.svg"/>
|
|
<meta property="og:image:alt" content="Clapper-0.0"/>
|
|
|
|
|
|
|
|
<meta property="og:title" content="Clapper.Playlistable"/>
|
|
<meta property="og:description" content="Reference for Clapper.Playlistable"/>
|
|
<meta name="twitter:title" content="Clapper.Playlistable"/>
|
|
<meta name="twitter:description" content="Reference for Clapper.Playlistable"/>
|
|
|
|
|
|
|
|
<meta name="twitter:card" content="summary"/>
|
|
|
|
|
|
|
|
|
|
<link rel="search" type="application/opensearchdescription+xml" title="Clapper" href="opensearch.xml">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
|
|
|
|
|
|
|
|
<script src="urlmap.js"></script>
|
|
|
|
|
|
<script src="fzy.js"></script>
|
|
<script src="search.js"></script>
|
|
|
|
<script src="main.js"></script>
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div id="body-wrapper" tabindex="-1">
|
|
|
|
<nav class="sidebar devhelp-hidden">
|
|
|
|
<div class="section">
|
|
<a href="index.html"><img src="clapper-logo.svg" class="logo"/></a>
|
|
</div>
|
|
|
|
|
|
<div class="search section">
|
|
<form id="search-form" autocomplete="off">
|
|
<input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="section namespace">
|
|
<h3><a href="index.html">Clapper</a></h3>
|
|
<p>API Version: 0.0</p>
|
|
|
|
<p>Library Version: 0.9.1</p>
|
|
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h5>Type</h5>
|
|
<div class="links">
|
|
<a class="current" href="iface.Playlistable.html#description">Playlistable</a>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="section">
|
|
<h5>Virtual methods</h5>
|
|
<div class="links">
|
|
|
|
<a class="method" href="vfunc.Playlistable.parse.html">parse</a>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="section generator">
|
|
<p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2025.4</p>
|
|
</div>
|
|
</nav>
|
|
|
|
<button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
|
|
|
|
|
|
<section id="main" class="content">
|
|
<header>
|
|
<h3>Interface</h3>
|
|
<h1><a href="index.html">Clapper</a><span class="sep"></span>Playlistable</h1>
|
|
</header>
|
|
|
|
<section>
|
|
<summary>
|
|
<div class="docblock">
|
|
<p><span class="emblem available-next" title="This type will be available in the next stable release">unstable</span> <span class="emblem available">since: 0.10</span></p>
|
|
</div>
|
|
<div class="toggle-wrapper">
|
|
<h4 id="description" style="display:flex;">
|
|
Description
|
|
<a href="#description" class="anchor"></a>
|
|
|
|
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-playlistable.c#L19">[src]</a>
|
|
|
|
</h4>
|
|
|
|
<pre><code>interface Clapper.Playlistable : GObject.Object</code></pre>
|
|
|
|
<div class="docblock">
|
|
<p>An interface for creating enhancers that parse data into individual media items.</p>
|
|
</div>
|
|
|
|
<div class="docblock">
|
|
|
|
|
|
<p>Available since: 0.10</p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</summary>
|
|
|
|
<div class="toggle-wrapper prerequisite">
|
|
<h4 id="prerequisite">
|
|
Prerequisite
|
|
<a href="#prerequisite" class="anchor"></a>
|
|
</h4>
|
|
|
|
<div class="docblock">
|
|
<p>In order to implement Playlistable, your type must inherit from<a data-namespace="GObject" data-link="class.Object.html" href="javascript:void(0)" class="external"><code>GObject</code></a>.</p>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="interface toggle-wrapper default-hide">
|
|
<h4 style="display:flex;" id="interface-struct">
|
|
Interface structure
|
|
<a href="#interface-struct" class="anchor"></a>
|
|
|
|
</h4>
|
|
|
|
<div class="docblock">
|
|
<pre><code>struct ClapperPlaylistableInterface {
|
|
GTypeInterface parent_iface;
|
|
gboolean (* parse) (
|
|
ClapperPlaylistable* playlistable,
|
|
GUri* uri,
|
|
GBytes* bytes,
|
|
GListStore* playlist,
|
|
GCancellable* cancellable,
|
|
GError** error
|
|
);
|
|
|
|
}</code></pre>
|
|
</div>
|
|
|
|
<div class="docblock">
|
|
<p>No description available.</p>
|
|
</div>
|
|
|
|
|
|
<div class="docblock">
|
|
<h6>Interface members</h6>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
<td style="vertical-align:top"><code>parent_iface</code></td>
|
|
<td style="vertical-align:top"><pre><code>GTypeInterface</code></pre></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td><td style="vertical-align:top"><p>The parent interface structure.</p></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="vertical-align:top"><code>parse</code></td>
|
|
<td style="vertical-align:top"><pre><code>gboolean (* parse) (
|
|
ClapperPlaylistable* playlistable,
|
|
GUri* uri,
|
|
GBytes* bytes,
|
|
GListStore* playlist,
|
|
GCancellable* cancellable,
|
|
GError** error
|
|
)</code></pre></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td><td style="vertical-align:top"><p>Parse bytes and fill playlist.</p></td>
|
|
</tr>
|
|
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="toggle-wrapper methods">
|
|
<h4 id="virtual-methods">
|
|
Virtual methods
|
|
<a href="#virtual-methods" class="anchor"></a>
|
|
</h4>
|
|
|
|
<div class="docblock">
|
|
|
|
<div class="">
|
|
<h6 id="vfunc-parse"><a href="vfunc.Playlistable.parse.html">Clapper.Playlistable.parse</a></h6>
|
|
<div class="docblock">
|
|
<p>Parse <code>bytes</code> and fill <code>playlist</code> with <code>ClapperMediaItem</code> objects.</p>
|
|
</div>
|
|
<div class="docblock">
|
|
<p><span class="emblem available-next" title="This virtual method will be available in the next stable release">unstable</span> <span class="emblem available">since: 0.10</span></p>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</section>
|
|
</section>
|
|
|
|
|
|
|
|
<div id="toc" class="toc">
|
|
<nav aria-labelledby="toc-title">
|
|
<p id="toc-title">Content</p>
|
|
<ul class="toc-list">
|
|
<li class="toc-list-item"><a href="#description"><span class="link-text">Description</span></a></li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="toc-list-item"><a href="#virtual-methods"><span class="link-text">Virtual methods</span></a></li>
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
|
|
|
|
<section id="search" class="content hidden"></section>
|
|
|
|
<footer>
|
|
|
|
</footer>
|
|
</div>
|
|
</body>
|
|
</html> |