#include <config.h>
-#include "xformsBC.h"
-#include "ControlBranch.h"
#include "FormBranch.h"
+#include "ControlBranch.h"
#include "forms/form_branch.h"
-#include "xforms_helpers.h" // formatted
-#include "lyx_forms.h"
+
+#include "xformsBC.h"
+
#include "insets/insetbranch.h"
-#include "debug.h"
+
+#include "lyx_forms.h"
+
+
+using std::string;
+
typedef FormController<ControlBranch, FormView<FD_branch> > base_class;
dialog_.reset(build_branch(this));
fl_addto_choice(dialog_->choice_branch, all_branches.c_str());
-
+
bcview().setOK(dialog_->button_ok);
bcview().setApply(dialog_->button_apply);
bcview().setCancel(dialog_->button_cancel);
controller().params().branch = type;
}
-