]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcite.h
reformatting and remove using delc
[lyx.git] / src / insets / insetcite.h
index 92bb90f3f2e78cd37e8454eb572b6f14b67dedf8..3f896677f8e485f720c99863621ba3ac6a627b1f 100644 (file)
 
 /** Used to insert citations  
  */
-class InsetCitation: public InsetCommand {
+class InsetCitation : public InsetCommand {
 public:
        ///
-       explicit
-       InsetCitation(string const & key, string const & note = string());
+       InsetCitation(InsetCommandParams const &);
        ///
-       Inset * Clone() const {
-               return new InsetCitation(getContents(), getOptions());
+       Inset * Clone(Buffer const &) const {
+               return new InsetCitation(params());
        }
        ///
-       string getScreenLabel() const;
-       ///
-       Code LyxCode() const { return CITATION_CODE; }
+       string const getScreenLabel() const;
        ///
        EDITABLE Editable() const { return IS_EDITABLE; }
-private:
        ///
-       InsetCitation() : InsetCommand("cite") {}
+       Inset::Code LyxCode() const { return Inset::CITE_CODE; }
+        ///
+       void Edit(BufferView *, int, int, unsigned int);
 };
 
 #endif // INSET_CITE_H