| 31 | std::list< std::unique_ptr<BackendInterface> > m_backendInterfaces; |
| 32 | public: |
| 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()) { |
nothing calls this directly
no outgoing calls
no test coverage detected