]> 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 3a450b6620310a764849e0a0a24b17b2bc741f6a..b5895e429be93bcf1526b7e8be3e22bbcf9d4a4f 100644 (file)
@@ -1,29 +1,23 @@
 // -*- C++ -*-
 /**
  * \file forms_gettext.h
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming, leeming@lyx.org
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMS_GETTEXT_H
 #define FORMS_GETTEXT_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "forms_fwd.h"
+#include <string>
 
-/// 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 &);
 
 #endif // FORMS_GETTEXT_H