You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KH_ITK/CONNOR_ITK/epm_register_handler.cxx

43 lines
668 B

#include <server_exits/user_server_exits.h>
#include <epm/epm.h>
#include <time.h>
/**
* @headerfile user's header files
*/
#include "epm_register_handler.h"
#include "epm_handler_common.h"
// Method and Workflow Handler
extern DLLAPI int CUST_init_module(int *decision, va_list args)
{
int ifail = ITK_ok;
ifail = EPM_register_action_handler("connor_test", "connor_test",
(EPM_action_handler_t)connor_test);
if(ifail)
{
printf("register connor_test failed\n");
}else
{
printf("register connor_test successfully\n");
}
return ifail;
}
//
////register service method
extern DLLAPI int USERSERVICE_custom_register_methods()
{
return 0;
}