]> git.lyx.org Git - features.git/blobdiff - src/vspace.h
Replace LString.h with support/std_string.h,
[features.git] / src / vspace.h
index b2b18bcfe730564b651d298550f596eb158f17c6..99a92d341763e924aa9aed01e472c2ed5958f1bb 100644 (file)
@@ -1,22 +1,20 @@
 // -*- C++ -*-
 /**
  * \file vspace.h
- * Copyright 1995-2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Matthias Ettrich
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef VSPACE_H
 #define VSPACE_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "lyxgluelength.h"
 
-#include "LString.h"
+#include "support/std_string.h"
 
 class BufferParams;
 class BufferView;
@@ -46,7 +44,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 +58,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 +75,4 @@ private:
        bool keep_;
 };
 
-#endif
+#endif // VSPACE_H