*
* \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>
-/// Extract shortcut from "<ident>|<shortcut>" string
-char const * scex(char const *);
+namespace lyx {
+namespace frontend {
-/// Extract ident from "<ident>|<shortcut>" string
-char const * idex(char const *);
+/// Extract shortcut from "<identifer>|<shortcut>" string
+std::string const scex(std::string const &);
+
+/// Extract identifier from "<identifer>|<shortcut>" string
+std::string const idex(std::string const &);
+
+} // namespace frontend
+} // namespace lyx
#endif // FORMS_GETTEXT_H