]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlPrint.h
Move the external dialog to the new scheme.
[lyx.git] / src / frontends / controllers / ControlPrint.h
index 29a7dab21501562f5b3a5b3ad3aa4d9bd4ace5e8..8d0374a612b67a1c299c77ad93fa4be209750cb9 100644 (file)
@@ -1,40 +1,36 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
- *      
- *          Copyright 2001 The LyX Team.
+/**
+ * \file ControlPrint.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *======================================================
+ * \author Allan Rae
+ * \author Angus Leeming
  *
- * \file ControlPrint.h
- * \author Angus Leeming, a.leeming@.ac.uk
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef CONTROLPRINT_H
 #define CONTROLPRINT_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-#include "ControlDialogs.h"
+#include "ControlDialog_impl.h"
+
+#include "LString.h"
 
 class PrinterParams;
 
 /** A controller for Print dialogs.
  */
-class ControlPrint : public ControlDialog<ControlConnectBD> {
+class ControlPrint : public ControlDialogBD {
 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();
@@ -42,7 +38,7 @@ private:
        virtual void setParams();
        /// clean-up on hide.
        virtual void clearParams();
-    
+
        ///
        PrinterParams * params_;
 };