I dont think that this FQ exists, however, to try this, the best could be start loking at a simple plugin and take it as a template. Start with the main.cpp file of things like mythvieo, mythweather...