summaryrefslogtreecommitdiffstats
path: root/noatun/modules/making_plugins
blob: 0134b32180f66d717157d7d47159fb20bcb8af3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 TQObject 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.