added extra console output to the xbmc checker

Former-commit-id: 3af9227391b72fc16b05895f1ab3daa7babb4f9e
This commit is contained in:
johan 2013-10-20 10:37:04 +02:00
parent 5c12a3c716
commit 641767a7e0
3 changed files with 23 additions and 1 deletions

Binary file not shown.

View File

@ -1 +1 @@
a0d2edb5c6043c421c8efc82a4b86edaa6d8837e
e6c843998c94f4bcb5740e0e8526d05c389f0b08

View File

@ -86,6 +86,28 @@ void XBMCVideoChecker::receiveReply()
// emit new state if applicable
if (newMode != _previousMode)
{
switch (newMode)
{
case GRABBINGMODE_VIDEO:
std::cout << "XBMC checker: switching to VIDEO" << std::endl;
break;
case GRABBINGMODE_PHOTO:
std::cout << "XBMC checker: switching to PHOTO" << std::endl;
break;
case GRABBINGMODE_AUDIO:
std::cout << "XBMC checker: switching to AUDIO" << std::endl;
break;
case GRABBINGMODE_MENU:
std::cout << "XBMC checker: switching to MENU" << std::endl;
break;
case GRABBINGMODE_OFF:
std::cout << "XBMC checker: switching to OFF" << std::endl;
break;
case GRABBINGMODE_INVALID:
std::cout << "XBMC checker: switching to INVALID" << std::endl;
break;
}
emit grabbingMode(newMode);
_previousMode = newMode;
}