]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/ghelpers.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / ghelpers.h
index 6519353436ef4d71b2943c1e2fb24e59ae873788..3700e1320921bbaac2c3e97cddb8c4c63ee7c78e 100644 (file)
 #include <string>
 #include <vector>
 
+class FuncRequest;
+
 namespace lyx {
 namespace frontend {
 
+// Get a GTK stockID from a lyx function id.
+// Return Gtk::Stock::MISSING_IMAGE if no suitable stock found
+Gtk::BuiltinStockID getGTKStockIcon(FuncRequest const & func);
+
 std::string const getDefaultUnit();
 
 void unitsComboFromLength(Gtk::ComboBox * combo,
@@ -31,6 +37,8 @@ void unitsComboFromLength(Gtk::ComboBox * combo,
 
 std::vector<std::string> const buildLengthUnitList();
 
+std::vector<std::string> const buildLengthNoRelUnitList();
+
 /** name is the name of the glade file, without path or extension.
  *  Eg, "aboutlyx", "tableCreate".
  */