27
27
//\_________________ Here you have to get all your parameters from the conf file. Use the macros CD_CONFIG_GET_BOOLEAN, CD_CONFIG_GET_INTEGER, CD_CONFIG_GET_STRING, etc. myConfig has been reseted to 0 at this point. This function is called at the beginning of init and reload.
28
28
CD_APPLET_GET_CONFIG_BEGIN
29
29
myConfig.cAnimationName = CD_CONFIG_GET_STRING ("Configuration", "animation");
34
34
//\_________________ Here you have to free all ressources allocated for myConfig. This one will be reseted to 0 at the end of this function. This function is called right before you get the applet's config, and when your applet is stopped, in the end.
35
35
CD_APPLET_RESET_CONFIG_BEGIN
37
37
CD_APPLET_RESET_CONFIG_END
39
39
//\_________________ Here you have to free all ressources allocated for myData. This one will be reseted to 0 at the end of this function. This function is called when your applet is stopped, in the very end.