3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Angus Leeming
8 * Full author contact details are available in file CREDITS.
14 #include "ButtonController.h"
19 BCView::BCView(ButtonController const & p)
24 ButtonPolicy & BCView::bp() const
30 void BCView::addCheckedWidget(CheckedWidget * ptr)
33 checked_widgets.push_back(checked_widget_ptr(ptr));
37 bool BCView::checkWidgets() const
41 checked_widget_list::const_iterator it = checked_widgets.begin();
42 checked_widget_list::const_iterator end = checked_widgets.end();
44 for (; it != end; ++it) {
45 valid &= (*it)->check();
48 // return valid status after checking ALL widgets
52 } // namespace frontend