4 * Copyright 2001 The LyX Team.
5 * See the file COPYING.
7 * \author Angus Leeming <a.leeming@ic.ac.uk>
13 #include "ButtonController.h"
16 /** This class makes a whole out of the disparate parts of a dialog.
18 template <typename Controller, typename GUIview,
19 typename Policy, typename GUIbc>
23 GUI(LyXView & lv, Dialogs & d);
25 Controller & controller() { return controller_; }
27 Controller const & controller() const { return controller_; }
31 Controller controller_;
33 ButtonController<Policy, GUIbc> bc_;
39 template <typename Controller, typename GUIview,
40 typename Policy, typename GUIbc>
41 GUI<Controller, GUIview, Policy, GUIbc>::GUI(LyXView & lv, Dialogs & d)
45 controller_.setView(view_);
46 controller_.setButtonController(bc_);
47 view_.setController(controller_);