memgraph/query_engine/i_code_cpu.hpp
2016-02-10 23:34:49 +01:00

15 lines
260 B
C++

#pragma once
#include "query_engine/query_result.hpp"
#include "database/db.hpp"
class ICodeCPU
{
public:
virtual QueryResult::sptr run(Db& db) = 0;
virtual ~ICodeCPU() {}
};
using produce_t = ICodeCPU*(*)();
using destruct_t = void (*)(ICodeCPU*);