26 lines
610 B
C++
26 lines
610 B
C++
/* Copyright 2017 The MathWorks, Inc. */
|
|
|
|
#ifndef MATLAB_APPLICATION_IMPL_HPP
|
|
#define MATLAB_APPLICATION_IMPL_HPP
|
|
|
|
#include "../matlab_application.hpp"
|
|
#include "../cppsharedlib_api.hpp"
|
|
|
|
namespace matlab {
|
|
namespace cpplib {
|
|
|
|
inline MATLABApplication::MATLABApplication(const MATLABApplicationMode mode, const std::vector<std::u16string>& options)
|
|
: _mode(mode), _options(options){
|
|
}
|
|
|
|
|
|
inline MATLABApplication::~MATLABApplication() {
|
|
terminated = true ;
|
|
runtime_terminate_session();
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* MATLAB_APPLICATION_IMPL_HPP */
|