PLCnext API Documentation 25.0.2.69
ModuleMain.h
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8
9using namespace Arp;
10
11namespace Arp::System::Module
12{
13
14extern "C" ARP_EXPORT void ArpSystemModuleMain(const char* applicationName, const char* acfSettingsPath = nullptr);
15extern "C" ARP_EXPORT void ArpSystemModuleSetup(const char* applicationName, const char* acfSettingsPath = nullptr);
16extern "C" ARP_EXPORT void ArpSystemModuleDispose(void);
17
18// The following code is only used for static linking from with Arp.System.ModuleLib
19using ArpSystemModuleMainFunction = void(*)(const char*, const char*);
20using ArpSystemModuleSetupFunction = void(*)(const char*, const char*);
21using ArpSystemModuleDisposeFunction = void(*)(void);
22
23const char* ArpSystemModuleMainEntryName = "ArpSystemModuleMain";
24const char* ArpSystemModuleSetupEntryName = "ArpSystemModuleSetup";
25const char* ArpSystemModuleDisposeEntryName = "ArpSystemModuleDispose";
26
27} // end of namespace Arp::System::Module
28
Root namespace for the PLCnext API