]> git.lyx.org Git - features.git/blobdiff - src/frontends/xforms/xforms_helpers.h
Replace LString.h with support/std_string.h,
[features.git] / src / frontends / xforms / xforms_helpers.h
index ba3b37ddfa004a592aa302aa70f7a28568d41cc8..dc59d7bdd70cfa1bc4099d1e29ac77db4db4e367 100644 (file)
@@ -6,26 +6,26 @@
  *
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef XFORMSHELPERS_H
 #define XFORMSHELPERS_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "forms_fwd.h"
 
 #include "Color.h"
-#include "LString.h"
+#include "support/std_string.h"
 
 #include <algorithm>
 #include <vector>
 
 class LyXLength;
 
+/// parse "&Save" etc. to <"Save", "#S">. Does not handle &&
+std::pair<string, string> parse_shortcut(string const & str);
+
 // A wrapper for the xforms routine, but this one accepts uint args
 unsigned long fl_getmcolor(int i, unsigned int * r, unsigned int * g,
                           unsigned int * b);