diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e2de64d6f1beb9e492daf5b886e19933c1fa41dd (patch) | |
tree | 9047cf9e6b5c43878d5bf82660adae77ceee097a /noatun/modules/making_plugins | |
download | tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.tar.gz tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.zip |
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
Diffstat (limited to 'noatun/modules/making_plugins')
-rw-r--r-- | noatun/modules/making_plugins | 23 |
1 files changed, 23 insertions, 0 deletions
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. |