]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlPrint.C
Added // -*- C++ -*- to the top of all files in controllers/ and xforms/
[lyx.git] / src / frontends / controllers / ControlPrint.C
index 65c3c5af0a7cd2dfcadcd580f37c159d3d58749e..e133816db7f3d98e4d7d5a79a2c7aed926609906 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 /* This file is part of
  * ======================================================
  * 
@@ -18,6 +19,8 @@
 #pragma implementation
 #endif
 
+#include "ViewBase.h"
+#include "ButtonControllerBase.h"
 #include "ControlPrint.h"
 #include "buffer.h"
 #include "Dialogs.h"
@@ -34,7 +37,8 @@ using Liason::getPrinterParams;
 using std::make_pair;
 
 ControlPrint::ControlPrint(LyXView & lv, Dialogs & d)
-       : ControlDialog<ControlConnectBD>(lv, d)
+    : ControlDialog<ControlConnectBD>(lv, d),
+      params_(0)
 {
        d_.showPrint.connect(SigC::slot(this, &ControlPrint::show));
 }