PLCnext API Documentation 25.0.2.69
PlcOperationHandler.h
1/******************************************************************************
2 *
3// Copyright Phoenix Contact GmbH & Co. KG
4 *
5 *****************************************************************************/
6#ifndef __APRPLCDOMAIN_PLCOPERATIONHANDLER_H
7#define __APRPLCDOMAIN_PLCOPERATIONHANDLER_H
8
9/*************************************************************************/
10/* INCLUDES */
11/*************************************************************************/
12#include "Arp/Plc/AnsiC/ArpPlc.h"
13#include "Arp/Plc/AnsiC/Domain/PlcOperation.h"
14
15/*************************************************************************/
16/* DEFINES */
17/*************************************************************************/
18typedef void (*TPlcOperationHandler)(enum PlcOperation);
19
20
21/*************************************************************************/
22/* GLOBAL FUNCTION DECLARATIONS (EXTERNAL) */
23/*************************************************************************/
24#ifdef __cplusplus
25extern "C"
26{
27#endif /*__cplusplus*/
28
29extern ARP_C_SYMBOL_EXPORT void ArpPlcDomain_SetHandler(TPlcOperationHandler handler);
30
31#ifdef __cplusplus
32} /*extern "C"*/
33#endif /*__cplusplus*/
34
35#endif /*__APRPLCDOMAIN_PLCOPERATIONHANDLER_H*/