]> git.lyx.org Git - features.git/blobdiff - src/insets/lyxinset.h
patch from dekel
[features.git] / src / insets / lyxinset.h
index 26dba9c5ee42b1824d513a9ff0d931a5cfb13f1d..ff08faa4685cd9fa744e307217577b41c106c2dd 100644 (file)
@@ -15,6 +15,8 @@
 #pragma interface
 #endif
 
+#include <vector>
+
 #include <X11/Xlib.h>
 
 #include "gettext.h"
@@ -156,9 +158,8 @@ public:
        /// returns LyX code associated with the inset. Used for TOC, ...)
        virtual Inset::Code LyxCode() const { return NO_CODE; }
   
-       /// Get the label that appears at screen
-       virtual string getLabel(int) const {
-               return string();
+       virtual std::vector<string> getLabelList() const {
+               return std::vector<string>();
        }
 
        ///
@@ -172,10 +173,6 @@ public:
        /// Changes the display state of the inset
        virtual void display(bool) {}  
        ///
-       virtual int GetNumberOfLabels() const {
-               return 0;
-       }
-       ///
        virtual bool InsertInsetAllowed(Inset *) const { return false; }
        ///
        virtual void setInsetName(const char * s) { name = s; }