#pragma once

namespace DNVGL { namespace Sestra {namespace API {
    interface class ISestraInfoN;
    interface class ISestraSummaryResultListenerN;

    /**
    * Part of the SESTRA Public API (managed c++)
    * Copyright DNV GL - Software
    *
    * Main interface for calling Sestra.
    * @param sestraInputFileName path to the Sestra analysis control file (e.g. sestra.inp)
    * @param femFileName path to the Input Interface File (.FEM-file)
    * @param loadFileName path to the Loads Interface File (e.g. L1.FEM). Use "" if there is no Loads Interface File.
    * @param infoHandle an object used by Sestra to report status, progress, and errors
    *
    * If an error occurs within RunSestra, an exception is thrown. For a list of possible exceptions, ses SestraExceptions.h
    */
    public ref class SestraNetAPI
    {
    public:
        void RunSestra(System::String^ sestraInputFileName, System::String^ femFileName, System::String^ loadFileName, ISestraSummaryResultListenerN^ summaryResultsListener, ISestraInfoN^ infoHandle);
    };
}}}