// -*- 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 "LString.h"
-/// 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
+string const scex(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
+string const idex(string const &);
#endif // FORMS_GETTEXT_H