public:
///
ControlBibtex(LyXView &, Dialogs &);
-
-protected:
- /// Get changed parameters and Dispatch them to the kernel.
- virtual void apply();
-};
-
-/** This class instantiates and makes available the GUI-specific
- ButtonController and View.
- */
-template <class GUIview, class GUIbc>
-class GUIBibtex : public ControlBibtex {
-public:
- ///
- GUIBibtex(LyXView &, Dialogs &);
- ///
- virtual ButtonControllerBase & bc() { return bc_; }
- ///
- virtual ViewBase & view() { return view_; }
-
+ /// Browse for a file
+ string const Browse(string const &, string const &, string const &);
+
private:
- ///
- ButtonController<OkCancelReadOnlyPolicy, GUIbc> bc_;
- ///
- GUIview view_;
+ /// Dispatch the changed parameters to the kernel.
+ virtual void applyParamsToInset();
+ ///
+ virtual void applyParamsNoInset();
};
-template <class GUIview, class GUIbc>
-GUIBibtex<GUIview, GUIbc>::GUIBibtex(LyXView & lv, Dialogs & d)
- : ControlBibtex(lv, d),
- view_(*this)
-{}
-
#endif // CONTROLBIBTEX_H