// -*- C++ -*-
/**
* \file lyxgluelength.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 Lars Gullik Bjønnes
* \author Matthias Ettrich
+ * \author Jean-Marc Lasgouttes
+ *
+ * Full author contact details are available in file CREDITS.
*/
-
#ifndef LYX_GLUE_LENGTH_H
#define LYX_GLUE_LENGTH_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-
#include "lyxlength.h"
#include "LString.h"
///
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
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