Skip to content
Snippets Groups Projects
Commit c9793f0c authored by Matthew McGill's avatar Matthew McGill
Browse files

Transform Step SDK

Former-commit-id: 39ecc8fe2402ff7b13bfea36e7d1d719a2b541d9
parent 10e26bd8
No related branches found
No related tags found
No related merge requests found
#ifndef IRDB_Objects_h
#define IRDB_Objects_h
#ifndef IRDBObjects_h
#define IRDBObjects_h
#include <map>
#include <utility>
......
#ifndef TransformStep_h
#define TransformStep_h
#include <libIRDB-util.hpp>
namespace Transform_SDK
{
class TransformStep_t
{
public:
// Step names must be unique, allows arguments to
// be directed to their matching transform steps.
virtual std::string GetStepName(void) = 0;
// Allows all steps to parse args before any step takes time to execute
virtual int ParseArgs(int argc, char* argv[])
{
return 0; // success
}
virtual int ExecuteStep(libIRDB::IRDB_Objects_t *irdb_objects)
{
return 0; // success
}
};
}
extern "C"
Transform_SDK::TransformStep_t* TransformStepFactory(void);
#endif
#ifndef transform_step_h
#define transform_step_h
#include <libIRDB-util.hpp>
extern "C"
int execute_step(int argc, char* argv[], libIRDB::IRFiles_t*);
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment