X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fcontrollers%2FControlButtons.h;h=f9ebcff63dd7f401e404f4aa52c8e65c7e86c5bc;hb=120c89f24fae05379fbdc8539d3cfae574c2aecd;hp=f98ced9e7ead88e664558dba4a08c073d2f76f6a;hpb=ce708d095c65866617424f940c1dac6b7e236d61;p=lyx.git diff --git a/src/frontends/controllers/ControlButtons.h b/src/frontends/controllers/ControlButtons.h index f98ced9e7e..f9ebcff63d 100644 --- a/src/frontends/controllers/ControlButtons.h +++ b/src/frontends/controllers/ControlButtons.h @@ -26,9 +26,6 @@ #ifndef CONTROLBUTTONS_H #define CONTROLBUTTONS_H -#ifdef __GNUG__ -#pragma interface -#endif #include @@ -66,14 +63,14 @@ public: void setView(ViewBase &); /// void setButtonController(ButtonControllerBase &); -protected: - /// - ViewBase & view(); - /** When Applying it's useful to know whether the dialog is about to close or not (no point refreshing the display for example). */ bool isClosing() const { return is_closing_; } +protected: + /// + ViewBase & view(); + /// Get changed parameters and Dispatch them to the kernel. virtual void apply() = 0; /// Disconnect signals and hide View.