]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormToc.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormToc.C
index 45755c9ea3e27bb7739edb72385042082fd6a9ff..62842e0342c0029ae6e25e43228e176a432b9431 100644 (file)
@@ -5,27 +5,30 @@
  *
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
-
 #include "FormToc.h"
-#include "xformsBC.h"
-#include "xforms_helpers.h"
 #include "ControlToc.h"
 #include "forms/form_toc.h"
+
+#include "xforms_helpers.h"
+#include "xformsBC.h"
+
 #include "support/lstrings.h" // frontStrip, strip
-#include "debug.h"
-#include "gettext.h"
-#include "lyx_forms.h"
 
-#include <vector>
+#include "lyx_forms.h"
 
 using std::vector;
-using std::endl;
+using std::string;
 
+namespace lyx {
+
+using support::getStringFromVector;
+
+namespace frontend {
 
 typedef FormController<ControlToc, FormView<FD_toc> > base_class;
 
@@ -137,3 +140,6 @@ void FormToc::updateContents()
        fl_set_browser_topline(dialog_->browser_toc, topline);
        fl_select_browser_line(dialog_->browser_toc, line);
 }
+
+} // namespace frontend
+} // namespace lyx