]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/ref_inset.h
split inset -> inset + updatableinset
[lyx.git] / src / mathed / ref_inset.h
index 91a0b2798d58ce89d5eb77f113eb6dc9cdc88883..bb9a6c25da9af7a4521bddbd78557c3d78904478 100644 (file)
@@ -1,9 +1,10 @@
 #ifndef REF_INSET_H
 #define REF_INSET_H
 
+
 #include "command_inset.h"
 
-// for \ref 
+// for \ref
 class RefInset : public CommandInset {
 public:
        ///
@@ -17,7 +18,7 @@ public:
        ///
        void infoize(std::ostream & os) const;
        ///
-       result_type dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
+       dispatch_result dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
        ///
        string screenLabel() const;
        ///
@@ -31,7 +32,7 @@ public:
        int docbook(std::ostream & os, bool) const;
 
 
-       struct type_info {
+       struct ref_type_info {
                ///
                string latex_name;
                ///
@@ -39,7 +40,7 @@ public:
                ///
                string short_gui_name;
        };
-       static type_info types[];
+       static ref_type_info types[];
        ///
        static int getType(string const & name);
        ///