// -*- C++ -*-
/**
* \file xforms/FormPrint.h
- * Copyright 2002 the LyX Team
* Copyright 1999-2001 Allan Rae
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author Allan Rae, rae@lyx.org
- * \author Angus Leeming, a.leeming@ic.ac.uk
+ * \author Allan Rae
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
*/
#ifndef FORMPRINT_H
#define FORMPRINT_H
-#include <boost/smart_ptr.hpp>
#ifdef __GNUG__
#pragma interface
#include "RadioButtonGroup.h"
class ControlPrint;
-struct FD_form_print;
+struct FD_print;
/** This class provides an XForms implementation of the FormPrint Dialog.
The print dialog allows users to print their documents.
*/
-class FormPrint : public FormCB<ControlPrint, FormDB<FD_form_print> > {
+class FormPrint : public FormCB<ControlPrint, FormDB<FD_print> > {
public:
///
- FormPrint(ControlPrint &);
-
+ FormPrint();
private:
/// Apply from dialog
virtual void apply();
/// Filter the inputs on callback from xforms
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
- /// Fdesign generated method
- FD_form_print * build_print();
-
/// print target
RadioButtonGroup target_;
- /// page order
- RadioButtonGroup order_;
/// which pages
- RadioButtonGroup which_;
+ RadioButtonGroup which_pages_;
};
#endif // FORMPRINT_H