12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- /**
- * Copyright (c) 2011 Nokia Corporation.
- *
- * Part of the Qt GameEnabler.
- */
- #include "GEInterfaces.h"
- using namespace GE;
- /*!
- \class AudioSource
- \brief An abstract interface for an audio source.
- */
- /*!
- Constructor.
- */
- AudioSource::AudioSource(QObject *parent /* = 0 */)
- : QObject(parent)
- {
- }
- /*!
- Destructor.
- */
- AudioSource::~AudioSource()
- {
- }
- /*!
- This method is used to check whether this instance can be (auto-)destroyed
- or not.
- To be implemented in the derived class. This default implementation always
- returns false.
- */
- bool AudioSource::canBeDestroyed()
- {
- return false;
- }
|