summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-27 10:29:56 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-10-27 10:29:56 +0100
commit31cc337f6488c59322882656510c4ef079e7891d (patch)
treef7085fa2d56d61f7309a154c69be08260814717a /deadbeef.h
parent67838747c869dcc56ff1de7dba3e9365cd802caa (diff)
deadbeef.h: documented connect behavior
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 1baf7bca..6a12cc2c 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -916,6 +916,9 @@ typedef struct DB_plugin_s {
// connect is called to setup connections between different plugins
// it is called after all plugin's start method was executed
// can be NULL
+ // NOTE for GUI plugin developers: don't initialize your widgets/windows in
+ // the connect method. look for up-to-date information on wiki:
+ // http://sourceforge.net/apps/mediawiki/deadbeef/index.php?title=Porting_GUI_plugins_to_0.6
int (*connect) (void);
// opposite of connect, will be called before stop, while all plugins are still