Kaydet (Commit) a06afd68 authored tarafından Michael Meeks's avatar Michael Meeks

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

Change-Id: If2840336513772238ec43a9859d47a6e2a315e05
üst b308d0b0
...@@ -63,13 +63,13 @@ void Listener::init( const css::uno::Reference< css::presentation::XSlideShowCon ...@@ -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< ...@@ -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)
......
...@@ -36,12 +36,14 @@ void SAL_CALL Transmitter::run() ...@@ -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() ...@@ -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() ...@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment