Removed the Resource and ResourcePtr classes
This commit is contained in:
parent
46b2c096c4
commit
017ef652f9
15 changed files with 18 additions and 518 deletions
|
@ -29,7 +29,6 @@
|
|||
// Headers
|
||||
////////////////////////////////////////////////////////////
|
||||
#include <SFML/Audio/SoundSource.hpp>
|
||||
#include <SFML/System/Resource.hpp>
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
|
@ -214,7 +213,7 @@ private :
|
|||
////////////////////////////////////////////////////////////
|
||||
// Member data
|
||||
////////////////////////////////////////////////////////////
|
||||
ResourcePtr<SoundBuffer> myBuffer; ///< Sound buffer bound to the source
|
||||
const SoundBuffer* myBuffer; ///< Sound buffer bound to the source
|
||||
};
|
||||
|
||||
} // namespace sf
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
// Headers
|
||||
////////////////////////////////////////////////////////////
|
||||
#include <SFML/Config.hpp>
|
||||
#include <SFML/System/Resource.hpp>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <set>
|
||||
|
@ -49,7 +48,7 @@ class InputStream;
|
|||
/// \brief Storage for audio samples defining a sound
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
class SFML_API SoundBuffer : public Resource<SoundBuffer>
|
||||
class SFML_API SoundBuffer
|
||||
{
|
||||
public :
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue