]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcite.h
some reindentation, revert workarea xpos++, constify, remove all traces of LyXParagra...
[lyx.git] / src / insets / insetcite.h
index 63789cf51e316303aa078938e44ccefa54d9b56d..3f896677f8e485f720c99863621ba3ac6a627b1f 100644 (file)
 #endif
 
 #include "insetcommand.h"
-#include <sigc++/signal_system.h>
-
-#ifdef SIGC_CXX_NAMESPACES
-using SigC::Signal0;
-#endif
 
 /** Used to insert citations  
  */
 class InsetCitation : public InsetCommand {
 public:
        ///
-       explicit
        InsetCitation(InsetCommandParams const &);
        ///
-       ~InsetCitation();
-       ///
-       Inset * Clone() const { return new InsetCitation(params()); }
+       Inset * Clone(Buffer const &) const {
+               return new InsetCitation(params());
+       }
        ///
-       string getScreenLabel() const;
+       string const getScreenLabel() const;
        ///
        EDITABLE Editable() const { return IS_EDITABLE; }
+       ///
+       Inset::Code LyxCode() const { return Inset::CITE_CODE; }
         ///
        void Edit(BufferView *, int, int, unsigned int);
-       ///
-       Signal0<void> hide;
 };
 
 #endif // INSET_CITE_H