Thread: mbarcode
View Single Post
Posts: 2,006 | Thanked: 3,351 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#690
Originally Posted by lardman View Post
Right, new version of mBarcode and all the plugins (just bumped the version number as they are compiled against the new plugin api) on their way to extras-devel.
Where is the new API described?

Right now new Mbarcode cannot work because of my out-of-date plug-in. Just crashes at first loading of the plug-ins.

Are getImage and getInformativeText mandatory functions?

I will upload here code and compiled library if I manage to compile my plugin with new API.

EDIT: Now Mbarcode doesn't crash and it can scan a barcode and display results, but it doesn't see my plug-in at all. What am I missing? It's not in the list of plug-ins.

EDIT: Ok, it works now, I'll need to add some code so that informative text was more informative than short text.

Note: I don't really understand how can signal be connected to MaemoBarcodeWindow* parent when I haven't taken plugin's parent at all; this->parent = parent; is obsolete. But it doesn't really matter.

Note about QrCode plugin: its image is too small in "Set Plugins" window. And if some-when I will need to use an image, I would be interested in knowing how to adapt it to needed size (small in results, large in settings).

Last edited by Wikiwide; 2010-12-27 at 05:58.