4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS.
21 /** name is the name of the glade file, without path or extension.
22 * Eg, "aboutlyx", "tableCreate".
24 std::string const findGladeFile(std::string const & name);
27 typename std::vector<A>::size_type
28 findPos(std::vector<A> const & vec, A const & val)
30 typename std::vector<A>::const_iterator it =
31 std::find(vec.begin(), vec.end(), val);
34 return std::distance(vec.begin(), it);
37 } // namespace frontend
40 #endif // NOT GHELPERS_H