MCPcopy Create free account
hub / github.com/TeXworks/texworks / BackendManager

Method BackendManager

modules/QtPDF/src/PDFBackend.cpp:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 std::list< std::unique_ptr<BackendInterface> > m_backendInterfaces;
32public:
33 BackendManager() {
34#ifdef USE_POPPLERQT
35 m_backendInterfaces.push_back(std::unique_ptr<BackendInterface>(new PopplerQtBackend));
36#endif
37#ifdef USE_MUPDF
38 m_backendInterfaces.push_back(std::unique_ptr<BackendInterface>(new MuPDFBackend));
39#endif
40 }
41 BackendInterface * backend(const QString & name = {})
42 {
43 if (!name.isEmpty()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected