[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:36:34 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=37f6319
The following commit has been merged in the master branch:
commit 37f63199f22b0eb00df8e333acfbf63df1debd6e
Author: Andreas Huggel <ahuggel at gmx.net>
Date: Sat Aug 21 15:46:39 2004 +0000
Added free function fileExists()
---
src/image.hpp | 23 ++++++++++++++++++++---
1 file changed, 20 insertions(+), 3 deletions(-)
diff --git a/src/image.hpp b/src/image.hpp
index f9ff8ec..9b0cffd 100644
--- a/src/image.hpp
+++ b/src/image.hpp
@@ -21,7 +21,7 @@
/*!
@file image.hpp
@brief Class JpegImage to access JPEG images
- @version $Name: $ $Revision: 1.18 $
+ @version $Name: $ $Revision: 1.19 $
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel at gmx.net">ahuggel at gmx.net</a>
@author Brad Schick (brad)
@@ -160,8 +160,7 @@ namespace Exiv2 {
*/
virtual const byte* iptcData() const =0;
/*!
- @brief Return a read-only reference to the image comment.
- Do not attempt to write to this string. May be an empty string.
+ @brief Return a copy of the image comment. May be an empty string.
*/
virtual std::string comment() const =0;
//@}
@@ -671,6 +670,24 @@ namespace Exiv2 {
uint32 offset_;
}; // class TiffHeader
+
+// *********************************************************************
+// free functions
+
+ /*!
+ @brief Test if a file exists.
+
+ @param path Name of file to verify.
+ @param ct Flag to check if <i>path</i> is a regular file.
+ @return true if <i>path</i> exists and, if <i>ct</i> is set,
+ is a regular file, else false.
+
+ @note The function calls <b>stat()</b> test for <i>path</i>
+ and its type, see stat(2). <b>errno</b> is left unchanged
+ in case of an error.
+ */
+ bool fileExists(const std::string& path, bool ct =false);
+
} // namespace Exiv2
#endif // #ifndef IMAGE_HPP_
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list