Files
UnrealEngine/Engine/Source/ThirdParty/FakeIt/2.0.2/include/fakeit/SpyingContext.hpp
2025-05-18 13:04:45 +08:00

23 lines
514 B
C++

/*
* SpyingContext.hpp
* Copyright (c) 2014 Eran Pe'er.
*
* This program is made available under the terms of the MIT License.
*
* Created on Oct 20, 2014
*/
#pragma once
#include "fakeit/Xaction.hpp"
namespace fakeit {
// For use in Spy(...) phrases
template<typename R, typename ... arglist>
struct SpyingContext : public Xaction {
virtual void appendAction(Action<R, arglist...> *action) = 0;
virtual typename std::function<R(arglist &...)> getOriginalMethod() = 0;
};
}