Changeset View
Changeset View
Standalone View
Standalone View
krArc/krarcbasemanager.h
Context not available. | |||||
36 | static AutoDetectParams autoDetectParams[]; //! Information used to detect if a file is an archive | 36 | static AutoDetectParams autoDetectParams[]; //! Information used to detect if a file is an archive | ||
---|---|---|---|---|---|
37 | static int autoDetectElems; //!< The size of autoDetectParams[] | 37 | static int autoDetectElems; //!< The size of autoDetectParams[] | ||
38 | 38 | | |||
39 | protected: | ||||
40 | //! The maximum length of a short QString that represents the type of a file | ||||
41 | static const int maxLenType; | ||||
42 | | ||||
39 | public: | 43 | public: | ||
40 | KrArcBaseManager() {} | 44 | KrArcBaseManager() {} | ||
41 | QString detectArchive(bool &, QString, bool = true, bool = false); | 45 | QString detectArchive(bool &, QString, bool = true, bool = false); | ||
42 | virtual void checkIf7zIsEncrypted(bool &, QString) = 0; | 46 | virtual void checkIf7zIsEncrypted(bool &, QString) = 0; | ||
47 | static QString getShortTypeFromMime(const QString &); | ||||
43 | virtual ~KrArcBaseManager() {} | 48 | virtual ~KrArcBaseManager() {} | ||
44 | }; | 49 | }; | ||
45 | 50 | | |||
Context not available. |