]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/forms_gettext.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / forms_gettext.h
index f7abf2a6e610ac4d8e2f88fca806e2136c2b79b5..b5895e429be93bcf1526b7e8be3e22bbcf9d4a4f 100644 (file)
@@ -6,26 +6,18 @@
  *
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMS_GETTEXT_H
 #define FORMS_GETTEXT_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include <string>
 
-#include "forms_fwd.h"
+/// Extract shortcut from "<identifer>|<shortcut>" string
+std::string const scex(std::string const &);
 
-/// Extract shortcut from <ident>|<shortcut> string
-char const * flyx_shortcut_extract(char const * sc);
-/// Shortcut for flyx_shortcut_extract
-#define scex flyx_shortcut_extract
-
-/// Extract shortcut from <ident>|<shortcut> string
-char const * flyx_ident_extract(char const * sc);
-/// Shortcut for flyx_ident_extract
-#define idex flyx_ident_extract
+/// Extract identifier from "<identifer>|<shortcut>" string
+std::string const idex(std::string const &);
 
 #endif // FORMS_GETTEXT_H