<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 09/11/2016 10:47, Enwei Zhang wrote:<br>
</div>
<blockquote
cite="mid:CADY8WocD5Ee-XkqjAaNvMUAsPKhU394NYq73Y46OVphoutnVAA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hello,<br>
</div>
For now, all slots are provided by ubuntu-core. I saw
the concept of App-provided slots from<br>
<a moz-do-not-send="true"
href="https://github.com/snapcore/snapd/blob/master/interfaces/builtin/basedeclaration.go#L72">https://github.com/snapcore/snapd/blob/master/interfaces/builtin/basedeclaration.go#L72</a><br>
</div>
But I didn't find any guidance/document about how to do
that.<br>
</div>
Could you please help advise?<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
I don't think we have a document for this yet, except the general
interfaces overview that only mentions it as a possibility (
<a class="moz-txt-link-freetext" href="http://snapcraft.io/docs/core/interfaces">http://snapcraft.io/docs/core/interfaces</a> ).<br>
<br>
As far as I know, only two snaps are providing their own slots: the
core snap and bluez.<br>
If it can help in the meantime, the source code I've found for the
bluez snap is at:
<a class="moz-txt-link-freetext" href="http://bazaar.launchpad.net/~bluetooth/bluez/snap-core-rolling/files">http://bazaar.launchpad.net/~bluetooth/bluez/snap-core-rolling/files</a><br>
<br>
CCing Morphis and Zyga for more information.<br>
<br>
Cheers,<br>
David<br>
<br>
<blockquote
cite="mid:CADY8WocD5Ee-XkqjAaNvMUAsPKhU394NYq73Y46OVphoutnVAA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Thanks so much.<br>
<br>
</div>
Br<br>
</div>
Enwei<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<p><br>
</p>
</body>
</html>