audiosourceif.cpp 616 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /**
  2. * Copyright (c) 2011 Nokia Corporation.
  3. *
  4. * Part of the Qt GameEnabler.
  5. */
  6. #include "audiosourceif.h"
  7. using namespace GE;
  8. /*!
  9. \class AudioSource
  10. \brief An abstract interface for an audio source.
  11. */
  12. /*!
  13. Constructor.
  14. */
  15. AudioSource::AudioSource()
  16. {
  17. }
  18. /*!
  19. Destructor.
  20. */
  21. AudioSource::~AudioSource()
  22. {
  23. }
  24. /*!
  25. This method is used to check whether this instance can be (auto-)destroyed
  26. or not.
  27. To be implemented in the derived class. This default implementation always
  28. returns false.
  29. */
  30. bool AudioSource::canBeDestroyed()
  31. {
  32. return false;
  33. }