]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormBrowser.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormBrowser.C
1 /**
2  * \file FormBrowser.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author John Levon
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "FormBrowser.h"
14 #include "forms/form_browser.h"
15 #include "xformsBC.h"
16
17 using std::string;
18
19 namespace lyx {
20 namespace frontend {
21
22 FormBrowser::FormBrowser(Dialog & parent,
23                          string const & title, bool allowResize)
24         : FormView<FD_browser>(parent, title, allowResize)
25 {}
26
27
28 void FormBrowser::build()
29 {
30         dialog_.reset(build_browser(this));
31
32         // Manage the close button
33         bcview().setCancel(dialog_->button_close);
34 }
35
36 } // namespace frontend
37 } // namespace lyx