Ejemplo n.º 1
0
    virtual int performAction(std::vector<std::string> &args)
    {
        MCFCore::MCFI* mcfPatch = mcfFactory();
        MCFCore::MCFI* mcfFull = mcfFactory();

        mcfPatch->setFile(args[0].c_str());
        mcfPatch->parseMCF();

        mcfFull->setFile(args[1].c_str());
        mcfFull->parseMCF();

        mcfPatch->makeBackPatchMCF(mcfFull, args[2].c_str());

        mcfDelFactory(mcfFull);
        mcfDelFactory(mcfPatch);

        return 0;
    }