Wireshark
4.3.0
The Wireshark network protocol analyzer
ui
qt
utils
wireshark_zip_helper.h
Go to the documentation of this file.
1
12
#ifndef WS_ZIP_HELPER_H
13
#define WS_ZIP_HELPER_H
14
15
#include "config.h"
16
17
#include <QDir>
18
19
#ifdef HAVE_MINIZIP
20
21
#include "minizip/zip.h"
22
23
class
WiresharkZipHelper
24
{
25
public
:
26
static
bool
zip(QString zipFile, QStringList files, QString relativeTo = QString());
27
static
bool
unzip(QString zipFile, QString directory,
bool
(*fileCheck)(QString fileName,
int
fileSize) = Q_NULLPTR, QString (*cleanName)(QString name) = Q_NULLPTR);
28
29
protected
:
30
static
void
addFileToZip(zipFile zf, QString filepath, QString fileInZip);
31
32
};
33
34
#endif
35
36
#endif
// WS_ZIP_HELPER_H
Generated by
1.9.1