| /******************************************************************************* |
| * Copyright (c) 2018 Johannes Kepler University |
| * |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0. |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Alois Zoitl - initial API and implementation and/or initial documentation |
| *******************************************************************************/ |
| #pragma once |
| #include <Arp/System/Core/Arp.h> |
| #include <Arp/Plc/Esm/IProgramProvider.hpp> |
| |
| using namespace Arp; |
| using namespace Arp::Plc::Esm; |
| |
| namespace ForteLibrary{ |
| |
| class ForteComponentProgramProvider : public IProgramProvider { |
| public: |
| ForteComponentProgramProvider() = default; |
| ForteComponentProgramProvider(const ForteComponentProgramProvider& paArg) = delete; |
| ~ForteComponentProgramProvider() = default; |
| |
| ForteComponentProgramProvider& operator= (const ForteComponentProgramProvider& paArg) = delete; |
| |
| IProgram* CreateProgram(const String& paProgramName, const String& paProgramType) override; |
| }; |
| |
| } // end of namespace ForteLibrary |