mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
20 lines
321 B
C++
20 lines
321 B
C++
|
#ifndef WF_TEST_UTIL_INVOKATION_HANDLER_HPP
|
||
|
#define WF_TEST_UTIL_INVOKATION_HANDLER_HPP
|
||
|
|
||
|
#include <jansson.h>
|
||
|
#include <string>
|
||
|
|
||
|
namespace webfuse_test
|
||
|
{
|
||
|
|
||
|
class InvokationHandler
|
||
|
{
|
||
|
public:
|
||
|
virtual ~InvokationHandler() = default;
|
||
|
virtual std::string Invoke(char const * method, json_t * params) = 0;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|