28
28
//\_________________ 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.
29
29
CD_APPLET_GET_CONFIG_BEGIN
31
32
myConfig.iCloseDuration = CD_CONFIG_GET_INTEGER ("Configuration", "stop duration");
32
33
myConfig.cIconAnimation = CD_CONFIG_GET_STRING ("Configuration", "animation");