| 719 | } |
| 720 | |
| 721 | void Songbook::netElementsNeedLoad(bool) { |
| 722 | if (m_songNetState.pullUpdated()) { |
| 723 | m_song = m_songNetState.get(); |
| 724 | m_timeSourceEpoch = m_timeSourceEpochNetState.get(); |
| 725 | m_epochUpdated = true; |
| 726 | m_dataUpdated = true; |
| 727 | } |
| 728 | m_timeSource = m_timeSourceNetState.get(); |
| 729 | if (m_activeNetState.get()) |
| 730 | m_activeCooldown = 3; |
| 731 | else |
| 732 | m_activeCooldown = 0; |
| 733 | m_instrument = m_instrumentNetState.get(); |
| 734 | } |
| 735 | |
| 736 | void Songbook::netElementsNeedStore() { |
| 737 | if (m_serverMode) |
nothing calls this directly
no test coverage detected