Made *::ScriptFunc private.

This commit is contained in:
Gunnar Beutner 2012-07-19 11:17:05 +02:00
parent 24494a78bc
commit 898e74bb44
2 changed files with 5 additions and 4 deletions

View File

@ -26,11 +26,11 @@ namespace icinga
class I2_CIB_API NagiosCheckTask class I2_CIB_API NagiosCheckTask
{ {
public: public:
static void ScriptFunc(const ScriptTask::Ptr& task, const vector<Variant>& arguments);
static void Register(void); static void Register(void);
private: private:
static void ScriptFunc(const ScriptTask::Ptr& task, const vector<Variant>& arguments);
static void ProcessFinishedHandler(NagiosCheckTask ct); static void ProcessFinishedHandler(NagiosCheckTask ct);
static void ProcessCheckOutput(CheckResult& result, const string& output); static void ProcessCheckOutput(CheckResult& result, const string& output);

View File

@ -26,9 +26,10 @@ namespace icinga
class I2_CIB_API NullCheckTask class I2_CIB_API NullCheckTask
{ {
public: public:
static void ScriptFunc(const ScriptTask::Ptr& task, const vector<Variant>& arguments);
static void Register(void); static void Register(void);
private:
static void ScriptFunc(const ScriptTask::Ptr& task, const vector<Variant>& arguments);
}; };
} }