Merge master.
[dcpomatic.git] / src / lib / util.h
index 579b1c231bf144874af2aa6fcc78b239e419dbe3..a13d7ff734faca494ee0a53c68e923790b4af1f4 100644 (file)
@@ -141,16 +141,20 @@ private:
        char* _old;
 };
 
+/** @class ScopedTemporary
+ *  @brief A temporary file which is deleted when the ScopedTemporary object goes out of scope.
+ */
 class ScopedTemporary
 {
 public:
        ScopedTemporary ();
        ~ScopedTemporary ();
 
+       /** @return temporary filename */
        boost::filesystem::path file () const {
                return _file;
        }
-       
+
        char const * c_str () const;
        FILE* open (char const *);
        void close ();