Changeset View
Changeset View
Standalone View
Standalone View
krArc/krarcbasemanager.h
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | |||||
44 | protected: | 44 | protected: | ||
45 | //! The maximum length of a short QString that represents the type of a file | 45 | //! The maximum length of a short QString that represents the type of a file | ||
46 | static const int maxLenType; | 46 | static const int maxLenType; | ||
47 | 47 | | |||
48 | static bool checkStatus(const QString &, int); | 48 | static bool checkStatus(const QString &, int); | ||
49 | 49 | | |||
50 | public: | 50 | public: | ||
51 | KrArcBaseManager() {} | 51 | KrArcBaseManager() {} | ||
52 | QString detectArchive(bool &, QString, bool = true, bool = false); | 52 | QString detectArchive(bool &, const QString&, bool = true, bool = false); | ||
53 | virtual void checkIf7zIsEncrypted(bool &, QString) = 0; | 53 | virtual void checkIf7zIsEncrypted(bool &, QString) = 0; | ||
54 | static QString getShortTypeFromMime(const QString &); | 54 | static QString getShortTypeFromMime(const QString &); | ||
55 | virtual ~KrArcBaseManager() {} | 55 | virtual ~KrArcBaseManager() {} | ||
56 | }; | 56 | }; | ||
57 | 57 | | |||
58 | #endif // KRARCBASEMANAGER_H | 58 | #endif // KRARCBASEMANAGER_H | ||
59 | 59 | |