summaryrefslogtreecommitdiff
path: root/psprint
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-05 15:47:30 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-05 15:47:30 +0000
commite0200ef442915230c9a9e2839bf70747f652d02f (patch)
tree3d57d21d412ec0530c511457943e2baebb62793a /psprint
parent68985eb3fb45473d3e4630030f3465e554706fa3 (diff)
INTEGRATION: CWS vcl86_DEV300 (1.18.6); FILE MERGED
2008/02/20 17:37:12 pl 1.18.6.1: #i83676# add disable CUPS api for the very few people who want that
Diffstat (limited to 'psprint')
-rw-r--r--psprint/inc/psprint/printerinfomanager.hxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/psprint/inc/psprint/printerinfomanager.hxx b/psprint/inc/psprint/printerinfomanager.hxx
index 0d37758c93f0..4ecb94b8a437 100644
--- a/psprint/inc/psprint/printerinfomanager.hxx
+++ b/psprint/inc/psprint/printerinfomanager.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: printerinfomanager.hxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: kz $ $Date: 2007-12-12 14:55:25 $
+ * last change: $Author: kz $ $Date: 2008-03-05 16:47:29 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -150,6 +150,8 @@ protected:
bool m_bUseIncludeFeature;
rtl::OUString m_aSystemDefaultPaper;
+ bool m_bDisableCUPS;
+
PrinterInfoManager( Type eType = Default );
virtual ~PrinterInfoManager();
@@ -239,6 +241,12 @@ public:
// check whether a printer's feature string contains a subfeature
bool checkFeatureToken( const rtl::OUString& rPrinterName, const char* pToken ) const;
+
+ // set m_bDisableCUPS and update printer config
+ void setCUPSDisabled( bool );
+
+ // gets m_bDisableCUPS, initialized from printer config
+ bool isCUPSDisabled() const;
};
} // namespace