2017-12-21 00:45:38 +01:00
|
|
|
/*
|
2019-03-26 11:59:46 +01:00
|
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
|
|
|
|
*/
|
2018-09-18 09:11:08 +02:00
|
|
|
|
2017-12-21 00:45:38 +01:00
|
|
|
#pragma once
|
2019-09-11 09:26:24 +02:00
|
|
|
#include "core/utilities/idlist.h"
|
2017-12-21 00:45:38 +01:00
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2017-12-21 00:45:38 +01:00
|
|
|
class DeferrableDeletion : public IDNode<DeferrableDeletion> {
|
|
|
|
|
public:
|
|
|
|
|
template <typename... Args>
|
|
|
|
|
static DeferrableDeletion *create(Args... args);
|
2018-11-29 11:20:02 +01:00
|
|
|
virtual bool apply() = 0;
|
2017-12-21 00:45:38 +01:00
|
|
|
};
|
2019-03-26 11:59:46 +01:00
|
|
|
} // namespace NEO
|