]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseturl.h
Revert this change as it sneaked in and wasn't discussed yet.
[lyx.git] / src / insets / inseturl.h
index c2a83633797f14d57a2444f035854be43c686e2c..4712afd948e8982e5e8ca1b221589a4033144cb8 100644 (file)
@@ -1,11 +1,11 @@
 // -*- C++ -*-
 /* This file is part of*
- * ====================================================== 
+ * ======================================================
  *
  *           LyX, The Document Processor
- *      
- *         Copyright 1997-2000 The LyX Team.
- * 
+ *
+ *         Copyright 1997-2001 The LyX Team.
+ *
  * ====================================================== */
 
 #ifndef INSET_URL_H
 
 struct LaTeXFeatures;
 
-/** The url inset  
+/** The url inset
  */
 class InsetUrl : public InsetCommand {
 public:
        ///
        explicit
-       InsetUrl(InsetCommandParams const &);
-        ///
-       Inset * Clone(Buffer const &) const { return new InsetUrl(params()); }
+       InsetUrl(InsetCommandParams const &, bool same_id = false);
+       ///
+       virtual Inset * clone(Buffer const &, bool same_id = false) const {
+               return new InsetUrl(params(), same_id);
+       }
+       ///
+       Inset::Code lyxCode() const { return Inset::URL_CODE; }
+       ///
+       void validate(LaTeXFeatures &) const;
        ///
-       Inset::Code LyxCode() const { return Inset::URL_CODE; }
+       string const getScreenLabel(Buffer const *) const;
        ///
-       void Validate(LaTeXFeatures &) const;
+       EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       string const getScreenLabel() const;
+       void edit(BufferView *, int, int, unsigned int);
        ///
-       EDITABLE Editable() const { return IS_EDITABLE; }
+       void edit(BufferView * bv, bool front = true);
        ///
-       void Edit(BufferView *, int, int, unsigned int);
-        ///
        bool display() const { return false; }
        ///
-       int Latex(Buffer const *, std::ostream &,
+       int latex(Buffer const *, std::ostream &,
                  bool fragile, bool free_spc) const;
        ///
-       int Ascii(Buffer const *, std::ostream &, int linelen) const;
+       int ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
-       int Linuxdoc(Buffer const *, std::ostream &) const;
+       int linuxdoc(Buffer const *, std::ostream &) const;
        ///
-       int DocBook(Buffer const *, std::ostream &) const;
+       int docbook(Buffer const *, std::ostream &) const;
 };
 
 #endif