mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
c44d76deae
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1838 a592a061-630c-0410-9148-cb99ea01b6c8
41 lines
733 B
C++
41 lines
733 B
C++
/**
|
|
* \file ControlPreamble.h
|
|
* Copyright 2001 The LyX Team.
|
|
* See the file COPYING.
|
|
*
|
|
* \author Edwin Leuven, leuven@fee.uva.nl
|
|
*/
|
|
|
|
#ifndef CONTROLPREAMBLE_H
|
|
#define CONTROLPREAMBLE_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "ControlDialogs.h"
|
|
|
|
/** A controller for Preamble dialogs.
|
|
*/
|
|
class ControlPreamble : public ControlDialog<ControlConnectBD> {
|
|
public:
|
|
///
|
|
ControlPreamble(LyXView &, Dialogs &);
|
|
|
|
///
|
|
string & params() const;
|
|
|
|
private:
|
|
/// Get changed parameters and Dispatch them to the kernel.
|
|
virtual void apply();
|
|
/// set the params before show or update.
|
|
virtual void setParams();
|
|
/// clean-up on hide.
|
|
virtual void clearParams();
|
|
|
|
///
|
|
string * params_;
|
|
};
|
|
|
|
#endif // CONTROLPREAMBLE_H
|