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 CheckedWidget::~CheckedWidget()
23 BCView::BCView(ButtonController const & p)
28 ButtonPolicy & BCView::bp() const
34 void BCView::addCheckedWidget(CheckedWidget * ptr)
37 checked_widgets.push_back(checked_widget_ptr(ptr));
41 bool BCView::checkWidgets() const
45 checked_widget_list::const_iterator it = checked_widgets.begin();
46 checked_widget_list::const_iterator end = checked_widgets.end();
48 for (; it != end; ++it) {
49 valid &= (*it)->check();
52 // return valid status after checking ALL widgets
56 } // namespace frontend