/* Copyright 2017 The MathWorks, Inc. */ #ifndef CPPSHAREDLIB_FACTORY_HPP #define CPPSHAREDLIB_FACTORY_HPP #include "cppsharedlib_util.hpp" namespace matlab { namespace cpplib { using namespace matlab::execution; class MATLABApplication; class MATLABLibrary; std::shared_ptr initMATLABApplication( const MATLABApplicationMode mode = MATLABApplicationMode::IN_PROCESS, const std::vector& options = std::vector()); std::unique_ptr initMATLABLibrary( std::shared_ptr application, const std::u16string& ctffilename); FutureResult> initMATLABLibraryAsync( std::shared_ptr application, const std::u16string& ctffilename); int runMain(std::function, int, const char**)> , std::shared_ptr&& appsession, int argc, const char **argv); } } #endif //CPPSHAREDLIB_FACTORY_HPP