X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fcontrollers%2FControlPreamble.h;h=97f822a744d33705655fbdf904a6db431a01cf8b;hb=0705dae8a3a2bcdd6be55eb468547c1389e84d2c;hp=4b1f711ac0ed2870932e0b21cd27645bad94e594;hpb=0c2a3e5960f032dcd8be726e3e63628207a06dd3;p=lyx.git diff --git a/src/frontends/controllers/ControlPreamble.h b/src/frontends/controllers/ControlPreamble.h index 4b1f711ac0..97f822a744 100644 --- a/src/frontends/controllers/ControlPreamble.h +++ b/src/frontends/controllers/ControlPreamble.h @@ -1,31 +1,33 @@ // -*- 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 "ControlDialogs.h" +#include "ControlDialog_impl.h" + +#include "support/std_string.h" /** A controller for Preamble dialogs. */ -class ControlPreamble : public ControlDialog { +class ControlPreamble : public ControlDialogBD { 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