Maa Framework (main) v4.0.0
A automation black-box testing framework based on image recognition.
Loading...
Searching...
No Matches
MaaAgentServerAPI.h
Go to the documentation of this file.
1#pragma once
2
3#include "MaaAgentServerDef.h"
4
5#ifdef __cplusplus
6extern "C"
7{
8#endif
9
11 MaaAgentServerRegisterCustomRecognition(const char* name, MaaCustomRecognitionCallback recognition, void* trans_arg);
12
14
19
20#ifdef __cplusplus
21}
22#endif
MAA_AGENT_SERVER_API MaaBool MaaAgentServerRegisterCustomRecognition(const char *name, MaaCustomRecognitionCallback recognition, void *trans_arg)
MAA_AGENT_SERVER_API MaaBool MaaAgentServerRegisterCustomAction(const char *name, MaaCustomActionCallback action, void *trans_arg)
MAA_AGENT_SERVER_API void MaaAgentServerJoin()
MAA_AGENT_SERVER_API void MaaAgentServerShutDown()
MAA_AGENT_SERVER_API MaaBool MaaAgentServerStartUp(const char *identifier)
MAA_AGENT_SERVER_API void MaaAgentServerDetach()
uint8_t MaaBool
Definition MaaDef.h:18
MaaBool(MAA_CALL * MaaCustomActionCallback)(MaaContext *context, MaaTaskId task_id, const char *node_name, const char *custom_action_name, const char *custom_action_param, MaaRecoId reco_id, const MaaRect *box, void *trans_arg)
Definition MaaDef.h:295
MaaBool(MAA_CALL * MaaCustomRecognitionCallback)(MaaContext *context, MaaTaskId task_id, const char *node_name, const char *custom_recognition_name, const char *custom_recognition_param, const MaaImageBuffer *image, const MaaRect *roi, void *trans_arg, MaaRect *out_box, MaaStringBuffer *out_detail)
Definition MaaDef.h:283
#define MAA_AGENT_SERVER_API
Definition MaaPort.h:66