PlayStatus.cpp 362 B

1234567891011121314151617181920212223
  1. #include "PlayStatus.h"
  2. //std::map<char, DriveStatus> playStatus;
  3. PlayStatus playStatus;
  4. Nullsoft::Utility::LockGuard *playStatusGuard = 0;
  5. DriveStatus::DriveStatus() : ripping(false)
  6. {}
  7. void DriveStatus::RippingStarted()
  8. {
  9. ripping = true;
  10. }
  11. void DriveStatus::RippingStopped()
  12. {
  13. ripping = false;
  14. }
  15. bool DriveStatus::IsRipping() const
  16. {
  17. return ripping;
  18. }