]> git.lyx.org Git - lyx.git/blob - src/insets/insethfill.h
get rid of same_id from function signatures
[lyx.git] / src / insets / insethfill.h
1 // -*- C++ -*-
2 /**
3  * \file insethfill.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef INSET_HFILL_H
13 #define INSET_HFILL_H
14
15
16 #include "insetcommand.h"
17
18 class InsetHFill : public InsetCommand {
19 public:
20         ///
21         InsetHFill();
22         ///
23         virtual Inset * clone(Buffer const &) const {
24                 return new InsetHFill();
25         }
26         ///
27         //virtual Inset * clone(Buffer const &, bool /*same_id*/) const {
28         //      return new InsetHFill();
29         //}
30         ///
31         string const getScreenLabel(Buffer const *) const { return getContents(); }
32         ///
33         Inset::Code lyxCode() const { return Inset::HFILL_CODE; }
34         ///
35         int latex(Buffer const *, std::ostream &,
36                   LatexRunParams const &) const;
37         ///
38         int ascii(Buffer const *, std::ostream &, int linelen) const;
39         ///
40         void write(Buffer const * buf, std::ostream & os) const;
41         /// We don't need \begin_inset and \end_inset
42         bool directWrite() const { return true; }
43 };
44
45 #endif