65
66
//\___________ Here is where you initiate your applet. myConfig is already set at this point, and also myIcon, myContainer, myDock, myDesklet (and myDrawContext if you're in dock mode). The macro CD_APPLET_MY_CONF_FILE and CD_APPLET_MY_KEY_FILE can give you access to the applet's conf-file and its corresponding key-file (also available during reload). If you're in desklet mode, myDrawContext is still NULL, and myIcon's buffers has not been filled, because you may not need them then (idem when reloading).
67
69
// Add here all player's registering functions
68
70
// Don't forget to add the registered Name in ../data/musicPlayer.conf.in
70
72
cd_musicplayer_register_exaile_handler();
71
73
cd_musicplayer_register_exaile3_handler();
72
74
cd_musicplayer_register_songbird_handler();