diff options
Diffstat (limited to 'vcl/inc/cupsmgr.hxx')
-rw-r--r-- | vcl/inc/cupsmgr.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/vcl/inc/cupsmgr.hxx b/vcl/inc/cupsmgr.hxx index b76e8ef99289..f3cee199b8c5 100644 --- a/vcl/inc/cupsmgr.hxx +++ b/vcl/inc/cupsmgr.hxx @@ -37,7 +37,6 @@ namespace psp { -class CUPSWrapper; class PPDParser; struct FPtrHash @@ -48,7 +47,6 @@ struct FPtrHash class CUPSManager : public PrinterInfoManager { - CUPSWrapper* m_pCUPSWrapper; boost::unordered_map< FILE*, rtl::OString, FPtrHash > m_aSpoolFiles; int m_nDests; void* m_pDests; @@ -66,13 +64,17 @@ class CUPSManager : public PrinterInfoManager osl::Mutex m_aCUPSMutex; oslThread m_aDestThread; - CUPSManager( CUPSWrapper* ); + osl::Mutex m_aGetPPDMutex; + bool m_bPPDThreadRunning; + + CUPSManager(); virtual ~CUPSManager(); virtual void initialize(); void getOptionsFromDocumentSetup( const JobData& rJob, bool bBanner, int& rNumOptions, void** rOptions ) const; void runDests(); + OString threadedCupsGetPPD(const char* pPrinter); public: // public for stub static void runDestThread(void* pMgr); |