Thanks for the comments. It's always nice to hear some constructive critique and suggestions.
I'm not sure how LCDInfo is that different from LCDStudio in variable enumeration. When the plugin starts it can add as many variables as it needs . I know many of the example plugins have simple hardcoded variables so they are not that good examples.
If you look the networkstats plugin code from
here you can see all the network interfaces enumerated and added. Maybe I don't understand wha t you mean so maybe you could give some example ?
You are correct with your comment about the drive letters. Like
here I mentioned doing the quick bad hack instead of properly coding support for enumerating the drives from the system.
Your suggestion about support for parameters for variables is good and it's not even that difficult to add. It has been on my todo list for a while.
Then about the POP3 checker. I thought about adding support for some kind timed updates but then I decided to keep things simple and let the plugin writer to implement a timer in the plugin to handle periodic data updates. This way LCDInfo can request data from the plugin without much overhead as often as it likes and the plugin can update the data at it's own pace. The timer interval could be user defined from the plugin config dialog.
Example of a timer can be found from the winamp2 plugin source code. In that one the timer updates fast but it can also go as slow as needed.
I hope this explains some of my decisions but I'm not saying these things are final so please let me know your thoughts. Things can always change and I probably haven't thought of every situation how things can be done.