Commit 2be75dcc authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #29917: manager: remove inline methods

parent 9de714b3
...@@ -395,6 +395,7 @@ void MainBuffer::flushAllBuffers() ...@@ -395,6 +395,7 @@ void MainBuffer::flushAllBuffers()
void MainBuffer::dumpInfo() void MainBuffer::dumpInfo()
{ {
#if 0
sfl::ScopedLock guard(mutex_); sfl::ScopedLock guard(mutex_);
// print each call and bound call ids // print each call and bound call ids
...@@ -435,4 +436,5 @@ void MainBuffer::dumpInfo() ...@@ -435,4 +436,5 @@ void MainBuffer::dumpInfo()
DEBUG("%s", dbg_str.c_str()); DEBUG("%s", dbg_str.c_str());
} }
#endif
} }
...@@ -2996,3 +2996,24 @@ ManagerImpl::getAudioDriver() ...@@ -2996,3 +2996,24 @@ ManagerImpl::getAudioDriver()
{ {
return audiodriver_; return audiodriver_;
} }
MainBuffer &
ManagerImpl::getMainBuffer()
{
return mainBuffer_;
}
Client*
ManagerImpl::getClient()
{
return &client_;
}
#ifdef SFL_VIDEO
VideoControls *
ManagerImpl::getVideoControls()
{
return client_.getVideoControls();
}
#endif
...@@ -938,9 +938,7 @@ class ManagerImpl { ...@@ -938,9 +938,7 @@ class ManagerImpl {
/** /**
* Return a pointer to the instance of the mainbuffer * Return a pointer to the instance of the mainbuffer
*/ */
MainBuffer &getMainBuffer() { MainBuffer &getMainBuffer();
return mainBuffer_;
}
/** /**
* Tell if there is a current call processed * Tell if there is a current call processed
...@@ -952,13 +950,9 @@ class ManagerImpl { ...@@ -952,13 +950,9 @@ class ManagerImpl {
* Return the current Client * Return the current Client
* @return A pointer to the Client instance * @return A pointer to the Client instance
*/ */
Client* getClient() { Client* getClient();
return &client_;
}
#ifdef SFL_VIDEO #ifdef SFL_VIDEO
VideoControls * getVideoControls() { VideoControls * getVideoControls();
return client_.getVideoControls();
}
#endif #endif
/** /**
......
Supports Markdown
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