Changeset View
Changeset View
Standalone View
Standalone View
plugins/libzipplugin/libzipplugin.cpp
Show All 35 Lines | |||||
36 | #include <QDir> | 36 | #include <QDir> | ||
37 | #include <QDirIterator> | 37 | #include <QDirIterator> | ||
38 | #include <QFile> | 38 | #include <QFile> | ||
39 | #include <qplatformdefs.h> | 39 | #include <qplatformdefs.h> | ||
40 | #include <QThread> | 40 | #include <QThread> | ||
41 | 41 | | |||
42 | #include <utime.h> | 42 | #include <utime.h> | ||
43 | #include <zlib.h> | 43 | #include <zlib.h> | ||
44 | #include <memory> | ||||
44 | 45 | | |||
45 | K_PLUGIN_FACTORY_WITH_JSON(LibZipPluginFactory, "kerfuffle_libzip.json", registerPlugin<LibzipPlugin>();) | 46 | K_PLUGIN_FACTORY_WITH_JSON(LibZipPluginFactory, "kerfuffle_libzip.json", registerPlugin<LibzipPlugin>();) | ||
46 | 47 | | |||
47 | // This is needed for hooking a C callback to a C++ non-static member | 48 | // This is needed for hooking a C callback to a C++ non-static member | ||
48 | // function. | 49 | // function. | ||
49 | template <typename T> | 50 | template <typename T> | ||
50 | struct Callback; | 51 | struct Callback; | ||
51 | template <typename Ret, typename... Params> | 52 | template <typename Ret, typename... Params> | ||
▲ Show 20 Lines • Show All 943 Lines • Show Last 20 Lines |