#include "GraphicsTypes.h"
-#include <boost/scoped_ptr.hpp>
#include <boost/signal.hpp>
public:
///
CacheItem(support::FileName const & file);
-
- /// Define an empty d-tor out-of-line to keep boost::scoped_ptr happy.
+ /// Needed for the pimpl
~CacheItem();
///
support::FileName const & filename() const;
+ /// Try to load a display format.
+ bool tryDisplayFormat() const;
+
/// It's in the cache. Now start the loading process.
void startLoading() const;
void startMonitoring() const;
///
bool monitoring() const;
- /** Returns the check sum of filename() so that, for example, you can
+ /** Returns the check checksum of filename() so that, for example, you can
* ascertain whether to output a new PostScript version of the file
* for a LaTeX run.
*/
/// Use the Pimpl idiom to hide the internals.
class Impl;
-
/// The pointer never changes although *pimpl_'s contents may.
- boost::scoped_ptr<Impl> const pimpl_;
+ Impl * const pimpl_;
};
} // namespace graphics