sdremote: protcol debug for send to match that for recv.

Change-Id: If2840336513772238ec43a9859d47a6e2a315e05
This commit is contained in:
Michael Meeks
2013-04-25 14:55:37 +01:00
parent b308d0b061
commit a06afd68ed
2 changed files with 3 additions and 4 deletions

View File

@@ -63,13 +63,13 @@ void Listener::init( const css::uno::Reference< css::presentation::XSlideShowCon
} }
//----- XAnimationListener ---------------------------------------------------- //----- XAnimationListener ----------------------------------------------------
void SAL_CALL Listener::beginEvent(const css::uno::Reference< void SAL_CALL Listener::beginEvent(const css::uno::Reference<
css::animations::XAnimationNode >& rNode ) throw (css::uno::RuntimeException) css::animations::XAnimationNode >& rNode ) throw (css::uno::RuntimeException)
{ {
(void) rNode; (void) rNode;
} }
void SAL_CALL Listener::endEvent( const css::uno::Reference< void SAL_CALL Listener::endEvent( const css::uno::Reference<
css::animations::XAnimationNode >& rNode ) throw (css::uno::RuntimeException) css::animations::XAnimationNode >& rNode ) throw (css::uno::RuntimeException)
{ {
@@ -84,7 +84,6 @@ void SAL_CALL Listener::repeat( const css::uno::Reference<
(void) aRepeat; (void) aRepeat;
} }
//----- XSlideShowListener ---------------------------------------------------- //----- XSlideShowListener ----------------------------------------------------
void SAL_CALL Listener::paused (void) void SAL_CALL Listener::paused (void)

View File

@@ -36,12 +36,14 @@ void SAL_CALL Transmitter::run()
{ {
OString aMessage( mHighPriority.front() ); OString aMessage( mHighPriority.front() );
mHighPriority.pop(); mHighPriority.pop();
SAL_INFO( "sdremote.bluetooth", "write high prio line '" << aMessage << "'" );
pStreamSocket->write( aMessage.getStr(), aMessage.getLength() ); pStreamSocket->write( aMessage.getStr(), aMessage.getLength() );
} }
else if ( !mLowPriority.empty() ) else if ( !mLowPriority.empty() )
{ {
OString aMessage( mLowPriority.front() ); OString aMessage( mLowPriority.front() );
mLowPriority.pop(); mLowPriority.pop();
SAL_INFO( "sdremote.bluetooth", "write normal line '" << aMessage << "'" );
pStreamSocket->write( aMessage.getStr(), aMessage.getLength() ); pStreamSocket->write( aMessage.getStr(), aMessage.getLength() );
} }
@@ -50,7 +52,6 @@ void SAL_CALL Transmitter::run()
mQueuesNotEmpty.reset(); mQueuesNotEmpty.reset();
} }
} }
} }
void Transmitter::notifyFinished() void Transmitter::notifyFinished()
@@ -61,7 +62,6 @@ void Transmitter::notifyFinished()
Transmitter::~Transmitter() Transmitter::~Transmitter()
{ {
} }
void Transmitter::addMessage( const OString& aMessage, const Priority aPriority ) void Transmitter::addMessage( const OString& aMessage, const Priority aPriority )