]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfootlike.h
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insetfootlike.h
index 284ab620abfaff7a7fea784e048fe4fbe7805e4f..09e24ba4205503b8d9593bf3385ce5db8232f0a8 100644 (file)
@@ -6,7 +6,7 @@
  *
  * \author Lars Gullik Bjønnes
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef INSETFOOTLIKE_H
@@ -14,6 +14,9 @@
 
 #include "insetcollapsable.h"
 
+
+namespace lyx {
+
 // To have this class is probably a bit overkill... (Lgb)
 
 // The footnote inset
@@ -24,15 +27,20 @@ public:
        ///
        InsetFootlike(InsetFootlike const &);
        ///
-       //InsetFootlike(InsetFootlike const &, bool same_id);
+       bool metrics(MetricsInfo &, Dimension &) const;
+       ///
+       void draw(PainterInfo & pi, int x, int y) const;
        ///
-       void write(Buffer const * buf, std::ostream & os) const;
+       void write(Buffer const & buf, std::ostream & os) const;
        ///
-       bool insetAllowed(Inset::Code) const;
+       bool insetAllowed(InsetBase::Code) const;
        /** returns true if, when outputing LaTeX, font changes should
            be closed before generating this inset. This is needed for
            insets that may contain several paragraphs */
        bool noFontChange() const { return true; }
 };
 
+
+} // namespace lyx
+
 #endif