1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 16:57:16 +01:00
SqMod/vendor/POCO/Zip/include/Poco/Zip/Delete.h
Sandu Liviu Catalin 4a6bfc086c Major plugin refactor and cleanup.
Switched to POCO library for unified platform/library interface.
Deprecated the external module API. It was creating more problems than solving.
Removed most built-in libraries in favor of system libraries for easier maintenance.
Cleaned and secured code with help from static analyzers.
2021-01-30 08:51:39 +02:00

49 lines
806 B
C++

//
// Delete.h
//
// Library: Zip
// Package: Manipulation
// Module: Delete
//
// Definition of the Delete class.
//
// Copyright (c) 2007, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef Zip_Delete_INCLUDED
#define Zip_Delete_INCLUDED
#include "Poco/Zip/Zip.h"
#include "Poco/Zip/ZipOperation.h"
#include "Poco/Zip/ZipLocalFileHeader.h"
namespace Poco {
namespace Zip {
class Zip_API Delete: public ZipOperation
/// Delete Operation removes an entry from a Zip
{
public:
Delete(const ZipLocalFileHeader& hdr);
/// Creates the Delete.
void execute(Compress& c, std::istream& input);
/// Throws away the ZipEntry
private:
const ZipLocalFileHeader _hdr;
};
} } // namespace Poco::Zip
#endif // Zip_Delete_INCLUDED