* @brief Returns @c true while a session is loaded and ready to play. */
| 136 | * @brief Returns @c true while a session is loaded and ready to play. |
| 137 | */ |
| 138 | bool Sessions::Player::isOpen() const |
| 139 | { |
| 140 | return m_db && m_db->isOpen() && m_sessionId >= 0 && !m_timestampsNs.empty(); |
| 141 | } |
| 142 | |
| 143 | /** |
| 144 | * @brief Returns @c true while the worker is loading a session. |
no test coverage detected