X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/90e389f6ec12e60a62c362296ffcf314feb5b03d..3b856e83ad55125111fe5961d07d7524bd6ee283:/stglibs/scriptexecuter.lib/scriptexecuter.h diff --git a/stglibs/scriptexecuter.lib/scriptexecuter.h b/stglibs/scriptexecuter.lib/scriptexecuter.h index 12ba0999..41b02a2f 100644 --- a/stglibs/scriptexecuter.lib/scriptexecuter.h +++ b/stglibs/scriptexecuter.lib/scriptexecuter.h @@ -1,11 +1,19 @@ #ifndef SCRIPT_EXECUTER_H #define SCRIPT_EXECUTER_H -#include +#ifdef __cplusplus +extern "C" { +#endif -int ScriptExec(const std::string & str); -void Executer(int msgKey, int msgID, pid_t pid, char * procName); - -#endif //SCRIPT_EXECUTER_H +int ScriptExec(const char * str); +#ifdef LINUX +void Executer(int msgID, pid_t pid, char * procName); +#else +void Executer(int msgID, pid_t pid); +#endif +#ifdef __cplusplus +} +#endif +#endif