}
// ---------------------------------------------------------------
+ /*
+ bool
+ MediaManager::swap(MediaAccessId idOne, MediaAccessId idTwo)
+ {
+ MutexLock glock(g_Mutex);
+
+ if( m_impl->hasMediaAcc(idOne) && m_impl->hasMediaAcc(idTwo))
+ {
+ MediaAccessRef tmp( m_impl->mediaAccMap[idOne]);
+
+ m_impl->mediaAccMap[idOne] = m_impl->mediaAccMap[idTwo];
+ m_impl->mediaAccMap[idTwo] = tmp;
+
+ DBG << "Swapped media access ids "
+ << idOne << " and " << idTwo << std::endl;
+ return true;
+ }
+ return false;
+ }
+ */
+
+ // ---------------------------------------------------------------
void
MediaManager::close(MediaAccessId accessId)
{
const Pathname & preferred_attach_point = "");
/**
+ * Swap access handlers of idOne and idTwo.
+ *
+ * \returns True, if idOne and and idTwo was both valid.
+ bool
+ swap(MediaAccessId idOne, MediaAccessId idTwo);
+ */
+
+ /**
* close the media
*/
void