On Mon, Apr 7, 2014 at 1:40 AM, Aleix Pol <[email protected]> wrote: > On Mon, Apr 7, 2014 at 3:28 AM, Ahmed I. Khalil < > [email protected]> wrote: > >> Hi, >> >> I've written this library to add this feature [1] to KTp. >> The library could also be used or linked with other different KTp >> components. >> >> You can find the library code on Github [2] >> >> I'd like someone from KTp development team(David maybe?) to take a >> look at the code and tell me about any shortcomings about it. >> >> There is a known issue, is that the library is linked statically, I tried >> to >> build it as a shared library but I get undefined references although I've >> installed the library on the /usr/lib path and made sure that I linked >> with >> it but still it gives me undefined references. >> >> Cheers >> >> [1] https://bugs.kde.org/show_bug.cgi?id=322874 >> [2] https://github.com/R4md4c/ktp-image-sharer >> _______________________________________________ >> KDE-Telepathy mailing list >> [email protected] >> https://mail.kde.org/mailman/listinfo/kde-telepathy >> >> > Why did you write new code for sharing to pastebin? You can access the one > from the pastebin plugin if you want, it's a Plasma DataEngine. > > I was intending to use the "share" DataEngine that the pastebin plasmoid uses, but when discussed this on #kde-telepathy channel, David and Martin told me that linking with Plasma(which will add a dependency to Plasma) is the last option that we could go for it. So Martin has encouraged me to write a standalone library that will dependency free and could be used with other KTp components.
But I've used the "share" DataEngine as a reference and to understand the sharing logic behind it and ported it to be fully C++ instead of using JavaScript to get the information of the used sharing service. Aleix > > _______________________________________________ > KDE-Telepathy mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/kde-telepathy > > Cheers
_______________________________________________ KDE-Telepathy mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-telepathy
