]> git.lyx.org Git - lyx.git/blobdiff - src/vspace.h
Alfredo's second patch
[lyx.git] / src / vspace.h
index b2b18bcfe730564b651d298550f596eb158f17c6..9109e95a644bb1e03226d7bdd0344d4944bf72d6 100644 (file)
 #ifndef VSPACE_H
 #define VSPACE_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "lyxgluelength.h"
 
 #include "LString.h"
@@ -46,7 +42,7 @@ public:
 
        /// Constructor for reading from a .lyx file
        explicit VSpace(string const & data);
-       
+
        /// return the type of vertical space
        vspace_kind kind() const;
        /// return the length of this space
@@ -60,13 +56,14 @@ public:
        bool operator==(VSpace const &) const;
 
        // conversion
+
        /// how it goes into the LyX file
-       string const asLyXCommand() const; 
+       string const asLyXCommand() const;
        /// the latex representation
        string const asLatexCommand(BufferParams const & params) const;
        /// the size of the space on-screen
-       int inPixels(BufferView * bv) const;
+       int inPixels(BufferView const & bv) const;
+
 private:
        /// This VSpace kind
        vspace_kind kind_;
@@ -76,4 +73,4 @@ private:
        bool keep_;
 };
 
-#endif
+#endif // VSPACE_H