X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fcontrollers%2FControlPreamble.h;h=97f822a744d33705655fbdf904a6db431a01cf8b;hb=0705dae8a3a2bcdd6be55eb468547c1389e84d2c;hp=ffb0c7b8ca443ea05c388df15ef1baaf871b3276;hpb=ec8da0035d02a3b6c9e01aea71a5d8da916a45f4;p=lyx.git diff --git a/src/frontends/controllers/ControlPreamble.h b/src/frontends/controllers/ControlPreamble.h index ffb0c7b8ca..97f822a744 100644 --- a/src/frontends/controllers/ControlPreamble.h +++ b/src/frontends/controllers/ControlPreamble.h @@ -1,21 +1,22 @@ // -*- C++ -*- /** * \file ControlPreamble.h - * Copyright 2001 The LyX Team. - * See the file COPYING. + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * \author Edwin Leuven, leuven@fee.uva.nl + * \author Edwin Leuven + * + * Full author contact details are available in file CREDITS. */ #ifndef CONTROLPREAMBLE_H #define CONTROLPREAMBLE_H -#ifdef __GNUG__ -#pragma interface -#endif #include "ControlDialog_impl.h" +#include "support/std_string.h" + /** A controller for Preamble dialogs. */ class ControlPreamble : public ControlDialogBD { @@ -24,8 +25,9 @@ public: ControlPreamble(LyXView &, Dialogs &); /// - string & params() const; - + string const & params() const; + /// + void params(string const & newparams); private: /// Get changed parameters and Dispatch them to the kernel. virtual void apply(); @@ -33,9 +35,9 @@ private: virtual void setParams(); /// clean-up on hide. virtual void clearParams(); - + /// - string * params_; + string params_; }; #endif // CONTROLPREAMBLE_H