<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 3, 2015 at 7:29 PM, Aleix Pol <span dir="ltr"><<a href="mailto:aleixpol@kde.org" target="_blank">aleixpol@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, Dec 2, 2015 at 11:56 PM, Mark Gaiser <<a href="mailto:markg85@gmail.com">markg85@gmail.com</a>> wrote:<br>
> On Tue, Dec 1, 2015 at 3:01 PM, Aleix Pol <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>> wrote:<br>
>><br>
>> Hi,<br>
>> I've been working on Purpose since some months now, with the intention<br>
>> of becoming a framework some day. Some information about it can be<br>
>> read here:<br>
>><br>
>> <a href="https://projects.kde.org/projects/playground/libs/purpose/repository/revisions/master/entry/README.md" rel="noreferrer" target="_blank">https://projects.kde.org/projects/playground/libs/purpose/repository/revisions/master/entry/README.md</a><br>
>><br>
>> As it is right now it's a tier 2 framework (kcoreaddons and ki18n)<br>
>> plus the plugins. Plugins raise the tier to 3 because of KIO which is<br>
>> used by some plugins.<br>
>><br>
>> As it is now, it's being used by: Kamoso, QuickShare plasmoid and<br>
>> KDevelop for patch sharing. I'd like to see it used in other cases<br>
>> than sharing as well as in other applications, but here's where we are<br>
>> at the moment. I think it's something to build upon.<br>
>><br>
>> Any thoughts?<br>
>><br>
>> Aleix<br>
><br>
><br>
> Hi Aleix,<br>
><br>
> I'm trying to understand what Purpose is doing exactly.<br>
> I've read the readme file, but i still can't quite figure out what it's<br>
> doing or where i might be able to use it.<br>
><br>
> Could you give a short summary with a clear example where to use it? That<br>
> would help me :)<br>
<br>
</div></div>Well, the shortcut to explaining it is that it's quite similar to<br>
Android intents.<br>
<br>
The idea is that you identify some tasks you can group, for example:<br>
- share, where you can get the different services to share<br>
- getImage that would list your scanner, camera and also some web services.<br>
- addContact that would let you add a contact on your address book or<br>
gmail directly.<br>
<br>
Then you receive the results in a nice and simple tuple. The input and<br>
output arguments depend on the kind of task you are performing.<br>
<br>
I hope this made sense<br>
<div class="HOEnZb"><div class="h5">Aleix<br>
</div><div class="h5"><br></div></div></blockquote><div>Thank you, that clears it up for me i think.</div><div><br></div><div>Just curious, what would have to be done for a "send file" intent?</div><div>Where a file can be send to (one of the following):</div><div>- google drive</div><div>- owncloud</div><div>- dropbox</div><div>- as mail attachment to someone</div><div>- whatever other plugin</div><div><br></div><div>I'm guessing each individual plugin would have to be fully implemented in Purpose?</div></div><br></div></div>