From fe484591f90deea5d98c339184840ba85a46b4fd Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Wed, 11 Aug 2010 08:46:52 +0000 Subject: [PATCH] Changed the visibility of sf::Music's virtual functions from private to protected, so that one can derive and customize sf::Music easily git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1548 4e206d99-4929-0410-ac5d-dfc041789085 --- include/SFML/Audio/Music.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/SFML/Audio/Music.hpp b/include/SFML/Audio/Music.hpp index b082b4525..efd769c31 100644 --- a/include/SFML/Audio/Music.hpp +++ b/include/SFML/Audio/Music.hpp @@ -106,7 +106,7 @@ public : //////////////////////////////////////////////////////////// float GetDuration() const; -private : +protected : //////////////////////////////////////////////////////////// /// \brief Request a new chunk of audio samples from the stream source @@ -129,6 +129,8 @@ private : //////////////////////////////////////////////////////////// virtual void OnSeek(float timeOffset); +private : + //////////////////////////////////////////////////////////// // Member data ////////////////////////////////////////////////////////////