]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsParams.h
add <string> and other small fixes to make
[lyx.git] / src / graphics / GraphicsParams.h
index d7cb0038577dbe99dede0d8efac9a9f7b7e4bdd4..678566e2bdc387bd679746df286ed992cf7c7bc3 100644 (file)
@@ -15,7 +15,9 @@
 #define GRAPHICSPARAMS_H
 
 #include "GraphicsTypes.h"
-#include "LString.h"
+
+#include <string>
+#include <iosfwd>
 
 
 namespace lyx {
@@ -28,7 +30,7 @@ struct BoundingBox {
        ///
        BoundingBox();
        ///
-       BoundingBox(string const &);
+       BoundingBox(std::string const &);
 
        /// 0 0 0 0 is empty!
        bool empty() const;
@@ -42,6 +44,9 @@ struct BoundingBox {
 bool operator==(BoundingBox const &, BoundingBox const &);
 bool operator!=(BoundingBox const &, BoundingBox const &);
 
+std::ostream & operator<<(std::ostream &, BoundingBox const &);
+
+
 struct Params
 {
        Params();
@@ -50,7 +55,7 @@ struct Params
        unsigned int scale;
 
        /// The image filename.
-       string filename;
+       std::string filename;
 
        /** Note that the BoundingBox is always relative to the BoundingBox
         *  as stored in the EPS file.