summaryrefslogtreecommitdiff
path: root/vcl/unx/inc/salprn.h
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2001-11-29 11:04:21 +0000
committerPhilipp Lohmann <pl@openoffice.org>2001-11-29 11:04:21 +0000
commitc835204b1c1a057dee49a2992451ca5eb517e706 (patch)
treee25923b39eb2fa8edcfd9624e244e1224b5d1983 /vcl/unx/inc/salprn.h
parentce2137b3d492eeedff0fb3e7525e937b78507cb2 (diff)
#93829# update printergfx in StartJob, do not update printers while a print job is running
Diffstat (limited to 'vcl/unx/inc/salprn.h')
-rw-r--r--vcl/unx/inc/salprn.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/vcl/unx/inc/salprn.h b/vcl/unx/inc/salprn.h
index e8e7630dbc65..06b571d468cc 100644
--- a/vcl/unx/inc/salprn.h
+++ b/vcl/unx/inc/salprn.h
@@ -2,9 +2,9 @@
*
* $RCSfile: salprn.h,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: pl $ $Date: 2001-08-27 09:42:34 $
+ * last change: $Author: pl $ $Date: 2001-11-29 12:04:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -98,6 +98,22 @@ struct SalPrinterData
ULONG m_nCopies;
};
+class Timer;
+
+namespace vcl_sal {
+class PrinterUpdate
+{
+ static Timer* pPrinterUpdateTimer;
+ static int nActiveJobs;
+
+ static void doUpdate();
+ DECL_STATIC_LINK( PrinterUpdate, UpdateTimerHdl, void* );
+public:
+ static void update();
+ static void jobStarted() { nActiveJobs++; }
+ static void jobEnded();
+};
+}
#else