5a63e70b7b
* modules/pandora_module.[cc,h]: Added an async property. Added getLatestOutput() to get the latest output of a module. * modules/pandora_module_factory.cc: Parse async token in modules. * modules/pandora_module_list.[cc,h]: It can create empty lists now and add modules using new addModule() function. * modules/pandora_module_service.[cc,h]: Added an async thread to watch services events and track services status changes quickly and asynchronously. * windows/pandora_wmi.cc: Style correction. * pandora_windows_service.[cc,h]: Pandora Windows service object is now single instance, so the instance to the running service can be accessed anywhere (useful in async threads). The XML generation and sending process has been moved to a new function called sendXml() which is thread-safe. * windows_service.h: Some properties are now protected instead of public to make it easier the singleton pattern in child classes. * main.cc: Adopted to singleton pattern in Pandora windows service. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f |
||
---|---|---|
.. | ||
wmi | ||
pandora_windows_info.cc | ||
pandora_windows_info.h | ||
pandora_wmi.cc | ||
pandora_wmi.h |