]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetnote.h
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / insetnote.h
index 2c20a8e8996623a45000348f011b7e48a7ea7459..e6bf5f4dff83ec2385bc94b5753021f0a1b70db3 100644 (file)
@@ -1,20 +1,17 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
+/**
+ * \file insetnote.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Angus Leeming
  *
- *           Copyright 2001 The LyX Team.
- *
- *======================================================
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef INSETNOTE_H
 #define INSETNOTE_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "insetcollapsable.h"
 
@@ -26,25 +23,24 @@ public:
        ///
        InsetNote(BufferParams const &);
        ///
-       InsetNote(InsetNote const &, bool same_id = false);
+       InsetNote(InsetNote const &);
        ///
-       Inset * clone(Buffer const &, bool same_id = false) const;
-       /// constructor with initial contents
-       InsetNote(Buffer const *, string const & contents, bool collapsed);
+       Inset * clone() const;
        ///
        string const editMessage() const;
        ///
-       Inset::Code lyxCode() const { return Inset::IGNORE_CODE; }
+       Inset::Code lyxCode() const { return Inset::NOTE_CODE; }
        ///
        void write(Buffer const *, std::ostream &) const;
        ///
-       int latex(Buffer const *, std::ostream &, bool, bool) const
+       int latex(Buffer const *, std::ostream &,
+                 LatexRunParams const &) const
                { return 0; }
        ///
        int linuxdoc(Buffer const *, std::ostream &) const
                { return 0; }
        ///
-       int docbook(Buffer const *, std::ostream &) const
+       int docbook(Buffer const *, std::ostream &, bool) const
                { return 0; }
        ///
        int ascii(Buffer const *, std::ostream &, int) const