lyx_mirror/src/frontends/controllers/ControlPrint.h
Angus Leeming 58d99b4a97 * Baruch's GuiBC template.
* Some file (and class) name changes:
	ButtonController.[Ch] to ButtonControllerBase.[Ch]
	BCTemplates.h to ButtonController.h
	ControlBase.[Ch] to ControlButton.[Ch]
* Moved file browsing into the controllers for the Graphics, Include and
Print popups.
* Fixed search bug in Citation popup. Added case sensitive button.
* Implemented controller-view split for External Material popup. Think that
it's now correct, but could you check again, Dekel?

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1859 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 09:51:46 +00:00

50 lines
983 B
C++

/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 2001 The LyX Team.
*
*======================================================
*
* \file ControlPrint.h
* \author Angus Leeming, a.leeming@.ac.uk
*/
#ifndef CONTROLPRINT_H
#define CONTROLPRINT_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ControlDialogs.h"
class PrinterParams;
/** A controller for Print dialogs.
*/
class ControlPrint : public ControlDialog<ControlConnectBD> {
public:
///
ControlPrint(LyXView &, Dialogs &);
/// Browse for a file
string const Browse(string const &);
///
PrinterParams & 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();
///
PrinterParams * params_;
};
#endif // CONTROLPRINT_H