#include <utility>
namespace lyx {
+
+namespace support { class FileName; }
+
namespace graphics {
class Params;
* The caller should expect this process to be asynchronous and
* so should connect to the "finished" signal above.
*/
- void load(std::string const & filename);
+ void load(support::FileName const & filename);
/** Generate the pixmap.
* Uses the params to decide on color, grayscale etc.
* The caller should expect this process to be asynchronous and
* so should connect to the "finished" signal above.
*/
- virtual void load_impl(std::string const & filename) = 0;
+ virtual void load_impl(support::FileName const & filename) = 0;
/** Generate the pixmap.
* Uses the params to decide on color, grayscale etc.
inline
-void Image::load(std::string const & filename)
+void Image::load(support::FileName const & filename)
{
return load_impl(filename);
}