bd4589d142
Change-Id: I1934bca783f94847c73e9c47d0e8c703dbe75a99 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
22 lines
668 B
C++
22 lines
668 B
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
|
|
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <config.h>
|
|
#include <string>
|
|
|
|
class DocumentBroker;
|
|
namespace Quarantine
|
|
{
|
|
void createQuarantineMap();
|
|
|
|
bool quarantineFile(DocumentBroker* docBroker, const std::string& docName);
|
|
|
|
/// Removes the quarantined files for the given DocKey when we unload gracefully.
|
|
void removeQuarantinedFiles(const std::string& docKey);
|
|
}
|