From e2de64d6f1beb9e492daf5b886e19933c1fa41dd Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- noatun/modules/making_plugins | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 noatun/modules/making_plugins (limited to 'noatun/modules/making_plugins') diff --git a/noatun/modules/making_plugins b/noatun/modules/making_plugins new file mode 100644 index 00000000..cb921cc2 --- /dev/null +++ b/noatun/modules/making_plugins @@ -0,0 +1,23 @@ +Welcome to the wonderful world of noatun plugin development! + +This is just a "notes" file. It won't show you _how_ to do it. + +You're free to use the net plugin as a base, I've licensed it under the +public domain, so you can relicense it however you wish (preferably not +GPL, though :) + +Remember that QObject must derive first. + +Do a "return this;" in the PlayList *playlist() const; function, if your class +is a playlist, otherwise, don't even override that function. + +If your playlist can't seem to get activated, you might have left out the +"const". + +For your create_plugin class, it should return Plugin*, not ClassName *: +Plugin *create_plugin() {...} // good +MyClass *create_plugin() {...{ // bad +(this is important) + +A lot should be available to you with the 'napp' variable. It returns +the global NoatunApp* type. -- cgit v1.2.1