X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2Fforms_gettext.h;h=65a1318cae911ff126abcf9c648b75ba4f927192;hb=d5443737342903de489d527802cd2cdd38987d74;hp=94f7ecd203839fa0fcac456d82edebd843b63275;hpb=6fac1dc98003a6a6e02765f078b3d3426d426508;p=lyx.git diff --git a/src/frontends/xforms/forms_gettext.h b/src/frontends/xforms/forms_gettext.h index 94f7ecd203..65a1318cae 100644 --- a/src/frontends/xforms/forms_gettext.h +++ b/src/frontends/xforms/forms_gettext.h @@ -1,30 +1,29 @@ // -*- C++ -*- /** * \file forms_gettext.h - * 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 * - * 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 -#include "forms_fwd.h" +namespace lyx { +namespace frontend { -/// Extract shortcut from | string -char const * flyx_shortcut_extract(char const * sc); -/// Shortcut for flyx_shortcut_extract -#define scex flyx_shortcut_extract +/// Extract shortcut from "|" string +std::string const scex(std::string const &); -/// Extract shortcut from | string -char const * flyx_ident_extract(char const * sc); -/// Shortcut for flyx_ident_extract -#define idex flyx_ident_extract +/// Extract identifier from "|" string +std::string const idex(std::string const &); + +} // namespace frontend +} // namespace lyx #endif // FORMS_GETTEXT_H