From ae11207cdfdd19d09fb138806db8f819a6c46b2f Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Thu, 9 May 2013 13:37:24 +0200 Subject: [PATCH] InputStream.hpp was missing from the source file listing in CMake files, and added an important comment in the doc of InputStream::read (#349) --- include/SFML/System/InputStream.hpp | 5 ++++- src/SFML/System/CMakeLists.txt | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/SFML/System/InputStream.hpp b/include/SFML/System/InputStream.hpp index 406b2bb3e..b79436a0c 100644 --- a/include/SFML/System/InputStream.hpp +++ b/include/SFML/System/InputStream.hpp @@ -46,10 +46,13 @@ public : /// //////////////////////////////////////////////////////////// virtual ~InputStream() {} - + //////////////////////////////////////////////////////////// /// \brief Read data from the stream /// + /// After reading, the stream's reading position must be + /// advanced by the amount of bytes read. + /// /// \param data Buffer where to copy the read data /// \param size Desired number of bytes to read /// diff --git a/src/SFML/System/CMakeLists.txt b/src/SFML/System/CMakeLists.txt index fc8ea5cd3..5ef913957 100644 --- a/src/SFML/System/CMakeLists.txt +++ b/src/SFML/System/CMakeLists.txt @@ -9,6 +9,7 @@ set(SRC ${SRCROOT}/Err.cpp ${INCROOT}/Err.hpp ${INCROOT}/Export.hpp + ${INCROOT}/InputStream.hpp ${SRCROOT}/Lock.cpp ${INCROOT}/Lock.hpp ${SRCROOT}/Mutex.cpp