]> git.lyx.org Git - lyx.git/blobdiff - src/lyxgluelength.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / lyxgluelength.h
index e392093cf0c094d1ffa8324898af117729adf16b..77c53ec0d37b52a9b1c1175e9e7275ec42aeebdd 100644 (file)
 #ifndef LYX_GLUE_LENGTH_H
 #define LYX_GLUE_LENGTH_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "lyxlength.h"
 
 #include "LString.h"
 
-class BufferParams;
-class BufferView;
-
 
 class LyXGlueLength {
 public:
@@ -41,7 +34,7 @@ public:
          The traditional Latex format is also accepted, like
          4cm plus 10pt minus 10pt */
        explicit LyXGlueLength(string const & data);
-       
+
        ///
        LyXLength const & len() const;
        ///
@@ -55,11 +48,8 @@ public:
        ///
        string const asLatexString() const;
 
-
-       /** If "data" is valid, the length represented by it is
-         stored into "result", if that is not 0. */
        friend bool isValidGlueLength(string const & data,
-                                     LyXGlueLength* result = 0);
+                                     LyXGlueLength* result);
 
 private:
        /// the normal vlaue
@@ -74,7 +64,8 @@ private:
 bool operator==(LyXGlueLength const & l1, LyXGlueLength const & l2);
 ///
 bool operator!=(LyXGlueLength const & l1, LyXGlueLength const & l2);
-///
-bool isValidGlueLength(string const & data, LyXGlueLength * result);
+/** If "data" is valid, the length represented by it is
+    stored into "result", if that is not 0. */
+bool isValidGlueLength(string const & data, LyXGlueLength * result = 0);
 
 #endif // LYXGLUELENGTH_H