]> git.lyx.org Git - lyx.git/blobdiff - src/box.h
more cleanup:
[lyx.git] / src / box.h
index 55eb980896bffc0f888a85218f25392aa315018a..adcb4958c49fa94c6cc0b5beb96585e68b5b533b 100644 (file)
--- a/src/box.h
+++ b/src/box.h
@@ -14,6 +14,9 @@
 
 #include <iosfwd>
 
+
+namespace lyx {
+
 /**
  * A simple class representing rectangular regions.
  * It is expected that the box be constructed in
@@ -22,7 +25,8 @@
  *
  * Negative values are allowed.
  */
-struct Box {
+class Box {
+public:
        int x1;
        int x2;
        int y1;
@@ -44,4 +48,7 @@ struct Box {
 
 std::ostream & operator<<(std::ostream &, Box const &);
 
+
+} // namespace lyx
+
 #endif // BOX_H