]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetparent.h
Rename LatexRunParams::fragile as moving_arg.
[lyx.git] / src / insets / insetparent.h
index 70e2e2434db2d40ae2cbc96f570f2d011a572f77..ec2be9c618b6854ef9d24b4c5463f55aca8b2959 100644 (file)
@@ -1,19 +1,17 @@
 // -*- C++ -*-
-/* This file is part of*
- * ====================================================== 
+/**
+ * \file insetparent.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
- *      
- *           Copyright 1997-2001 LyX Team
- * 
- * ====================================================== */
+ * \author Alejandro Aguilar Sierra
+ *
+ * Full author contact details are available in file CREDITS
+ */
 
 #ifndef INSET_PARENT_H
 #define INSET_PARENT_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "insetcommand.h"
 
@@ -22,7 +20,7 @@ class Buffer;
 /** Reference to the parent document.
 
   Useful to load a parent document from a child document and to
-  share parent's properties between preambleless children. 
+  share parent's properties between preambleless children.
  */
 class InsetParent : public InsetCommand {
 public:
@@ -33,19 +31,17 @@ public:
                return new InsetParent(params(), buffer, same_id);
        }
        ///
-       string const getScreenLabel() const;
+       dispatch_result localDispatch(FuncRequest const & cmd);
+       ///
+       string const getScreenLabel(Buffer const *) const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
        Inset::Code lyxCode() const { return Inset::PARENT_CODE; }
        ///
-       void edit(BufferView *, int, int, unsigned int);
-       ///
-       void edit(BufferView * bv, bool front = true);
-       /// 
        int latex(Buffer const *, std::ostream &,
-                 bool fragile, bool free_spc) const;
+                 LatexRunParams const &) const;
        ///
-       void setParent(string fn) { setContents(fn); }
+       void setParent(string const & fn) { setContents(fn); }
 };
 #endif