]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/forms_gettext.h
Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now
[lyx.git] / src / frontends / xforms / forms_gettext.h
index f7abf2a6e610ac4d8e2f88fca806e2136c2b79b5..65a1318cae911ff126abcf9c648b75ba4f927192 100644 (file)
@@ -6,26 +6,24 @@
  *
  * \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"
+namespace lyx {
+namespace frontend {
 
-/// 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 "<identifer>|<shortcut>" string
+std::string const scex(std::string const &);
 
-/// 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 &);
+
+} // namespace frontend
+} // namespace lyx
 
 #endif // FORMS_GETTEXT_H