#include <cupsmgr.hxx>
|
const PPDParser * | createCUPSParser (const OUString &rPrinter) |
| wraps cupsGetPPD, so unlink after use ! More...
|
|
const char * | authenticateUser () |
|
virtual FILE * | startSpool (const OUString &rPrinterName, bool bQuickCommand) override |
|
virtual bool | endSpool (const OUString &rPrinterName, const OUString &rJobTitle, FILE *pFile, const JobData &rDocumentJobData, bool bBanner, const OUString &rFaxNumber) override |
|
virtual void | setupJobContextData (JobData &rData) override |
|
virtual bool | checkPrintersChanged (bool bWait) override |
| check if the printer configuration has changed More...
|
|
Type | getType () const |
|
void | listPrinters (std::vector< OUString > &rVector) const |
|
const PrinterInfo & | getPrinterInfo (const OUString &rPrinter) const |
|
const OUString & | getDefaultPrinter () const |
|
virtual void | setupJobContextData (JobData &rData) |
|
virtual bool | checkPrintersChanged (bool bWait) |
|
virtual FILE * | startSpool (const OUString &rPrinterName, bool bQuickCommand) |
|
virtual bool | endSpool (const OUString &rPrinterName, const OUString &rJobTitle, FILE *pFile, const JobData &rDocumentJobData, bool bBanner, const OUString &rFaxNumber) |
|
bool | getUseIncludeFeature () const |
|
bool | getUseJobPatch () const |
|
bool | checkFeatureToken (const OUString &rPrinterName, std::string_view pToken) const |
|
virtual | ~PrinterInfoManager () |
|
Definition at line 38 of file cupsmgr.hxx.
◆ CUPSManager()
psp::CUPSManager::CUPSManager |
( |
| ) |
|
|
private |
◆ ~CUPSManager()
virtual psp::CUPSManager::~CUPSManager |
( |
| ) |
|
|
overrideprivatevirtual |
◆ authenticateUser()
const char * psp::CUPSManager::authenticateUser |
( |
| ) |
|
◆ checkPrintersChanged()
virtual bool psp::CUPSManager::checkPrintersChanged |
( |
bool |
bWait | ) |
|
|
overridevirtual |
◆ createCUPSParser()
const PPDParser * psp::CUPSManager::createCUPSParser |
( |
const OUString & |
rPrinter | ) |
|
wraps cupsGetPPD, so unlink after use !
◆ endSpool()
virtual bool psp::CUPSManager::endSpool |
( |
const OUString & |
rPrinterName, |
|
|
const OUString & |
rJobTitle, |
|
|
FILE * |
pFile, |
|
|
const JobData & |
rDocumentJobData, |
|
|
bool |
bBanner, |
|
|
const OUString & |
rFaxNumber |
|
) |
| |
|
overridevirtual |
◆ getOptionsFromDocumentSetup()
static void psp::CUPSManager::getOptionsFromDocumentSetup |
( |
const JobData & |
rJob, |
|
|
bool |
bBanner, |
|
|
int & |
rNumOptions, |
|
|
void ** |
rOptions |
|
) |
| |
|
staticprivate |
◆ initialize()
virtual void psp::CUPSManager::initialize |
( |
| ) |
|
|
overrideprivatevirtual |
◆ runDests()
void psp::CUPSManager::runDests |
( |
| ) |
|
|
private |
◆ runDestThread()
static void psp::CUPSManager::runDestThread |
( |
void * |
pMgr | ) |
|
|
static |
◆ setupJobContextData()
virtual void psp::CUPSManager::setupJobContextData |
( |
JobData & |
rData | ) |
|
|
overridevirtual |
◆ startSpool()
virtual FILE * psp::CUPSManager::startSpool |
( |
const OUString & |
rPrinterName, |
|
|
bool |
bQuickCommand |
|
) |
| |
|
overridevirtual |
◆ threadedCupsGetPPD()
OString psp::CUPSManager::threadedCupsGetPPD |
( |
const char * |
pPrinter | ) |
|
|
private |
◆ tryLoadCUPS()
◆ m_aCUPSDestMap
std::unordered_map< OUString, int > psp::CUPSManager::m_aCUPSDestMap |
|
private |
◆ m_aCUPSMutex
osl::Mutex psp::CUPSManager::m_aCUPSMutex |
|
private |
◆ m_aDefaultContexts
std::unordered_map< OUString, PPDContext > psp::CUPSManager::m_aDefaultContexts |
|
private |
◆ m_aDestThread
oslThread psp::CUPSManager::m_aDestThread |
|
private |
◆ m_aGetPPDMutex
osl::Mutex psp::CUPSManager::m_aGetPPDMutex |
|
private |
◆ m_aPassword
OString psp::CUPSManager::m_aPassword |
|
private |
this is a security risk, but the CUPS API demands to deliver a pointer to a static buffer containing the password, so this cannot be helped
Definition at line 52 of file cupsmgr.hxx.
◆ m_aSpoolFiles
std::unordered_map< FILE*, OString, FPtrHash > psp::CUPSManager::m_aSpoolFiles |
|
private |
◆ m_aUser
OString psp::CUPSManager::m_aUser |
|
private |
◆ m_bNewDests
bool psp::CUPSManager::m_bNewDests |
|
private |
◆ m_bPPDThreadRunning
bool psp::CUPSManager::m_bPPDThreadRunning |
|
private |
◆ m_nDests
int psp::CUPSManager::m_nDests |
|
private |
◆ m_pDests
void* psp::CUPSManager::m_pDests |
|
private |
The documentation for this class was generated from the following file: