mirror of
https://github.com/Icinga/icinga2.git
synced 2025-05-10 01:20:18 +02:00
Moved Doxygen files to docs/. Removed cJSON directory. Moved libraries into lib/. Renamed 'config' to 'm4'. Renamed 'dyn' library to 'config'.
13 lines
300 B
C++
13 lines
300 B
C++
#include "i2-base.h"
|
|
|
|
using namespace icinga;
|
|
|
|
ScriptTask::ScriptTask(const ScriptFunction::Ptr& function, const vector<Value>& arguments)
|
|
: AsyncTask<ScriptTask, Value>(), m_Function(function), m_Arguments(arguments)
|
|
{ }
|
|
|
|
void ScriptTask::Run(void)
|
|
{
|
|
m_Function->Invoke(GetSelf(), m_Arguments);
|
|
}
|