*
* \author Angus Leeming
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include "forms_gettext.h"
+
#include "support/lstrings.h"
+using std::string;
+
+namespace lyx {
+namespace frontend {
+
// Extract shortcut from "<identifier>|<shortcut>" string
string const scex(string const & str)
{
- return split(str, '|');
+ return support::split(str, '|');
}
string const idex(string const & str)
{
string identifier;
- split(str, identifier, '|');
+ support::split(str, identifier, '|');
return identifier;
}
+
+} // namespace frontend
+} // namespace lyx