]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/command_inset.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / command_inset.h
index 8448a0effd92da01f6f4b6a20b3f73fb360da290..d8264067d7063c7de09de3b6957bc907c759ba9e 100644 (file)
@@ -11,9 +11,6 @@
  *  Full author contact details are available in file CREDITS.
  */
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #ifndef COMMAND_INSET_H
 #define COMMAND_INSET_H
@@ -23,8 +20,8 @@
 /// Inset for things like \name[options]{contents}
 class CommandInset : public ButtonInset {
 public:
-       /// name, contents, options deliminited by '|++|'
-       explicit CommandInset(string const & data);
+       ///
+       explicit CommandInset(string const & name);
        ///
        MathInset * clone() const;
        ///
@@ -32,9 +29,11 @@ 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;
+       /// generate something that will be understodd by the Dialogs.
+       string const createDialogStr(string const & name) const;
 public:
        string name_;
 };