Changeset View
Changeset View
Standalone View
Standalone View
kerfuffle/pluginmanager.h
Show First 20 Lines • Show All 127 Lines • ▼ Show 20 Line(s) | 120 | private: | |||
---|---|---|---|---|---|
128 | QVector<Plugin*> preferredPluginsFor(const QMimeType &mimeType, bool readWrite) const; | 128 | QVector<Plugin*> preferredPluginsFor(const QMimeType &mimeType, bool readWrite) const; | ||
129 | 129 | | |||
130 | /** | 130 | /** | ||
131 | * @return A list with the given @p mimeTypes, alphabetically sorted according to their comment. | 131 | * @return A list with the given @p mimeTypes, alphabetically sorted according to their comment. | ||
132 | */ | 132 | */ | ||
133 | static QStringList sortByComment(const QSet<QString> &mimeTypes); | 133 | static QStringList sortByComment(const QSet<QString> &mimeTypes); | ||
134 | 134 | | |||
135 | /** | 135 | /** | ||
136 | * Workaround for libarchive >= 3.3 not linking against liblzo. | 136 | * @return a filtered list of mimetypes supported | ||
137 | */ | 137 | */ | ||
138 | static bool libarchiveHasLzo(); | 138 | void filterAvailableMimeTypes(QSet<QString> &mimeTypes) const; | ||
139 | | ||||
140 | /** | ||||
141 | * @return Thes dependencies of libarchive | ||||
elvisangelaccio: Type: "The" | |||||
142 | */ | ||||
143 | static QByteArray libarchiveDependencies(); | ||||
139 | 144 | | |||
140 | QVector<Plugin*> m_plugins; | 145 | QVector<Plugin*> m_plugins; | ||
141 | QHash<QString, QVector<Plugin*>> m_preferredPluginsCache; | 146 | QHash<QString, QVector<Plugin*>> m_preferredPluginsCache; | ||
142 | }; | 147 | }; | ||
143 | 148 | | |||
144 | } | 149 | } | ||
145 | 150 | | |||
146 | #endif | 151 | #endif |
Type: "The"